Difference between revisions of "MediaWiki Suggested Configuration"

From Hack Sphere Labs Open Access Wiki
Jump to: navigation, search
Line 3: Line 3:
 
  $wgNamespacesWithSubpages[NS_MAIN] = true;
 
  $wgNamespacesWithSubpages[NS_MAIN] = true;
 
*Edit Template:Subpages
 
*Edit Template:Subpages
{Template:Subpages}
+
[Template:Subpages]
 
*Edit Template:Subpages/doc
 
*Edit Template:Subpages/doc
{Template:Subpages/doc}
+
[Template:Subpages/doc]
  
 
=References=
 
=References=

Revision as of 05:57, 20 October 2020

LocalSettings.php

  • Enable Subpages, because they are awesome[1][2]
$wgNamespacesWithSubpages[NS_MAIN] = true;
  • Edit Template:Subpages

[Template:Subpages]

  • Edit Template:Subpages/doc

[Template:Subpages/doc]

References