Index: trunk/phase3/includes/Namespace.php |
— | — | @@ -67,14 +67,8 @@ |
68 | 68 | * @return bool |
69 | 69 | */ |
70 | 70 | function isTalk( $index ) { |
71 | | - global $wgExtraNamespaces; |
72 | | - return ( $index == NS_TALK || $index == NS_USER_TALK || |
73 | | - $index == NS_PROJECT_TALK || $index == NS_IMAGE_TALK || |
74 | | - $index == NS_MEDIAWIKI_TALK || $index == NS_TEMPLATE_TALK || |
75 | | - $index == NS_HELP_TALK || $index == NS_CATEGORY_TALK |
76 | | - || ( (isset($wgExtraNamespaces) && $index % 2) ) |
77 | | - ); |
78 | | - |
| 71 | + return ($index > 0) // Special namespaces are negative |
| 72 | + && ($index % 2); // Talk namespaces are odd-numbered |
79 | 73 | } |
80 | 74 | |
81 | 75 | /** |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -69,6 +69,7 @@ |
70 | 70 | * Allow filtering of robot edits in Special:Watchlist by stting |
71 | 71 | $wgFilterRobotsWL = true. |
72 | 72 | * (bug 2885) More PHP 5.1 fixes: skin, search, log, undelete |
| 73 | +* Fix interlanguage links on special pages when extra namespaces configured |
73 | 74 | |
74 | 75 | |
75 | 76 | === Caveats === |