Index: trunk/phase3/RELEASE-NOTES-1.18 |
— | — | @@ -438,6 +438,7 @@ |
439 | 439 | Windows servers. |
440 | 440 | * (bug 30074) Moving user JS subpages resulted in JS errors because |
441 | 441 | #REDIRECT [[Foo]] is invalid JS |
| 442 | +* Tracking categories are no longer shown in footer for special pages |
442 | 443 | |
443 | 444 | === API changes in 1.18 === |
444 | 445 | * BREAKING CHANGE: action=watch now requires POST and token. |
Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -3956,6 +3956,10 @@ |
3957 | 3957 | * @return Boolean: whether the addition was successful |
3958 | 3958 | */ |
3959 | 3959 | protected function addTrackingCategory( $msg ) { |
| 3960 | + if ( $this->mTitle->getNamespace() === NS_SPECIAL ) { |
| 3961 | + wfDebug( __METHOD__.": Not adding tracking category $msg to special page!\n" ); |
| 3962 | + return false; |
| 3963 | + } |
3960 | 3964 | $cat = wfMsgForContent( $msg ); |
3961 | 3965 | |
3962 | 3966 | # Allow tracking categories to be disabled by setting them to "-" |