Commit graph

12 commits

Author SHA1 Message Date
John Du Hart 2a563d7709 API get* functions should be public 2011-08-26 23:50:06 +00:00
Roan Kattouw 86645894cd (bug 30510) TitleBlacklist API barfs on invalid titles 2011-08-22 20:56:19 +00:00
Sam Reed 29c00b0057 $result is already used
fu r95241
2011-08-22 20:29:29 +00:00
Sam Reed a2f5ccd2bf Subclass ApiBase
Create a temporary variable for result
2011-08-22 20:27:57 +00:00
Sam Reed 6778696cab svn:keywords Id 2011-08-22 20:21:08 +00:00
Ian Baker 349ac95278 Added raw message name to output, so localization can happen on the client side if necessary.
Added another line to test source, for checking custom error messages
2011-08-01 21:36:16 +00:00
Alexandre Emsenhuber 661285c2db Added TitleBlacklist::singleton() to get an instance of the TitleBlacklist instead of having to use $wgTitleBlacklist and call efInitTitleBlacklist() 2011-07-30 15:13:28 +00:00
Ian Baker a9b8637fbe Added additional entry for non-automated testing
Added additional return data: raw blacklist line
switched to wfMessage from wfMsg
updated tests
followup to r92805
2011-07-29 17:19:51 +00:00
Ian Baker 039c877658 changed api output for blacklisted entries to be something more correct and informative ("error" is misleading).
followup to r93137
2011-07-28 20:32:48 +00:00
Ian Baker 4e57d6c1e9 Fixed unit test
Removed unnecessary method, re r92807
2011-07-23 00:23:09 +00:00
Ian Baker ac58cd3332 removed cruft, followup to r92805 2011-07-21 22:10:06 +00:00
Ian Baker 00242b75f1 Added an API to TitleBlackList to make it possible to check the blacklist in advance. Makes for more responsive UI. 2011-07-21 22:08:44 +00:00