This is an automated email from the ASF dual-hosted git repository.
cmarcum pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openoffice-mwiki.git
The following commit(s) were added to refs/heads/main by this push:
new 67ab340 updated link creation using current paths and corrected link
to extension wiki doc
67ab340 is described below
commit 67ab3407a24eb30f6c14e6bafb67dd1395d40196
Author: cbmarcum <[email protected]>
AuthorDate: Tue Dec 22 17:37:38 2020 -0500
updated link creation using current paths and corrected link to extension
wiki doc
---
mwiki/extensions/OOoIDLtags/OOoIDLtags.php | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/mwiki/extensions/OOoIDLtags/OOoIDLtags.php
b/mwiki/extensions/OOoIDLtags/OOoIDLtags.php
index 71415ed..557dabc 100755
--- a/mwiki/extensions/OOoIDLtags/OOoIDLtags.php
+++ b/mwiki/extensions/OOoIDLtags/OOoIDLtags.php
@@ -4,7 +4,7 @@
* The IDLTagExtension was written to manage the IDL links in the
OpenOffice.org Developer's Guide.
* The extension converts Java paths to links back to the online IDL
documentation.
* @version 1.1.0
- * @link http://wiki.openoffice.org/wiki/Wiki_maintenance/IDLTagExtension
+ * @link
https://wiki.openoffice.org/wiki/MediaWiki_Extension/Extension_IDLTags#IDLTags_extension_for_Mediawiki
*/
if ( !defined( 'MEDIAWIKI' ) ) {
@@ -17,7 +17,7 @@ $wgExtensionCredits['parserhook'][] = array(
'version' => '1.1.0',
'author' => array( 'Clayton Cornell', 'Terry Ellison' ),
'description' => 'Manage the IDL links in the OOo Dev Guide ',
- 'url' =>
'http://wiki.openoffice.org/wiki/Wiki_maintenance/IDLTagExtension',
+ 'url' =>
'https://wiki.openoffice.org/wiki/MediaWiki_Extension/Extension_IDLTags#IDLTags_extension_for_Mediawiki',
);
global $wgExtIDLtags;
@@ -38,7 +38,7 @@ class RenderIDLtags {
function renderIDL( $input, $args, $parser ) {
$parser->disableCache();
$output = $parser->recursiveTagParse( $input );
- $output = '<a href="http://api.openoffice.org/docs/common/ref/'
.
+ $output = '<a
href="https://www.openoffice.org/api/docs/common/ref/' .
str_replace ('.','/',$output).'.html" class="external
text">'.$output.'</a>';
return $output;
}
@@ -49,7 +49,7 @@ class RenderIDLtags {
$page = preg_replace ('/\./','/',$output);
$anchor = preg_replace ('/:/','.html#',$page);
$function = preg_replace ('/^.*:/','',$page);
- $output = '<a href="http://api.openoffice.org/docs/common/ref/'
.
+ $output = '<a
href="https://www.openoffice.org/api/docs/common/ref/' .
$anchor.'" class="external text">'.$function.'</a>';
return $output;
}
@@ -58,7 +58,7 @@ class RenderIDLtags {
$parser->disableCache();
$output = $parser->recursiveTagParse( $input );
$function = preg_replace ('/^.*\./','',$output);
- $output = '<a href="http://api.openoffice.org/docs/common/ref/'
.
+ $output = '<a
href="https://www.openoffice.org/api/docs/common/ref/' .
preg_replace ('/\./','/',$output).'.html"
class="external text">'.$function.'</a>';
return $output;
}
@@ -67,7 +67,7 @@ class RenderIDLtags {
$parser->disableCache();
$output = $parser->recursiveTagParse( $input );
$function = preg_replace ('/^.*\./','',$output);
- $output = '<a href="http://api.openoffice.org/docs/common/ref/'
.
+ $output = '<a
href="https://www.openoffice.org/api/docs/common/ref/' .
preg_replace ('/\./','/',$output).'/module-ix.html"
class="external text">'.$output.'</a>';
return $output;
}