User:Skizzerz/Namespaces

Notes to myself for the upcoming Special:Namespaces (see MediaWiki roadmap). An experimental (disabled by default) special page should be available by the 1.16 release of MediaWiki. The page should then be enabled by default pending bug fixes and feature additions by 1.17 or 1.18.


 * Will meet all of the specifications set out in Extension:Namespace manager (page detailing the special page as it exists in the outdated wikidata branch)
 * Support all current namespace configuration variables
 * Manual:Configuration settings
 * Use a table in the database to hold these namespaces and their configuration, then parse them out on startup (before LocalSettings)
 * Start numbering custom namespaces at 300 so it doesn't conflict with extension-added namespaces
 * Register constants NS_* to correspond with the numbers
 * Improved UI
 * Allow deletion of namespaces with pages in it for those with the merge_pseudonamespaces right
 * This will automatically reassign all pages in that namespace to the main namespace, then delete that namespace
 * System namespaces still cannot be deleted
 * This will re-add the prefix to the page name and reassign the namespace to the main namespace
 * Reversible by re-creating the namespace (all the pages will be merged back in)
 * Allow adding new namespaces which conflict with existing pseudonamespaces for those with the merge_pseudonamespaces right
 * This will automatically strip the prefix from the page name and add in the correct namespace number
 * Reversible by deleting the new namespace (all the pages will be merged into the mainspace with proper prefix)
 * Pseudonamespace converter will automatically convert discussion pages into the appropriate talk namespace -- no checkbox option
 * Default link prefix detection should only detect actual namespaces, interwiki prefixes, or interlanguage prefixes. Pseudonamespace prefixes will still be prepended by the default link prefix
 * Related, but not really part of this feature per se: parser function to set a default link prefix on a per-page basis to override the namespace setting.