* (bug 7492) Rights can now be assigned to specific IP addresses and ranges by
using $wgAutopromote (new defines: APCOND_ISIP and APCOND_IPINRANGE)
* Add a 'change block' link to Special:IPBlockList and Special:Log
-* (bug 16672) Add canonical parameter to meta=siteinfo&siprop=namespaces|namespacealiases.
=== Bug fixes in 1.14 ===
* (bug 16647) list=allcategories, prop=categories don't return "hidden"
property for hidden categories
* New siprop parameter of 'extensions' to list all installed extensions
+* (bug 16672) Include canonical namespace name in meta=siteinfo&siprop=namespaces.
=== Languages updated in 1.14 ===
}
protected function appendNamespaces( $property ) {
- global $wgContLang;
+ global $wgContLang, $wgCanonicalNamespaceNames;
$data = array();
foreach( $wgContLang->getFormattedNamespaces() as $ns => $title )
{
'id' => $ns
);
ApiResult :: setContent( $data[$ns], $title );
- $canonical = Namespace::getCanonicalName( $ns );
+ $canonical = isset($wgCanonicalNamespaceNames[$ns]) ? $wgCanonicalNamespaceNames[$ns] : false;
if( MWNamespace::hasSubpages( $ns ) )
$data[$ns]['subpages'] = '';
'prop' => array(
'Which sysinfo properties to get:',
' "general" - Overall system information',
- ' "namespaces" - List of registered namespaces (localized)',
+ ' "namespaces" - List of registered namespaces and their canonical names',
' "namespacealiases" - List of registered namespace aliases',
' "specialpagealiases" - List of special page aliases',
' "magicwords" - List of magic words and their aliases',