[SAC] [OSGeo] #2863: subpages support on wiki.osgeo.org
OSGeo
trac_osgeo at osgeo.org
Sun Apr 2 18:38:54 PDT 2023
#2863: subpages support on wiki.osgeo.org
---------------------------+------------------------
Reporter: tomkralidis | Owner: sac@…
Type: task | Status: closed
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution: fixed
Keywords: wiki subpages |
---------------------------+------------------------
Changes (by robe):
* status: new => closed
* resolution: => fixed
Comment:
Okay I had thought this required an extra plugin install, but looks like
just a feature that is turned off by default. But there is a
https://www.mediawiki.org/wiki/Extension:SubPageList extension that allows
further customization of sub pages. That extension is supported for
MediaWiki 1.35 and up. We are now running MediaWiki 1.35.
the subpage features itself looks to be available since 1.0.1.
Need to enable as detailed here -
https://www.mediawiki.org/wiki/Manual:$wgNamespacesWithSubpages#Enabling-
for-a-namespace
I've enabled it in both staging and production (for main pages) by adding
these lines at the end of /var/www/wiki_osgeo/html/w/LocalSettings.php
{{{
# Enable subpages in the main namespace
$wgNamespacesWithSubpages[NS_MAIN] = true;
# Enable subpages in the template namespace
#$wgNamespacesWithSubpages[NS_TEMPLATE] = true;
}}}
For the example listed above I noticed after enabling it, I see a
breadcrumb navigation now at the top which lists all meetings.
I'm going to mark this as done, feel free to reopen if you see issues with
this.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2863#comment:2>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Sac
mailing list