Last modified: 2014-07-20 23:43:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70266, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68266 - Enable subpages by default (reverse $wgNamespacesWithSubpages)
Enable subpages by default (reverse $wgNamespacesWithSubpages)
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.24rc
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-19 08:36 UTC by Nemo
Modified: 2014-07-20 23:43 UTC (History)
11 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nemo 2014-07-19 08:36:36 UTC
Enabling subpages with $wgNamespacesWithSubpages means two things:
a) a navigational subtitle appears on pages titled A/B where page A exists;
b) relative .. and / work in links and transclusion.
Other "features" of / like #titleparts and "linguistic" meaning are not affected.

https://www.mediawiki.org/wiki/Manual:$wgNamespacesWithSubpages
https://www.mediawiki.org/wiki/Help:Subpages
https://meta.wikimedia.org/wiki/Help:Link#Subpage_feature

Filing this bug for the untracked proposal by MZMcBride in http://lists.wikimedia.org/pipermail/wikitech-l/2014-June/077267.html (see for details):

----

The more I look at this, the more I wonder why not instead invert the
array:

---
$wgNamespacesWithoutSubpages = array(
    NS_FILE => true,
    NS_CATEGORY => true
);
---

----

There is also an outstanding question by Tyler in https://gerrit.wikimedia.org/r/140765 which is best addressed here:

> What wikis are using this [slashes in titles] on namespaces that do not have 
> sub-pages *and* would cause problems if sub-pages were enabled?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links