Author: bugs
Description:
Currently, MediaWiki handles Category and Image pages specially when they are
displayed. This is hard coded in Wiki.php/MediaWiki::articleFromTitle(). It
would be nice if extensions could define their own namespace handling classes
without having to patch core MediaWiki code. The idea is to enable extensions to
define their own classes similar to CategoryPage and ImagePage, and assign them
to custom namespaces. This is possible with minimal changes to the core code,
and would allow extensions to redefine the behavior of article pages.
For example, for a given namespace, an extension could list additional
information after the page contents, change navigation/action/toolbox-links, or
simply display an extra image or a few namespace-specific links along the side
of the page.
A patch with a possible implementation follows.
Version: 1.8.x
Severity: enhancement