Index: trunk/extensions/TitleBlacklist/TitleBlacklist.list.php |
— | — | @@ -183,7 +183,7 @@ |
184 | 184 | } |
185 | 185 | $whitelist = $this->getWhitelist(); |
186 | 186 | foreach( $whitelist as $item ) { |
187 | | - if( !$item->matches( $title, $action ) ) { |
| 187 | + if( $item->matches( $title, $action ) ) { |
188 | 188 | return true; |
189 | 189 | } |
190 | 190 | } |
— | — | @@ -305,7 +305,7 @@ |
306 | 306 | * @param $title Title to check |
307 | 307 | * @param $action %Action to check |
308 | 308 | * @return TRUE if the the regex matches the title, and is not overridden |
309 | | - * else if it doesn't match (or was overridden) |
| 309 | + * else false if it doesn't match (or was overridden) |
310 | 310 | */ |
311 | 311 | public function matches( $title, $action ) { |
312 | 312 | wfSuppressWarnings(); |