Commit graph

424 commits

Author SHA1 Message Date
Ian Baker 74c1bef009 checking in tests that were missed in r93659 2011-08-01 22:44:54 +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
Alexandre Emsenhuber 4fab4785d0 svn:eol-style native 2011-07-22 09:42:46 +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
Raimond Spekking 185fb725d4 Localisation updates for core and extension messages from translatewiki.net (2011-07-19 19:45:00 UTC) 2011-07-19 20:10:05 +00:00
Raimond Spekking 2a46171372 Localisation updates for core and extension messages from translatewiki.net (2011-07-16 19:52:00 UTC)
Ping r92057: Full export of core and ext-installer
2011-07-16 20:06:00 +00:00
Raimond Spekking 682621a954 Localisation updates for core and extension messages from translatewiki.net (2011-07-11 19:26:00 UTC) 2011-07-11 19:37:00 +00:00
Brian Wolff 0bf83bc424 follow-up r90737 - also normalize 'createtalk' for good measure.
Note, atm not such a big deal as there are no direct uses of 'createtalk' permission
but good to check for potential future bugs.
2011-06-24 21:36:23 +00:00
Brian Wolff cd08604ddb (bug 28466) Make titleblack list consider 'createpage' action to be same as 'create'.
In r65898, special:upload changed from checking create permission to checking createpage.
Titleblacklist hooks into the userCan create check to determine if the action is a new upload.
(aka not a reupload).

