[SAC] [OSGeo] #2863: subpages support on wiki.osgeo.org

#2863: subpages support on wiki.osgeo.org
---------------------------+---------------------------
Reporter: tomkralidis | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Keywords: wiki subpages
---------------------------+---------------------------
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.:

*
https://wiki.osgeo.org/wiki/Standards_Committee/Meetings/Meeting-2022-12-19
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2863&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2863: subpages support on wiki.osgeo.org
---------------------------+------------------------
Reporter: tomkralidis | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution:
Keywords: wiki subpages |
---------------------------+------------------------
Comment (by robe):

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.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2863#comment:1&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#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&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.