Index: trunk/extensions/TitleBlacklist/tests/ApiQueryTitleBlacklistTest.php |
— | — | @@ -48,7 +48,7 @@ |
49 | 49 | $this->assertEquals( $listed[0]['titleblacklist']['result'], 'error', 'Listed title returns error'); |
50 | 50 | $this->assertEquals( |
51 | 51 | $listed[0]['titleblacklist']['error'], |
52 | | - "The title \"bar\" has been banned from creation.\nIt matches the following blacklist entry: <code>[Bb]ar # example blacklist entry</code>", |
| 52 | + "The title \"bar\" has been banned from creation.\nIt matches the following blacklist entry: <code>[Bb]ar #example blacklist entry</code>", |
53 | 53 | 'Listed title error text is as as expected' |
54 | 54 | ); |
55 | 55 | } |
Index: trunk/extensions/TitleBlacklist/api/ApiQueryTitleBlacklist.php |
— | — | @@ -101,10 +101,6 @@ |
102 | 102 | return 'Validate an article title, filename, or username against the TitleBlacklist.'; |
103 | 103 | } |
104 | 104 | |
105 | | - public function getPossibleErrors() { |
106 | | - |
107 | | - } |
108 | | - |
109 | 105 | protected function getExamples() { |
110 | 106 | return array( |
111 | 107 | 'api.php?action=titleblacklist&tbtitle=Foo', |