#2863 closed task (fixed)

subpages support on wiki.osgeo.org

Reported by: tomkralidis Owned by: sac@…
Priority: normal Milestone: Unplanned
Component: SysAdmin Keywords: wiki subpages
Cc:

Description

I'm not sure what version of MediaWiki wiki.osgeo.org runs on, but it would be valuable to have subpages functionality (i.e. https://www.mediawiki.org/wiki/Help:Subpages).

The use case is to show all child pages of https://wiki.osgeo.org/wiki/Standards_Committee/Meetings, i.e.:

Change History (2)

comment:1 by robe, 19 months ago

I'm planning to upgrade wiki.osgeo.org mediawiki install in the new year. I'll make sure to include this as part of the upgrade process.

comment:2 by robe, 15 months ago

Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.