Namespace manager
Open, LowestPublic

Description

Author: webboy

Description:
This patch includes the namespace manager, written by Erik Möller for Wikidata
and adapted by me for MediaWiki 1.9alpha.

This code is fully tested and documented (for Doxygen) and includes an
installer/updater to add the namespace and namespace_names tables to new and
existing installations and fill them with canonical names, default (translated)
names, default aliases and local namespaces ($wgExtraNamespaces) and aliases
($wgNamespaceAliases).

Known bugs:

  • Main namespace prefixes don't work.
  • 4 parser tests need to be rewritten (Subpage link, Subpage noslash link,

{{/Subpage}} and Disabled subpages) since the subpages option is now handled by
the namespace manager

  • Default link prefixes don't work and are therefore hidden in Special:Namespaces
  • Grammatical errors

Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=31063

Details

Reference
bz7803
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz7803.
bzimport created this task.Nov 3 2006, 8:46 PM

webboy wrote:

Namespace manager patch

attachment nsm.patch ignored as obsolete

webboy wrote:

Namespace manager patch including new files

attachment nsm-new.patch ignored as obsolete

I don't know whether we'd want this in core functionality. Couldn't this be
implemented as an extension somehow?

webboy wrote:

As extension it would not be possible to:

  • Make sure the namespaces are loaded before $wgContLang
  • Be easy installable (two tables must be created and filled)
  • Create namespaces without talk namespaces
  • Change the default name of NS_PROJECT with Special:Namespaces
  • Delete default namespace aliases
  • Hide namespaces in lists
  • Change the movable setting of namespaces (by extensions)

and default link targets will maybe never work

Also [[meta:Help:Namespace manager]] says "This feature [...] is intended to
ship with a future version of MediaWiki."

werdna added a comment.Nov 4 2006, 9:22 AM

Right. I discussed this with others on IRC.

  • Bug 5135 has been marked as a duplicate of this bug. ***

lcarsdata wrote:

I found this bug in the old tracker and thought that it could be implemented a
spart of this. See:
https://sourceforge.net/tracker/index.php?func=detail&aid=1622309&group_id=34373&atid=411195

*Bulk BZ Change: +Patch to open bugs with patches attached that are missing the keyword*

sumanah wrote:

Adding the need-review keyword here to indicate that the patch has not been reviewed yet.

Marking obsolete, it's 6 years old, so is going to be of very little news

As noted, patch is obsolete & the whole approach would have to be investigated from scratch. Closing as WONTFIX for now.

Reopening. This is something that is now the subject of an RfC:

https://www.mediawiki.org/wiki/Requests_for_comment/Associated_namespaces

… and even if that RfC is closed as uninterested (which I think is unlikely), I think we conceivably would want to implement this at some point for MediaWiki's growth.

Skizzerz has written up some nice notes at [[mw:User:Skizzerz/Namespaces]].

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 13 2016, 10:16 AM

Add Comment