Index: trunk/extensions/InputBox/InputBox.classes.php |
— | — | @@ -127,11 +127,11 @@ |
128 | 128 | $namespaces = $wgContLang->getNamespaces(); |
129 | 129 | $nsAliases = array_merge( $wgContLang->getNamespaceAliases(), $wgNamespaceAliases ); |
130 | 130 | $showNamespaces = array(); |
| 131 | + $checkedNS = array(); |
131 | 132 | # Check for valid namespaces |
132 | 133 | foreach ( $namespacesArray as $userNS ) { |
133 | 134 | $userNS = trim( $userNS ); # no whitespace |
134 | 135 | |
135 | | - $checkedNS = array(); |
136 | 136 | # Namespace needs to be checked if flagged with "**" |
137 | 137 | if ( strpos( $userNS, '**' ) ) { |
138 | 138 | $userNS = str_replace( '**', '', $userNS ); |