The create vs create(page|talk) permission thing is kind of confusing...
2011-06-24 21:25:50 +00:00
Raimond Spekking 12f52fac5b Localisation updates for core and extension messages from translatewiki.net (2011-06-14 20:30:00 UTC) 2011-06-14 20:52:22 +00:00
Raimond Spekking c81988b789 Localisation updates for core and extension messages from translatewiki.net (2011-06-06 20:43:00 UTC) 2011-06-06 20:57:48 +00:00
Raimond Spekking 0a48a42539 Localisation updates for core and extension messages from translatewiki.net (2011-05-28 21:01:00 UTC) 2011-05-28 21:32:53 +00:00
Raimond Spekking d21ddc077a Localisation updates for core and extension messages from translatewiki.net (2011-04-28 20:00:00 UTC) 2011-04-28 20:38:36 +00:00
Raimond Spekking bce9887819 Localisation updates for core and extension messages from translatewiki.net (2011-04-27 20:00:00 UTC) 2011-04-27 20:22:02 +00:00
Raimond Spekking 9be61f6142 Localisation updates for core and extension messages from translatewiki.net (2011-04-26 20:00:00 UTC) 2011-04-26 20:24:56 +00:00
Raimond Spekking e7961dde8a Localisation updates for core and extension messages from translatewiki.net (2011-04-18 19:57:00 UTC) 2011-04-18 20:25:13 +00:00
Raimond Spekking 5e38b826b1 Localisation updates for core and extension messages from translatewiki.net (2011-04-17 19:30:00 UTC) 2011-04-17 19:56:58 +00:00
Raimond Spekking 482b4d01ea Localisation updates for core and extension messages from translatewiki.net (2011-04-12 19:00:00 UTC) 2011-04-12 19:17:37 +00:00
Sam Reed 3121f8e728 Whitespace, braces, documentation 2011-04-12 00:16:04 +00:00
Raimond Spekking 1644d20ac1 Localisation updates for core and extension messages from translatewiki.net (2011-04-11 18:35:00 UTC) 2011-04-11 19:18:59 +00:00
Brion Vibber 5cd6dc1b6b * (bug 24755) AuthPlugin auto-creation of local accounts can now be aborted by
other extensions by handling the 'AbortAutoAccount' hook, similar to the
  'AbortNewAccount' triggered by explicit account creations. (They are separate
  to avoid loops and confusion; auth plugins like CentralAuth need to handle
  AbortNewAccount separately.
2011-04-05 01:18:40 +00:00
Raimond Spekking dcdab8bec8 Localisation updates for core and extension messages from translatewiki.net (2011-04-04 12:51:00 UTC) 2011-04-04 13:21:39 +00:00
Sam Reed 4ae9c4dfaa Invert match call for whitelist also
Add missing false to return documentation
2011-03-23 16:30:49 +00:00
Sam Reed 939bf7f912 Followup r84575, bug 27470
Inverse all the booleans in matches

Previous fix was naieve, and just ended up picking the first regex and dieing with that
2011-03-22 23:07:21 +00:00
Sam Reed 3f4d451d20 Followup r76344, fix another inversed logic
-			if( !$item->userCan( $title, $wgUser, $action ) ) {
+			if( !$item->matches( $title, $action ) ) {

Fix some trailing whitespace also

Related to bug 27470 and bug 28166
2011-03-22 22:30:23 +00:00
Sam Reed c8d5112717 Documentation, braces, unused globals 2011-03-17 22:20:01 +00:00
Sam Reed 4db154c598 Trim/fix whitespace 2011-03-14 23:44:41 +00:00
Sam Reed d1b3021d6f TitleBlacklist
Fix undefined $user

Documentation, braces
2011-03-14 20:51:13 +00:00
Raimond Spekking 9f470a944d Localisation updates for core and extension messages from translatewiki.net (2011-03-09 21:26:00 UTC) 2011-03-09 22:15:15 +00:00
Raimond Spekking d98ebec282 Localisation updates for core and extension messages from translatewiki.net (2011-02-28 21:08:00 UTC) 2011-02-28 21:27:29 +00:00
Raimond Spekking 6de59571ec Localisation updates for core and extension messages from translatewiki.net (2011-02-24 20:21:00 UTC) 2011-02-24 20:48:38 +00:00
Raimond Spekking 0339738847 Localisation updates for core and extension messages from translatewiki.net (2011-02-19 20:30:00 UTC) 2011-02-19 20:56:36 +00:00
Raimond Spekking 154e055df9 Localisation updates for core and extension messages from translatewiki.net (2011-02-14 21:31:00 UTC) 2011-02-14 21:56:30 +00:00
Raimond Spekking 960b8498cd Localisation updates for core and extension messages from translatewiki.net (2011-01-26 21:38:00 UTC) 2011-01-26 22:01:54 +00:00
Raimond Spekking 4ca5646904 Localisation updates for core and extension messages from translatewiki.net (2011-01-25 20:45:00 UTC) 2011-01-25 21:05:19 +00:00
Siebrand Mazeland 3f98946901 Localisation updates for extensions from translatewiki.net. 2011-01-22 20:08:34 +00:00
Raimond Spekking 052855fc63 Localisation updates for core and extension messages from translatewiki.net (2011-01-20 20:24:00 UTC) 2011-01-20 20:52:42 +00:00
Raimond Spekking 572f8d2b13 Localisation updates for core and extension messages from translatewiki.net (2011-01-18 21:16:00 UTC) 2011-01-18 21:38:26 +00:00
Raimond Spekking f5c727a98b Localisation updates for core and extension messages from translatewiki.net (2011-01-17 18:14:00 UTC) 2011-01-17 19:48:22 +00:00
Raimond Spekking 2154070287 Localisation updates for core and extension messages from translatewiki.net (2011-01-15 14:56:00 UTC) 2011-01-15 15:17:51 +00:00
Raimond Spekking 2890ade007 Localisation updates for core and extension messages from translatewiki.net (2011-01-05 21:11:00 UTC) 2011-01-05 21:32:10 +00:00
Raimond Spekking e01cbed3e7 Localisation updates for core and extension messages from translatewiki.net (2011-01-03 20:25:00 UTC) 2011-01-03 20:52:23 +00:00
Raimond Spekking dd521b51d2 Localisation updates for core and extension messages from translatewiki.net (2010-12-20 21:02:00 UTC) 2010-12-30 21:45:57 +00:00
Daniel Friesen 803a3488ce Followup r78590, apparently the code that puts unknown categories of extensions into 'other' was not implemented until MediaWiki 1.17... *sigh* So we need to include a version check on these extensions until they stop supporting pre-1.17 versions of MediaWiki. 2010-12-20 04:05:54 +00:00
Daniel Friesen f5ea0f452c Change extension group 'other' for some of our antispam extensions into the new 'antispam' extension groups. Pre trunk wiki will just keep displaying them in 'other' anyways till release. 2010-12-19 01:59:11 +00:00