mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 05:22:59 +00:00
Fix insert
This commit is contained in:
parent
5b89e6549e
commit
34a86dbaec
2 changed files with 10 additions and 5 deletions
|
@ -28,12 +28,18 @@ register_module([
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<p>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:</p>
|
<p>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:</p>
|
||||||
|
|
||||||
|
{supported_interwikis}
|
||||||
|
|
||||||
|
<p>This list can be edited by $settings->admindetails_name, $settings->sitename's administrator. Documentation on how to do that is <a href='https://starbeamrainbowlabs.com/labs/peppermint/__nightdocs/06.5-Interwiki-Links.html'>available here</a>.</p>
|
||||||
HELP_BLOCK;
|
HELP_BLOCK;
|
||||||
|
|
||||||
$doc_help .= "<table><tr><th>Name</th><th>Prefix</th>\n";
|
$doc_help_insert = "<table><tr><th>Name</th><th>Prefix</th>\n";
|
||||||
foreach($env->interwiki_index as $interwiki_def)
|
foreach($env->interwiki_index as $interwiki_def)
|
||||||
$doc_help .= "<tr><td>$interwiki_def->name</td><td><code>$interwiki_def->prefix</code></td></tr>\n";
|
$doc_help_insert .= "<tr><td>$interwiki_def->name</td><td><code>$interwiki_def->prefix</code></td></tr>\n";
|
||||||
$doc_help .= "</table>";
|
$doc_help_insert .= "</table>";
|
||||||
|
|
||||||
|
$doc_help = str_replace("{supported_interwikis}", $doc_help_insert, $doc_help);
|
||||||
}
|
}
|
||||||
|
|
||||||
add_help_section("22-interwiki-links", "Interwiki Links", $doc_help);
|
add_help_section("22-interwiki-links", "Interwiki Links", $doc_help);
|
||||||
|
|
|
@ -397,8 +397,7 @@ register_module([
|
||||||
<tr><td><code>{{{~}}}</code></td><td>Outputs the requested page's name.</td></tr>
|
<tr><td><code>{{{~}}}</code></td><td>Outputs the requested page's name.</td></tr>
|
||||||
<tr><td><code>{{{*}}}</code></td><td>Outputs a comma separated list of all the subpages of the current page.</td></tr>
|
<tr><td><code>{{{*}}}</code></td><td>Outputs a comma separated list of all the subpages of the current page.</td></tr>
|
||||||
<tr><td><code>{{{+}}}</code></td><td>Shows a gallery containing all the files that are sub pages of the current page.</td></tr>
|
<tr><td><code>{{{+}}}</code></td><td>Shows a gallery containing all the files that are sub pages of the current page.</td></tr>
|
||||||
</table>
|
</table>");
|
||||||
<p>This list can be edited by $settings->admindetails_name, $settings->sitename's administrator. Documentation on how to do that is <a href='https://starbeamrainbowlabs.com/labs/peppermint/__nightdocs/06.5-Interwiki-Links.html'>available here</a>.</p>");
|
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue