Andrew Garrett [Fri, 19 Feb 2010 20:40:11 +0000 (20:40 +0000)]
Fix errors in Live Preview caused by extensions using document.write()
Sam Reed [Fri, 19 Feb 2010 19:44:28 +0000 (19:44 +0000)]
r65299 c5894 followup
Move isset check of gettoken upto level of $salt !== false. If gettoken is set, the module isn't going to do anything else (and therefore no point seeing if there is a token set, let alone attempting to validate it)
Tobias [Fri, 19 Feb 2010 18:36:22 +0000 (18:36 +0000)]
Adding references to r62241 and r62358 to release notes
Sam Reed [Fri, 19 Feb 2010 18:28:52 +0000 (18:28 +0000)]
Fixup result_array
Alexandre Emsenhuber [Fri, 19 Feb 2010 17:39:24 +0000 (17:39 +0000)]
Fixed some doxygen warnings
Philip Tzou [Fri, 19 Feb 2010 15:11:56 +0000 (15:11 +0000)]
My fault, forgot to mv ZhConversion.php. Follow up on r62705.
Philip Tzou [Fri, 19 Feb 2010 14:53:20 +0000 (14:53 +0000)]
Update Chinese conversion table.
Jack Phoenix [Fri, 19 Feb 2010 12:54:09 +0000 (12:54 +0000)]
API deletion module: trim trailing spaces, tweak coding style, change copyright symbol to a proper one, change "else if" to "elseif"
Tobias [Fri, 19 Feb 2010 10:51:03 +0000 (10:51 +0000)]
newFromName: Fixing error in the documentation and adding IP address as an example. No code change
Tobias [Fri, 19 Feb 2010 10:37:20 +0000 (10:37 +0000)]
LogExtract on blocked user's pages: fixing r62241 (see comments by Tim)
Tim Starling [Fri, 19 Feb 2010 05:19:32 +0000 (05:19 +0000)]
Moving Conrad's recent parser work out to a branch. Reverted r62434, r62416, r62150, r62111, r62085, r62081, r62080, r62077, r62076, r62069, r62049, r62035.
Tim Starling [Fri, 19 Feb 2010 04:56:09 +0000 (04:56 +0000)]
Resolve stubs which may be broken by running RCT. Added a --start option. Not tested yet.
Sam Reed [Fri, 19 Feb 2010 01:25:57 +0000 (01:25 +0000)]
Stylize on Api
Manual layout improvements in ApiFeedWatchlist
Raimond Spekking [Thu, 18 Feb 2010 20:13:15 +0000 (20:13 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-18 20:00 UTC)
Rotem Liss [Thu, 18 Feb 2010 18:00:57 +0000 (18:00 +0000)]
Localization update for he.
Jack Phoenix [Thu, 18 Feb 2010 14:53:30 +0000 (14:53 +0000)]
API login module: coding style cleanup, remove stray semicolon, use proper copyright symbol
Tim Starling [Thu, 18 Feb 2010 04:05:00 +0000 (04:05 +0000)]
Classify rows with old_flags='object,utf-8' (there are 1800 in enwiki).
Raimond Spekking [Wed, 17 Feb 2010 20:30:31 +0000 (20:30 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-17 20:00 UTC)
Alexandre Emsenhuber [Wed, 17 Feb 2010 20:24:28 +0000 (20:24 +0000)]
Fixed some doxygen warnings
Raimond Spekking [Wed, 17 Feb 2010 19:31:47 +0000 (19:31 +0000)]
Follow-up r62648: Add new message key to maintenance script
X! [Wed, 17 Feb 2010 18:41:05 +0000 (18:41 +0000)]
* (bug 22551) Special:Resetpass now has a "Cancel" button that sends the user to the page set in the &returnto parameter.
Michael Dale [Wed, 17 Feb 2010 05:43:50 +0000 (05:43 +0000)]
* added missing initialize function to UploadFromFile ( avoids the initialized undefined error )
Chad Horohoe [Wed, 17 Feb 2010 01:28:48 +0000 (01:28 +0000)]
Use __METHOD__
Chad Horohoe [Wed, 17 Feb 2010 00:52:04 +0000 (00:52 +0000)]
(bug 22540) ForeignApiRepos no longer try to store thumbnails that don't exist. Patch by Derk-Jan Hartman
Sam Reed [Wed, 17 Feb 2010 00:43:12 +0000 (00:43 +0000)]
Add blank line below Configuration changes in 1.16 to match formatting of rest of sections
Siebrand Mazeland [Tue, 16 Feb 2010 23:13:08 +0000 (23:13 +0000)]
Localisation updates for magic words from translatewiki.net
Siebrand Mazeland [Tue, 16 Feb 2010 23:03:23 +0000 (23:03 +0000)]
Localisation updates for special page aliases from translatewiki.net
Siebrand Mazeland [Tue, 16 Feb 2010 22:54:16 +0000 (22:54 +0000)]
Localisation updates for namespace aliases from translatewiki.net
Alexandre Emsenhuber [Tue, 16 Feb 2010 22:06:04 +0000 (22:06 +0000)]
* Fixed some doxygen warnings
* Consistency in documentation
Sam Reed [Tue, 16 Feb 2010 22:01:38 +0000 (22:01 +0000)]
Minor fixup to api/ApiEditPage.php to remove getMaxArticleSize function
Sam Reed [Tue, 16 Feb 2010 21:59:16 +0000 (21:59 +0000)]
Followup to r62557 as per Roans comment
Jack Phoenix [Tue, 16 Feb 2010 21:33:55 +0000 (21:33 +0000)]
more braces, documentation and spacing tweaks
Raimond Spekking [Tue, 16 Feb 2010 19:52:31 +0000 (19:52 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-15 19:30 UTC)
Max Semenik [Tue, 16 Feb 2010 19:04:09 +0000 (19:04 +0000)]
Fixed a E_DEPRECATED
Max Semenik [Tue, 16 Feb 2010 12:56:02 +0000 (12:56 +0000)]
Removed MMCache support, this thing is dead. Partially implements bug 19193
Max Semenik [Tue, 16 Feb 2010 12:12:29 +0000 (12:12 +0000)]
Switched tests to portable table duplication
Max Semenik [Tue, 16 Feb 2010 11:52:57 +0000 (11:52 +0000)]
Renamed SearchMySQL4Test to SearchMySQLTest, SearchMySQL4 was renamed long ago
Mark A. Hershberger [Tue, 16 Feb 2010 03:37:19 +0000 (03:37 +0000)]
* When I found it, I cried. fixes bug #22501
* Also, fix up showtitle for parser tests to always give a title, whether we're setting a display title or not.
Sam Reed [Tue, 16 Feb 2010 01:29:58 +0000 (01:29 +0000)]
Decomment parts accidentally commited commented in r62557
Sam Reed [Tue, 16 Feb 2010 01:27:19 +0000 (01:27 +0000)]
Followup to r62557
Add array( 'sessionfailure' ) to getPossibleErrors for token using modules (missed adding when removing from individual modules!)
Tim Starling [Tue, 16 Feb 2010 01:06:49 +0000 (01:06 +0000)]
Fix call to nonexistent function from r61357
Sam Reed [Mon, 15 Feb 2010 23:56:09 +0000 (23:56 +0000)]
Remove a couple of duplicated errors from ApiEditPage getPossibleErrors
Unindent one level in ApiMain substituteResultWithError
Mark A. Hershberger [Mon, 15 Feb 2010 23:54:02 +0000 (23:54 +0000)]
Provide a few more tests for bug #22501
Sam Reed [Mon, 15 Feb 2010 23:53:43 +0000 (23:53 +0000)]
Refactor requiresToken to getTokenSalt - Returns salt if exists, null if no salt, else false if no token required
Move sessionfailure (token validation checking) up a couple of levels
Part of bug 21991
Followup to r62482 and r62504
Alexandre Emsenhuber [Mon, 15 Feb 2010 22:06:18 +0000 (22:06 +0000)]
Fixed some doxygen warnings
Chad Horohoe [Mon, 15 Feb 2010 21:53:30 +0000 (21:53 +0000)]
Rm 3 unused $wgDBprefixes
Roan Kattouw [Mon, 15 Feb 2010 21:34:31 +0000 (21:34 +0000)]
Fix broken comma logic in r62486
Roan Kattouw [Mon, 15 Feb 2010 20:50:21 +0000 (20:50 +0000)]
API performance fixes: avoid unstubbing $wgContLang and $wgUser
Roan Kattouw [Mon, 15 Feb 2010 20:42:43 +0000 (20:42 +0000)]
API: Redo r62540 for all modules, easier than I first imagined
Raimond Spekking [Mon, 15 Feb 2010 20:22:16 +0000 (20:22 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-15 20:00 UTC)
Mark A. Hershberger [Mon, 15 Feb 2010 20:20:14 +0000 (20:20 +0000)]
Tidy up phpdoc to match code
Roan Kattouw [Mon, 15 Feb 2010 20:20:00 +0000 (20:20 +0000)]
API: Optimize read rights check in opensearch so $wgUser doesn't get unstubbed if $wgGroupPermissions['*']['read'] is true
Mark A. Hershberger [Mon, 15 Feb 2010 20:18:05 +0000 (20:18 +0000)]
fixes #22501 follow up r61101 remove superfluous, buggy code that was over-rideing displaytitle
Siebrand Mazeland [Mon, 15 Feb 2010 20:08:39 +0000 (20:08 +0000)]
Revert r62421. Removing "set_time_limit( 0 );" causes all kinds of time out issues running command line scripts in both maintenance/ and with cli scripts in extensions.
Roan Kattouw [Mon, 15 Feb 2010 18:47:32 +0000 (18:47 +0000)]
Whitespace fixes for r62532
Michael Dale [Mon, 15 Feb 2010 17:56:55 +0000 (17:56 +0000)]
* helps address bug 22453, Enables the api to return PLURAL transforms.
* Adds support for parser to be run on msg keys with argument substitution.
Mark A. Hershberger [Mon, 15 Feb 2010 17:50:35 +0000 (17:50 +0000)]
follow-up r62498 — use the new functionality of requireOnlyOneParameter of allowing “false” defaults
Roan Kattouw [Mon, 15 Feb 2010 12:20:52 +0000 (12:20 +0000)]
Fix r62511: always select ipb_auto field
Roan Kattouw [Mon, 15 Feb 2010 12:13:01 +0000 (12:13 +0000)]
API: Don't display range info for autoblocks (effectively disclosing the IP address) in list=blocks, and don't list autoblocks when queried for a certain user's or IP's blocks. These constraints mirror the ones used by Special:Ipblocklist
Conrad Irwin [Mon, 15 Feb 2010 09:34:51 +0000 (09:34 +0000)]
clean r61713 (and r61710) per code review
Raimond Spekking [Mon, 15 Feb 2010 09:22:11 +0000 (09:22 +0000)]
Fix fir r62482: PHP Notice: Undefined index: token in /www/w/includes/api/ApiMain.php on line 415
Max Semenik [Mon, 15 Feb 2010 08:40:02 +0000 (08:40 +0000)]
Unit tests: don't fail miserably if we don't have CDB support
Mark A. Hershberger [Mon, 15 Feb 2010 08:36:10 +0000 (08:36 +0000)]
follow up r61101 for special pages like Special:Version and Special:RecentChanges
Mark A. Hershberger [Mon, 15 Feb 2010 07:10:58 +0000 (07:10 +0000)]
follow up r62498 tests for the requireOnlyOneParameter() change
Mark A. Hershberger [Mon, 15 Feb 2010 07:06:49 +0000 (07:06 +0000)]
follow up r62353 Make ApiBase::requireOnlyOneParameter() accept parameters that are set, but false. This means that you can pass in more than one parameter, as long as it is the same as the default (false). Have to do it this way since we'd like to default boolean parameters to false in getAllowedParams() but by the time requireOnlyOneParameter() is called, the defaults are set, so we can't tell the difference between passing in a parameter set to the default and just getting the defaults.
Max Semenik [Mon, 15 Feb 2010 05:49:10 +0000 (05:49 +0000)]
Was it supposed to be a comma instead of dot? :)
Max Semenik [Mon, 15 Feb 2010 05:41:19 +0000 (05:41 +0000)]
Parser tests: output article name in duplicate article message
Tim Starling [Sun, 14 Feb 2010 23:52:45 +0000 (23:52 +0000)]
Search suggestion API requests make up a substantial portion of our total apache load and thus deserve some optimisation:
* Made the cache expiry time configurable via $wgSearchSuggestCacheExpiry
* Removed must-revalidate from the Cache-Control of such requests. Introduced a generic interface to ApiMain for doing that.
Sam Reed [Sun, 14 Feb 2010 22:20:27 +0000 (22:20 +0000)]
Start of "Bug 21991 - Move common query parameter (uc, rc) validation, token requiringness/checking to ApiBase/Similar"
Move token requringness check to the ApiMain
Adding an exception if we're using "gettoken" (block/unblock)
Remove array( 'missingparam', 'token' ), from the getPossibleErrors of modules that set requireToken method to true
Siebrand Mazeland [Sun, 14 Feb 2010 22:07:30 +0000 (22:07 +0000)]
Random indentation and code formatting updates. No functional changes.
Sam Reed [Sun, 14 Feb 2010 21:36:20 +0000 (21:36 +0000)]
* (bug 18771) List possible errors in action=paraminfo
Bug isn't quite complete, but majorly implemented. Marking in RELEASE-NOTES for reference
Alexandre Emsenhuber [Sun, 14 Feb 2010 21:23:38 +0000 (21:23 +0000)]
Fixed some doxygen warnings
Sam Reed [Sun, 14 Feb 2010 21:12:11 +0000 (21:12 +0000)]
Change layout of the mustBePosted format to standardise it
Siebrand Mazeland [Sun, 14 Feb 2010 19:56:37 +0000 (19:56 +0000)]
Rebuild MessagesLzz.php and add 'tr' as fallback.
Raimond Spekking [Sun, 14 Feb 2010 19:44:39 +0000 (19:44 +0000)]
Add Laz language (lzz) per request of GerardM
Raimond Spekking [Sun, 14 Feb 2010 19:33:39 +0000 (19:33 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-14 19:00 UTC)
Sam Reed [Sun, 14 Feb 2010 15:19:45 +0000 (15:19 +0000)]
Followup to r62465, should be in an array
Sam Reed [Sun, 14 Feb 2010 15:16:09 +0000 (15:16 +0000)]
Move ( 'code' => 'show', 'info' => 'Incorrect parameter - mutually exclusive values may not be supplied' ) to messageMap
Sam Reed [Sun, 14 Feb 2010 14:29:24 +0000 (14:29 +0000)]
Fixup spaces to tabs from r62404
Roan Kattouw [Sun, 14 Feb 2010 13:37:14 +0000 (13:37 +0000)]
Whitespace fixes for r62402
Raimond Spekking [Sun, 14 Feb 2010 11:36:40 +0000 (11:36 +0000)]
Follow-up r62358: Wrap warning message into a div with the generic "error" and a specific "mw-moveuserpage-warning" class
Platonides [Sat, 13 Feb 2010 23:58:30 +0000 (23:58 +0000)]
Follow up r62436 comments.
s/Title::newFromUrl/Title::newFromURL/
All these usages should be reviewed. Make it easy to grep using the canonical form.
Additionally fix the typo.
Raimond Spekking [Sat, 13 Feb 2010 19:20:32 +0000 (19:20 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-13 19:00 UTC)
Alexandre Emsenhuber [Sat, 13 Feb 2010 17:09:52 +0000 (17:09 +0000)]
Fixed some doxygen warnings
Conrad Irwin [Sat, 13 Feb 2010 14:41:04 +0000 (14:41 +0000)]
Fix for <poem> after r62416
Platonides [Sat, 13 Feb 2010 13:46:29 +0000 (13:46 +0000)]
parserTests.txt shall be opened in text mode.
Followup of r62006 which broke parser tests on windows (crlf line endings).
Chad Horohoe [Sat, 13 Feb 2010 03:27:47 +0000 (03:27 +0000)]
Don't need to set time limit here, already did in setup(), memory_limit still needs calling this late, user might have overriden this in LocalSettings
Chad Horohoe [Sat, 13 Feb 2010 02:56:18 +0000 (02:56 +0000)]
Output page title along with no revisions (just like we do when there are revs to import). Looks confusing seeing multiple "All revisions were previously imported" entries
Shinjiman [Sat, 13 Feb 2010 02:33:39 +0000 (02:33 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Chad Horohoe [Sat, 13 Feb 2010 02:29:59 +0000 (02:29 +0000)]
Drop ancient PHP4 wrapper for cloning, completely unused
Conrad Irwin [Sat, 13 Feb 2010 02:22:14 +0000 (02:22 +0000)]
Deprecate old undocumented workaround to bug 2257 (setTransparentTagHook)
Sam Reed [Sat, 13 Feb 2010 01:41:37 +0000 (01:41 +0000)]
Stylize API files
Sam Reed [Sat, 13 Feb 2010 01:38:12 +0000 (01:38 +0000)]
4 More dieUsage calls
Bar some from ApiBase.. These are done..
Aaron Schulz [Sat, 13 Feb 2010 01:37:29 +0000 (01:37 +0000)]
Move this to one line to add space back after period. If these is to be split into 2 lines, then the msg() call needs changing to display correctly.
Sam Reed [Sat, 13 Feb 2010 01:28:26 +0000 (01:28 +0000)]
dieUsage getPossibleErrors in ApiQuerySearch and ApiQueryRevisions
Sam Reed [Sat, 13 Feb 2010 01:24:00 +0000 (01:24 +0000)]
Fix fail in ApiEditPage.php
Sam Reed [Sat, 13 Feb 2010 01:21:52 +0000 (01:21 +0000)]
Complete dieUsage errors in 7 more Api files
Sam Reed [Sat, 13 Feb 2010 01:05:14 +0000 (01:05 +0000)]
Complete dieUsage errors in 6 more Api files
Sam Reed [Sat, 13 Feb 2010 00:50:45 +0000 (00:50 +0000)]
And an erroneous )
Sam Reed [Sat, 13 Feb 2010 00:49:53 +0000 (00:49 +0000)]
Rem erroneous bracket, followup to r62404