* (bug 13115) rebuildrecentchanges should print the current value of $wgRCMaxAge
* (bug 13132) Unable to unprotect pages protected with earlier versions of MediaWiki
* (bug 13137) Bots to edit protected pages
+* (bug 13140) Show parent categories in category namespace
=== API changes in 1.13 ===
* Add an array of categories, with names in the keys
*/
public function addCategoryLinks( $categories ) {
- global $wgUser, $wgContLang;
+ global $wgUser, $wgContLang, $wgTitle;
if ( !is_array( $categories ) ) {
return;
# Remove categories with hiddencat
foreach ( $res as $row ) {
- if ( isset( $row->pp_value ) ) {
+ if ( isset( $row->pp_value ) and $wgTitle->getNamespace() != NS_CATEGORY ) {
unset( $categories[$row->page_title] );
}
}