r31393 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r31392‎ | r31393 | r31394 >
Date:00:55, 29 February 2008
Author:brion
Status:old
Tags:
Comment:
* (bug 13174) __HIDDENCAT__ now applies only to category pages
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Parser.php
@@ -3287,7 +3287,7 @@
32883288 if ( isset( $this->mDoubleUnderscores['notoc'] ) && !$this->mForceTocPosition ) {
32893289 $this->mShowToc = false;
32903290 }
3291 - if ( isset( $this->mDoubleUnderscores['hiddencat'] ) ) {
 3291+ if ( isset( $this->mDoubleUnderscores['hiddencat'] ) && $this->mTitle->getNamespace() == NS_CATEGORY ) {
32923292 $this->mOutput->setProperty( 'hiddencat', 'y' );
32933293
32943294 $containerCategory = Title::makeTitleSafe( NS_CATEGORY, wfMsgForContent( 'hidden-category-category' ) );
Index: trunk/phase3/RELEASE-NOTES
@@ -58,6 +58,7 @@
5959 * (bug 13135) Special:Userrights now passes IDs through form submission
6060 to allow functionality on not-quite-right usernames
6161 * (bug 12575) Prevent duplicate patrol log entries from being created
 62+* (bug 13174) __HIDDENCAT__ now applies only to category pages
6263
6364
6465 === API changes in 1.13 ===

Status & tagging log

  NODES
Note 2
os 2