Commit graph

1345 commits

Author SHA1 Message Date
Raimond Spekking 79793a5611 Localisation updates for core and extension messages from translatewiki.net 2011-10-14 20:06:14 +00:00
Sam Reed 028cf69054 Documentation
Swap a lot of "@returns" to "@return"
2011-10-13 18:44:26 +00:00
Raimond Spekking de45b6b149 Localisation updates for core and extension messages from translatewiki.net 2011-10-09 20:04:54 +00:00
Raimond Spekking f6ce43d8d9 Localisation updates for core and extension messages from translatewiki.net 2011-10-05 19:39:20 +00:00
Raimond Spekking 54b762c1f2 Localisation updates for core and extension messages from translatewiki.net 2011-09-29 21:33:17 +00:00
Raimond Spekking e7549d9213 Localisation updates for core and extension messages from translatewiki.net 2011-09-24 20:11:56 +00:00
Raimond Spekking 06c1a51e06 Localisation updates for core and extension messages from translatewiki.net 2011-09-23 20:09:54 +00:00
Tim Starling 1d1fe991cc Remove unused global added during testing. 2011-09-22 06:28:55 +00:00
Tim Starling b0b04747eb Fix for r76344: you can't access $wgUser during the CentralAuthAutoCreate hook, because it's the same object that invoked CentralAuth via UserLoadFromSession, after mLoadedItems is set to true but before any data is initialised. The calling code in CentralAuth does permissions checks correctly, by creating a new User object for the anonymous user who is logging in. That's what I've implemented here too.
Most of the changes here are just propagating the anonymous user object through the call stack.
2011-09-22 06:10:45 +00:00
Raimond Spekking 2e94e10466 Localisation updates for core and extension messages from translatewiki.net 2011-09-21 21:30:38 +00:00
Sam Reed a851665ab2 <preilly> PHP fatal error in /usr/local/apache/common-local/php-1.18/extensions/TitleBlacklist/TitleBlacklist.list.php line 326:
Fixed in 1.18wmf1 and trunk
2011-09-20 00:11:20 +00:00
Raimond Spekking 8476267ac1 Localisation updates for core and extension messages from translatewiki.net 2011-09-07 19:15:44 +00:00
Raimond Spekking d45aa35709 Localisation updates for core and extension messages from translatewiki.net 2011-09-04 19:01:32 +00:00
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 50b14054c7 Tidy up documentation 2011-08-22 20:37:26 +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
Siebrand Mazeland 4056a67338 Localisation updates from http://translatewiki.net.
Full rebuild of all messages files for extensions supported by Translate.
2011-08-17 00:10:33 +00:00
Raimond Spekking 35c33cced4 Localisation update for core and extension messages from translatewiki.net (2011-08-08 17:15:00) 2011-08-08 17:47:17 +00:00
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