* (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 und Special:Log
+* (bug 16672) Add canonical parameter to meta=siteinfo&siprop=namespaces|namespacealiases.
=== Bug fixes in 1.14 ===
'id' => $ns
);
ApiResult :: setContent( $data[$ns], $title );
- if( MWNamespace::hasSubpages($ns) )
+ $canonical = Namespace::getCanonicalName( $ns );
+
+ if( MWNamespace::hasSubpages( $ns ) )
$data[$ns]['subpages'] = '';
+
+ if( $canonical )
+ $data[$ns]['canonical'] = $canonical;
}
$this->getResult()->setIndexedTagName( $data, 'ns' );