diff --git a/modules/feature-interwiki-links.php b/modules/feature-interwiki-links.php index e00c37d..51b5951 100644 --- a/modules/feature-interwiki-links.php +++ b/modules/feature-interwiki-links.php @@ -28,12 +28,18 @@ register_module([

Note that unlike normal internal links, the page name is case-sensitive and can't be case-corrected automatically. The wikis supported by $settings->sitename are as follows:

+ +{supported_interwikis} + +

This list can be edited by $settings->admindetails_name, $settings->sitename's administrator. Documentation on how to do that is available here.

HELP_BLOCK; - $doc_help .= "\n"; + $doc_help_insert = "
NamePrefix
\n"; foreach($env->interwiki_index as $interwiki_def) - $doc_help .= "\n"; - $doc_help .= "
NamePrefix
$interwiki_def->name$interwiki_def->prefix
"; + $doc_help_insert .= "$interwiki_def->name$interwiki_def->prefix\n"; + $doc_help_insert .= ""; + + $doc_help = str_replace("{supported_interwikis}", $doc_help_insert, $doc_help); } add_help_section("22-interwiki-links", "Interwiki Links", $doc_help); diff --git a/modules/parser-parsedown.php b/modules/parser-parsedown.php index dc11f0a..1817ec4 100644 --- a/modules/parser-parsedown.php +++ b/modules/parser-parsedown.php @@ -397,8 +397,7 @@ register_module([ {{{~}}}Outputs the requested page's name. {{{*}}}Outputs a comma separated list of all the subpages of the current page. {{{+}}}Shows a gallery containing all the files that are sub pages of the current page. - -

This list can be edited by $settings->admindetails_name, $settings->sitename's administrator. Documentation on how to do that is available here.

"); + "); } ]);