Index: trunk/phase3/includes/Xml.php |
— | — | @@ -96,10 +96,9 @@ |
97 | 97 | * @param mixed $selected Namespace which should be pre-selected |
98 | 98 | * @param mixed $all Value of an item denoting all namespaces, or null to omit |
99 | 99 | * @param bool $hidden Include hidden namespaces? [WTF? --RC] |
100 | | - * @param array $exclude Array of indexes to exclude |
101 | 100 | * @return string |
102 | 101 | */ |
103 | | - public static function namespaceSelector( $selected = '', $all = null, $hidden = false, $exclude = array() ) { |
| 102 | + public static function namespaceSelector( $selected = '', $all = null, $hidden = false ) { |
104 | 103 | global $wgContLang; |
105 | 104 | $namespaces = $wgContLang->getFormattedNamespaces(); |
106 | 105 | $options = array(); |
— | — | @@ -107,7 +106,7 @@ |
108 | 107 | if( !is_null( $all ) ) |
109 | 108 | $namespaces = array( $all => wfMsg( 'namespacesall' ) ) + $namespaces; |
110 | 109 | foreach( $namespaces as $index => $name ) { |
111 | | - if( $index < NS_MAIN || in_array( $index, $exclude ) ) |
| 110 | + if( $index < NS_MAIN ) |
112 | 111 | continue; |
113 | 112 | if( $index === 0 ) |
114 | 113 | $name = wfMsg( 'blanknamespace' ); |
Index: trunk/phase3/includes/SpecialProtectedpages.php |
— | — | @@ -129,7 +129,7 @@ |
130 | 130 | function getNamespaceMenu( $namespace = null ) { |
131 | 131 | return Xml::label( wfMsg( 'namespace' ), 'namespace' ) |
132 | 132 | . ' ' |
133 | | - . Xml::namespaceSelector( $namespace, '', false, array( NS_MEDIAWIKI ) ); |
| 133 | + . Xml::namespaceSelector( $namespace, '' ); |
134 | 134 | } |
135 | 135 | |
136 | 136 | /** |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -162,8 +162,6 @@ |
163 | 163 | * Improved file history presentation |
164 | 164 | * (bug 10739) Users can now enter comments when reverting files |
165 | 165 | * Improved handling of permissions errors |
166 | | -* (bug 10798) Exclude MediaWiki namespace from filtering options on |
167 | | - Special:Protectedpages (implicit protection, doesn't make sense to have it) |
168 | 166 | * (bug 10793) "Mark patrolled" links will now be shown for users with |
169 | 167 | patrol permissions on all eligible diff pages |
170 | 168 | * (bug 10655) Show standard tool links for blocked users in block log messages |