Sam Reed [Sun, 24 Oct 2010 21:02:57 +0000 (21:02 +0000)]
Comment out unused if (code inside it is commented out
Sam Reed [Sun, 24 Oct 2010 20:48:48 +0000 (20:48 +0000)]
Start of bug 24853, killing off 'functional' parts of failfunction code. Seems when the constructors start getting changed, it starts borking. Using this as a point of reversion/stashing
Krinkle [Sun, 24 Oct 2010 19:32:11 +0000 (19:32 +0000)]
added support for standard, cologneblue, nostalgia in mw.util.addPortletLink + updated the test suite
Raimond Spekking [Sun, 24 Oct 2010 19:30:56 +0000 (19:30 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-24 19:14:00 UTC)
Sam Reed [Sun, 24 Oct 2010 19:16:46 +0000 (19:16 +0000)]
* If a action=parse request provides an oldid that is actually the current revision id, try the parser cache, and save it to it if necessary
Priyanka Dhanda [Sun, 24 Oct 2010 18:57:25 +0000 (18:57 +0000)]
bug25289 Hook that optionally adds custom content instead of article content on diff pages. Now only used by FlaggedRevs to not load the content on history pages when pending changes are enabled.
Krinkle [Sun, 24 Oct 2010 17:52:19 +0000 (17:52 +0000)]
Moving test suit to Special:Blankpage instead
Krinkle [Sun, 24 Oct 2010 17:40:22 +0000 (17:40 +0000)]
adding debug test suit for mediaWiki.util, visible on Special:MWUtilTest?debug=true
Alexandre Emsenhuber [Sun, 24 Oct 2010 16:05:46 +0000 (16:05 +0000)]
Fix for r75313: add array_unique(), otherwise groups are listed twice if they are both in $wgGroupPermissions and $wgRevokePermissions
Bryan Tong Minh [Sun, 24 Oct 2010 15:33:00 +0000 (15:33 +0000)]
(bug 23923) Special:Prefixindex no longer shows results if nothing was requested.
I believe that this was the intention of the original code anyway, but isset was used on places where it should not have been.
Bryan Tong Minh [Sun, 24 Oct 2010 15:24:04 +0000 (15:24 +0000)]
(bug 23934) Groups defined in $wgRevokePermissions but not in $wgGroupPermissions now appear on Special:ListGroupRights
Mark A. Hershberger [Sun, 24 Oct 2010 15:12:13 +0000 (15:12 +0000)]
eol whitespace cleanup
Priyanka Dhanda [Sun, 24 Oct 2010 15:09:13 +0000 (15:09 +0000)]
Moved tests to a dub directory. Added a stub smoke test that we're going to start populating
Bryan Tong Minh [Sun, 24 Oct 2010 14:56:13 +0000 (14:56 +0000)]
Remove unnecessary @error surpressing operator. $pageSet is always defined and getGoodTitles() always returns an array
Alexandre Emsenhuber [Sun, 24 Oct 2010 07:59:01 +0000 (07:59 +0000)]
Removed trailing whitespaces
Krinkle [Sat, 23 Oct 2010 21:08:58 +0000 (21:08 +0000)]
added string trimming for older browsers
Alexandre Emsenhuber [Sat, 23 Oct 2010 21:01:54 +0000 (21:01 +0000)]
Fixed some doxygen warnings and consistency in documentation
Krinkle [Sat, 23 Oct 2010 20:12:56 +0000 (20:12 +0000)]
added mw.util.getWikilink and ported enableCheckboxShiftClick to jQuery
Bryan Tong Minh [Sat, 23 Oct 2010 18:53:39 +0000 (18:53 +0000)]
Follow-up r70638:
* Use a single query to get the page_props instead of one per page
* Removed the $wgPageProps global
* Removed a lot of useless crap
Mark A. Hershberger [Sat, 23 Oct 2010 18:07:02 +0000 (18:07 +0000)]
Use more descriptive names for the test methods.
Roan Kattouw [Sat, 23 Oct 2010 17:48:08 +0000 (17:48 +0000)]
Revert r70703 and followup r70715: broke &redirect for API edit with a fatal error
Chad Horohoe [Sat, 23 Oct 2010 17:33:37 +0000 (17:33 +0000)]
Release notes for r75272.
Mark A. Hershberger [Sat, 23 Oct 2010 17:28:39 +0000 (17:28 +0000)]
Update documentation a bit more.
Krinkle [Sat, 23 Oct 2010 17:24:07 +0000 (17:24 +0000)]
adding begin of mediaWiki.util and loading it by default + trailing whitespace cleanup in mediawiki.js
Roan Kattouw [Sat, 23 Oct 2010 17:22:38 +0000 (17:22 +0000)]
BREAKING CHANGE: Per r70640 CR, salt patrol tokens with rcid in the API too. This means patrol tokens are now different for every recentchanges entry.
Mark A. Hershberger [Sat, 23 Oct 2010 17:08:03 +0000 (17:08 +0000)]
Add examples of depends
Chad Horohoe [Sat, 23 Oct 2010 17:04:45 +0000 (17:04 +0000)]
Remove action=raw from Special:Statistics. We wanted to keep it for back-compat (see lists.wikimedia.org/pipermail/wikitech-l/2008-August/039202.html), but it's been two years since then. All of this info is available through the API with meta=siteinfo&siprop=statistics. Also a followup to r65059, finalize removal of job queue from Special:Statistics.
Markus Glaser [Sat, 23 Oct 2010 17:02:08 +0000 (17:02 +0000)]
include JUnit logger instead of requireing it
Roan Kattouw [Sat, 23 Oct 2010 16:56:07 +0000 (16:56 +0000)]
Revert r70640 per CR: don't expose unsalted edit tokens in URLs. Should instead change the API's patrol functionality to salt patrol tokens (coming up shortly)
Mark A. Hershberger [Sat, 23 Oct 2010 16:41:49 +0000 (16:41 +0000)]
Add a test for capitalization to the data provider
Bryan Tong Minh [Sat, 23 Oct 2010 16:41:20 +0000 (16:41 +0000)]
Added rvparse to parse revisions. For performance reasons if this option is used, rvlimit is enforced to 1.
Mark A. Hershberger [Sat, 23 Oct 2010 16:41:03 +0000 (16:41 +0000)]
Example data provider
Mark A. Hershberger [Sat, 23 Oct 2010 16:05:41 +0000 (16:05 +0000)]
use the install-phpunit.sh script
Mark A. Hershberger [Sat, 23 Oct 2010 16:05:02 +0000 (16:05 +0000)]
Initial check in for install script for PHPunit
Chad Horohoe [Sat, 23 Oct 2010 16:02:34 +0000 (16:02 +0000)]
Fix r63813, r64717 (session path detection in new installer). Surprise surprise, the PHP documentation doesn't match what happens in practice :p
Markus Glaser [Sat, 23 Oct 2010 15:54:27 +0000 (15:54 +0000)]
updated sample configuration with option to run against grid
Markus Glaser [Sat, 23 Oct 2010 15:52:12 +0000 (15:52 +0000)]
added settings to run tests against a selenium grid
Roan Kattouw [Sat, 23 Oct 2010 15:42:19 +0000 (15:42 +0000)]
Per r72349 CR, bring gen=js behavior back, at least for now. It'd be nasty to serve weird stuff to people still hitting gen=js with old code.
Bryan Tong Minh [Sat, 23 Oct 2010 15:40:55 +0000 (15:40 +0000)]
Added iiprop=parsedcomment to prop=imageinfo, similar to prop=revisions
Chad Horohoe [Sat, 23 Oct 2010 15:32:31 +0000 (15:32 +0000)]
Revert r73976 (Implements bug 24343 "localurl discards section id"). Per BZ feedback, this doesn't actually fix the original issue, it adds a new parser function to work around the issue.
Niklas Laxström [Sat, 23 Oct 2010 15:24:08 +0000 (15:24 +0000)]
Fix immediate issues in r72900. I'd still like more testing and perhaps requests from language communities before adding the rest.
Chad Horohoe [Sat, 23 Oct 2010 15:16:25 +0000 (15:16 +0000)]
Fix a few visibilities, add a @todo
Mark A. Hershberger [Sat, 23 Oct 2010 15:06:06 +0000 (15:06 +0000)]
Initial checkin from !mwhack of a sample PHPUnit check.
Siebrand Mazeland [Sat, 23 Oct 2010 14:56:55 +0000 (14:56 +0000)]
Follow-up to r74771, 75241: complete rename for bat-smg to sgs.
Roan Kattouw [Sat, 23 Oct 2010 14:53:06 +0000 (14:53 +0000)]
Revert r73593, root cause has long been fixed
Shinjiman [Sat, 23 Oct 2010 14:48:18 +0000 (14:48 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Siebrand Mazeland [Sat, 23 Oct 2010 14:47:44 +0000 (14:47 +0000)]
Rename MessagesBat_smg.php to MessagesSgs.php. Follow-up to r74771. Needs a follow-up commit for extensions with translations in bat-smg and a new file MessagesBat_smg.php having $fallback = 'sgs'.
Siebrand Mazeland [Sat, 23 Oct 2010 14:41:09 +0000 (14:41 +0000)]
Add 'bat-smg' to $wgDummyLanguageCodes - addresses MaxSem's comment 10095 on r74771.
Alexandre Emsenhuber [Sat, 23 Oct 2010 14:16:26 +0000 (14:16 +0000)]
* Standardised file description headers
* added @file where needed
* added file description headers where needed
Alexandre Emsenhuber [Sat, 23 Oct 2010 13:52:06 +0000 (13:52 +0000)]
Per Reedy, fix for r70274: forgot to change this
Max Semenik [Sat, 23 Oct 2010 11:16:44 +0000 (11:16 +0000)]
Reverted r70151 and re-did what it was intended to do in a proper way: instead of just quietly serializing a crippled connection, fix the caller and receive nice exceptions when something else is broken instead of bug-hunting later.
Max Semenik [Sat, 23 Oct 2010 09:59:57 +0000 (09:59 +0000)]
Revert r73942, which was itself a revert of r73887. After r75213 it will not cause additional test failures.
Mark A. Hershberger [Sat, 23 Oct 2010 03:01:47 +0000 (03:01 +0000)]
re r70916: avoid resetting $wgMemc which leads to failures for me
Roan Kattouw [Fri, 22 Oct 2010 22:43:14 +0000 (22:43 +0000)]
Add __METHOD__ to query() call in runBatchedQuery.php
Max Semenik [Fri, 22 Oct 2010 19:48:38 +0000 (19:48 +0000)]
PDO doesn't seem to like opening nothing
Raimond Spekking [Fri, 22 Oct 2010 19:41:58 +0000 (19:41 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-22 18:58:00 UTC)
Trevor Parscal [Thu, 21 Oct 2010 22:34:26 +0000 (22:34 +0000)]
Fixed missing break; in ResourceLoaderFileModule::__construct, and added extra error checking to it's input arrays.
Raimond Spekking [Thu, 21 Oct 2010 21:55:48 +0000 (21:55 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-21 19:58:00 UTC)
Trevor Parscal [Thu, 21 Oct 2010 21:33:49 +0000 (21:33 +0000)]
Renamed vector and monobook modules to skins.vector and skins.monobook - a convention that should be followed in the future for other skins.
Trevor Parscal [Thu, 21 Oct 2010 21:25:27 +0000 (21:25 +0000)]
ResourceLoaderFileModule now uses mediaWiki.loader.load to load scripts in debug mode.
Jack Phoenix [Thu, 21 Oct 2010 20:42:42 +0000 (20:42 +0000)]
follow-up to r73178: fix copypaste mistake
Antoine Musso [Thu, 21 Oct 2010 18:26:17 +0000 (18:26 +0000)]
Follow up r67073 : add curly to if statement
Mark A. Hershberger [Thu, 21 Oct 2010 18:18:00 +0000 (18:18 +0000)]
* Followup r75064 — fix misleading doc comment
* Don't let redirects set the status object to an error.
Trevor Parscal [Thu, 21 Oct 2010 01:03:46 +0000 (01:03 +0000)]
Changed the way that ResourceLoaderFileModule and mediaWiki.loader work in debug mode. As of this commit, in debug mode, ResourceLoaderFileModule will emit code which appends a a script tag for each raw JavaScript file in the module, instead of the concatenated code of the module's scripts. This eliminates the need to disable batch loading on the client in debug mode, since it effectively supersedes the effect of turning batch loading off.
Sam Reed [Wed, 20 Oct 2010 23:36:21 +0000 (23:36 +0000)]
Followup r75096 per Platonides, name the stuff better, rather than just fixing the typo..
Trevor Parscal [Wed, 20 Oct 2010 20:56:33 +0000 (20:56 +0000)]
Improves on r75055, improving comment accuracy, and removing useless casting.
Trevor Parscal [Wed, 20 Oct 2010 20:43:30 +0000 (20:43 +0000)]
* Improves on r75054 and r75036 by adding comments and renaming variables
* Fixes issue cased by creating a file module that only contains a list of dependencies.
Sam Reed [Wed, 20 Oct 2010 20:16:46 +0000 (20:16 +0000)]
Few more explicit class variable declarations
Raimond Spekking [Wed, 20 Oct 2010 19:23:57 +0000 (19:23 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-20 19:06:00 UTC)
Roan Kattouw [Wed, 20 Oct 2010 19:13:43 +0000 (19:13 +0000)]
Include $IP in path passed to remap() so filesystem access will work properly
Sam Reed [Wed, 20 Oct 2010 18:50:33 +0000 (18:50 +0000)]
Fix some method documentation
Fix some typos
Some explicit class members
Roan Kattouw [Wed, 20 Oct 2010 14:58:35 +0000 (14:58 +0000)]
Some comment fixes: be consistent between # and //, fix grammar, remove information about internals from Doxygen comment (those are about what the function does, not how). Also make $modules argument to makeModuleResponse() default to array() instead of null
Derk-Jan Hartman [Wed, 20 Oct 2010 14:50:30 +0000 (14:50 +0000)]
Add support to upload WebP files. Disabled by default and no thumbnailing support.
Relates to bug 25397
Jack Phoenix [Wed, 20 Oct 2010 12:11:46 +0000 (12:11 +0000)]
add some braces and trim trailing whitespace
Jack Phoenix [Wed, 20 Oct 2010 12:00:55 +0000 (12:00 +0000)]
coding style tweaks
Brion Vibber [Wed, 20 Oct 2010 06:10:02 +0000 (06:10 +0000)]
Add seleniumserverexecpath and example non-default-PATH Firefox paths for Mac & Win in selenium_settings.ini.sample
Brion Vibber [Wed, 20 Oct 2010 06:03:15 +0000 (06:03 +0000)]
Tweaks to let Selenium tests run on Mac OS X; also make sure we quote the server exec path, as not everybody keeps their directory trees free of spaces! :)
Mark A. Hershberger [Wed, 20 Oct 2010 02:50:36 +0000 (02:50 +0000)]
follow up r75046 — Add getStatus() method to HttpRequest
Trevor Parscal [Wed, 20 Oct 2010 00:25:20 +0000 (00:25 +0000)]
Whitespace, comments and general cleanup.
Trevor Parscal [Wed, 20 Oct 2010 00:22:25 +0000 (00:22 +0000)]
Whitespace, comments and general cleanup.
Trevor Parscal [Tue, 19 Oct 2010 23:47:56 +0000 (23:47 +0000)]
Some cleanup work
Trevor Parscal [Tue, 19 Oct 2010 23:02:15 +0000 (23:02 +0000)]
Whitespace adjustments
Trevor Parscal [Tue, 19 Oct 2010 23:00:52 +0000 (23:00 +0000)]
Fixed remaning use of $this->loaders to use the new naming of $this->loaderScripts
Trevor Parscal [Tue, 19 Oct 2010 22:53:53 +0000 (22:53 +0000)]
Fixed case where tryForKey can sometimes not return an array
Trevor Parscal [Tue, 19 Oct 2010 22:48:52 +0000 (22:48 +0000)]
Refactored ResourceLoaderFileModule, most notably removing the set* methods, which are not in use at the moment, and should only be added when we have a use case for them (API bloat = bad)
Trevor Parscal [Tue, 19 Oct 2010 21:05:07 +0000 (21:05 +0000)]
* Added extendable fallback closure to configuration prototype.
* Renamed configuration to map, since it's being used more generally than just for configurations.
Platonides [Tue, 19 Oct 2010 21:02:03 +0000 (21:02 +0000)]
Remove PHP Notice: Undefined index: usedomain in phase3/includes/templates/Userlogin.php on line 70
Add extradata data for adding fields from an extension.
Trevor Parscal [Tue, 19 Oct 2010 20:59:23 +0000 (20:59 +0000)]
Fixed ResourceLoaderFileModule constructor - collated lists were not being prefixed properly. Also did some renaming to improve consistency.
Antoine Musso [Tue, 19 Oct 2010 20:45:02 +0000 (20:45 +0000)]
documentation, a couple notes about code and some whitespaces adjustements to make code easier to read.
Markus Glaser [Tue, 19 Oct 2010 19:58:58 +0000 (19:58 +0000)]
Follow up r74753, removed pass-by-references and @ operator
Raimond Spekking [Tue, 19 Oct 2010 19:38:34 +0000 (19:38 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-19 19:03:00 UTC)
Markus Glaser [Tue, 19 Oct 2010 19:38:30 +0000 (19:38 +0000)]
Follow up r74750, array keys should be strings
Sam Reed [Tue, 19 Oct 2010 18:40:43 +0000 (18:40 +0000)]
Followup r74988, brion wins again ;D
Trevor Parscal [Tue, 19 Oct 2010 18:31:09 +0000 (18:31 +0000)]
Part 2 of 2, moved ResourceLoader*Module classes to their own files - this commit removes the non file specific code.
Trevor Parscal [Tue, 19 Oct 2010 18:25:42 +0000 (18:25 +0000)]
Part 1 of 2, moving ResourceLoader*Module classes to their own files - this commit copies the ResourceLoaderModules.php file to each of the new files, as to maintain revision history. The next revision will remove non file specific code.
Trevor Parscal [Tue, 19 Oct 2010 18:21:38 +0000 (18:21 +0000)]
Moved ResourceLoader classes to their own folder, preparing to also split ResourceLoaderModule.php into multiple files (it's getting a bit long now)
Trevor Parscal [Tue, 19 Oct 2010 17:52:01 +0000 (17:52 +0000)]
Reverts r75018, and does what that commit was supposed to do.
Trevor Parscal [Tue, 19 Oct 2010 17:48:41 +0000 (17:48 +0000)]
Improves on r74964 by including PHP warnings emitted during a ResourceLoader response in a comment at the end of the response - only while in debug mode.
Niklas Laxström [Tue, 19 Oct 2010 08:27:13 +0000 (08:27 +0000)]
Temp fix for r74966 to stop causing errors everywhere
Antoine Musso [Tue, 19 Oct 2010 06:27:25 +0000 (06:27 +0000)]
Follow up r74962, debug messages should be splitted.
This is to avoid log mess with concurrent accesses and to allow logging between the messages.
Makes the message more readeable:
Connecting to localhost wikidb...
Connected to localhost wikidb.
Connection failed to localhost wikidb.