Alexandre Emsenhuber [Sun, 26 Sep 2010 16:37:00 +0000 (16:37 +0000)]
* (bug 25292) SkinSubPageSubtitle hook now passes the Skin object as second parameter
Antoine Musso [Sun, 26 Sep 2010 15:52:51 +0000 (15:52 +0000)]
update my personal email address altern.org -> free.fr
Raimond Spekking [Sat, 25 Sep 2010 19:37:18 +0000 (19:37 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-25 19:25:00 UTC)
Max Semenik [Sat, 25 Sep 2010 17:45:00 +0000 (17:45 +0000)]
A few index-related fixes in SQLite DB patches, ping r66920.
The need to drop index patch-rename-iwl_prefix.sql arose from development versions that had discrepancies between tables.sql and updater. Let's just DROP IF EXISTS it.
Sam Reed [Sat, 25 Sep 2010 17:17:27 +0000 (17:17 +0000)]
Add missing @'s to r73753, document return type
Sam Reed [Sat, 25 Sep 2010 17:08:23 +0000 (17:08 +0000)]
$name used in continue is undefined, use $message
Though, this module seems to have no limits, so not sure why we have a continue/"from"
Sam Reed [Sat, 25 Sep 2010 17:01:17 +0000 (17:01 +0000)]
extract is weird
Do what extract is doing explicitally
Platonides [Sat, 25 Sep 2010 16:58:32 +0000 (16:58 +0000)]
Revert r73587 and fix r62087 regression by providing the default value in $comment definition.
This not only fixes the issue of line 189, but also the one at line 156.
Sam Reed [Sat, 25 Sep 2010 16:56:03 +0000 (16:56 +0000)]
Remove some unused keys from foreach
Documentation tweaks
Sam Reed [Sat, 25 Sep 2010 16:45:41 +0000 (16:45 +0000)]
Fill in missing params from a dieUsage
Braces
Fixup parameter documentation
Sam Reed [Sat, 25 Sep 2010 16:38:44 +0000 (16:38 +0000)]
What's a boolif?
Sam Reed [Sat, 25 Sep 2010 16:37:39 +0000 (16:37 +0000)]
Remove some unused variables
Tweak php doc, "One" is not a type, so insert string in there
Antoine Musso [Sat, 25 Sep 2010 16:09:16 +0000 (16:09 +0000)]
adds testing for IP and Xml classes
Antoine Musso [Sat, 25 Sep 2010 16:08:24 +0000 (16:08 +0000)]
comment typo
Trevor Parscal [Fri, 24 Sep 2010 22:10:25 +0000 (22:10 +0000)]
* Fixed bug #25281 by adding special treatment for modules in the "private" group
* Added $wgResourceLoaderInlinePrivateModules to allow private modules to be either embedded in the HTML output or accessed through ResourceLoader (which will bypass squid cache and check the user paramter against $wgUser)
* Moved more generated javascript functionality to ResourceLoader
* Fixed comment typo made in r73673
* Added documentation for ResoruceLoaderRegisterModules hook
Trevor Parscal [Fri, 24 Sep 2010 21:03:29 +0000 (21:03 +0000)]
Moved more generated javascript to ResourceLoader functions. Cleaned some things up in the startup module.
Roan Kattouw [Fri, 24 Sep 2010 20:01:52 +0000 (20:01 +0000)]
Support ESI in the resource loader. Only used for the startup module for now, we'll have to think our ESI strategy through before expanding on that
Raimond Spekking [Fri, 24 Sep 2010 19:22:35 +0000 (19:22 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-24 19:02:00 UTC)
Trevor Parscal [Fri, 24 Sep 2010 18:49:19 +0000 (18:49 +0000)]
* Moved registration generation to startup module.
* Moved some javascript code generation to reusable functions (more to do).
* Reduced the code output by using mutliple calling method for mediaWiki.loader.state.
* Moved CSS minification to the end (should be a bit faster than running it for each module).
Roan Kattouw [Fri, 24 Sep 2010 18:16:59 +0000 (18:16 +0000)]
Fix r73645: also do negative caching
Trevor Parscal [Fri, 24 Sep 2010 17:31:40 +0000 (17:31 +0000)]
Added early exits when files are used before webstart
Trevor Parscal [Fri, 24 Sep 2010 17:19:27 +0000 (17:19 +0000)]
Fixed issue in r73645 where an unset value was being returned in some cases.
Matthew Britton [Fri, 24 Sep 2010 14:40:18 +0000 (14:40 +0000)]
reimplement r73652 having actually read coding conventions this time
Matthew Britton [Fri, 24 Sep 2010 13:00:46 +0000 (13:00 +0000)]
API: sinumberingroup now gives correct size of 'user' group, and omits size of implicit groups rather than showing 0.
Trevor Parscal [Thu, 23 Sep 2010 21:23:51 +0000 (21:23 +0000)]
Improved the performance of ResourceLoader by pre-loading module information in a batch query. This was mostly code written by catrope and patched in / gotten working by me.
Raimond Spekking [Thu, 23 Sep 2010 19:45:46 +0000 (19:45 +0000)]
Follow-up r73632: Fix typo
Alexandre Emsenhuber [Thu, 23 Sep 2010 19:41:29 +0000 (19:41 +0000)]
Fixed some doxygen warnings
Max Semenik [Thu, 23 Sep 2010 19:39:32 +0000 (19:39 +0000)]
Fixed a glitch from r73632
Max Semenik [Thu, 23 Sep 2010 19:36:06 +0000 (19:36 +0000)]
Special:Version now displays whether a SQLite database supports full-text search
Raimond Spekking [Thu, 23 Sep 2010 19:30:38 +0000 (19:30 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-23 19:15:00 UTC)
Niklas Laxström [Thu, 23 Sep 2010 19:15:58 +0000 (19:15 +0000)]
(bug 25273) Message::params() triggers a fatal error.
Patch by hashar.
Trevor Parscal [Thu, 23 Sep 2010 18:08:20 +0000 (18:08 +0000)]
Fixed typo pointed out by Icefox - thanks! See comments for r73499.
Matthew Britton [Thu, 23 Sep 2010 10:46:08 +0000 (10:46 +0000)]
follow up r72387: using ApiQuery here breaks ApiParamInfo (bug 25248)
Andrew Garrett [Thu, 23 Sep 2010 06:18:46 +0000 (06:18 +0000)]
Replace $ with $j in ajaxwatch.js, was causing fatal JS errors on pages for me. (resourceloader-related issue?)
OverlordQ [Thu, 23 Sep 2010 02:59:07 +0000 (02:59 +0000)]
Fix regression caused by r62087 which failed to insert rows into the image table due to null comment.
Also correct indefinite/infinite/infinity protection.
Trevor Parscal [Wed, 22 Sep 2010 21:49:31 +0000 (21:49 +0000)]
* Optimized watch star sprite (only linking to the the image once rather than 4 times, makes data-URLs more efficient)
* Removed version numbers from links
Priyanka Dhanda [Wed, 22 Sep 2010 21:23:21 +0000 (21:23 +0000)]
Followup to r73500. SeleniumTestConfig renamed to SeleniumConfig. Make sure SELENIUMTEST is defined to use it.
Fixed some indents and pass by reference warnings
Raimond Spekking [Wed, 22 Sep 2010 21:05:23 +0000 (21:05 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-22 20:51:00 UTC)
Trevor Parscal [Wed, 22 Sep 2010 20:44:12 +0000 (20:44 +0000)]
* Added $wgResourceLoaderDebug, a default fallback for debug mode which can be overridden by the debug URL parameter a la $wgLanguageCode
* Merged $wgResourceLoader(Unv|V)ersioned(Client|Server)Maxage vars into $wgResourceLoaderMaxage, which contains an array of the same values.
Trevor Parscal [Wed, 22 Sep 2010 20:15:31 +0000 (20:15 +0000)]
* Added WebRequest::getFuzzyBool, which is a more JavaScript friendly version of getBool. Essentailly the same thing, except the string 'false' is also considered boolean false.
* Made use of getFuzzyBool where otherwise awkward and sometimes varied versions of 'flase' === false detection were being used.
Trevor Parscal [Wed, 22 Sep 2010 20:11:30 +0000 (20:11 +0000)]
Actually improves on fix for bug #25246 by reducing the power of the foreground color rule - it was overriding the placeholder class. This corrects a mistake made in r73562.
Chad Horohoe [Wed, 22 Sep 2010 19:19:47 +0000 (19:19 +0000)]
Skip new object construction if it's going to be the same
Trevor Parscal [Wed, 22 Sep 2010 19:15:53 +0000 (19:15 +0000)]
Improves on fix for bug #25246 by reducing the power of the foreground color rule - it was overriding the placeholder class.
Chad Horohoe [Wed, 22 Sep 2010 19:09:14 +0000 (19:09 +0000)]
Fix dupe title construction, reported by ymas on IRC
Trevor Parscal [Wed, 22 Sep 2010 18:36:57 +0000 (18:36 +0000)]
Resolves bug #25246 by adding an explicit foreground color to the search box.
Trevor Parscal [Wed, 22 Sep 2010 18:30:32 +0000 (18:30 +0000)]
Removed extra "Msg" string being appended to message names, which was a remanant of the old code. This fixes bug #25251
Trevor Parscal [Wed, 22 Sep 2010 18:03:29 +0000 (18:03 +0000)]
Fixed check for mediaWiki existance and removed additional unneeded wrapping in mediaWiki.loader.using calls as per comments on r73499.
Platonides [Wed, 22 Sep 2010 16:50:09 +0000 (16:50 +0000)]
Fix bug from r68337. The variable is called $res, not $result
Platonides [Wed, 22 Sep 2010 16:06:27 +0000 (16:06 +0000)]
No need of $wgMemc after r73386.
Change the comment added in r73260 so that it doesn't look that relying on how previous tests set the globals is ever acceptable.
Chad Horohoe [Wed, 22 Sep 2010 13:54:53 +0000 (13:54 +0000)]
Followup r71961, more php4 constructors
Roan Kattouw [Wed, 22 Sep 2010 12:04:24 +0000 (12:04 +0000)]
Revert r73510 (trunk version of r73511 ; missed the fact that the latter was a merge). Disabling API modules has been possible since r41268 and is documented at mediawiki.org/wiki/API:Restricting_API_usage#Disabling_modules
Tim Starling [Wed, 22 Sep 2010 08:14:19 +0000 (08:14 +0000)]
Allow API modules to be disabled in configuration. To replace WMF live hack (see bug 25238).
Max Semenik [Wed, 22 Sep 2010 07:42:59 +0000 (07:42 +0000)]
Class doesn't exist anymore
Max Semenik [Wed, 22 Sep 2010 07:37:28 +0000 (07:37 +0000)]
Fixed PHP4-isms
Priyanka Dhanda [Wed, 22 Sep 2010 00:16:43 +0000 (00:16 +0000)]
RunSeleniumTests.php: Cleaned up a few options that this script takes. Settings are now through a file passed into seleniumConfig or via a hook SeleniumSettings. Reasonable default values when some value is not found.
Trevor Parscal [Wed, 22 Sep 2010 00:05:29 +0000 (00:05 +0000)]
Removed unneeded mediaWiki.loader.using wrapper which got the old toolbar working again. Fixes bug #25239.
Alexandre Emsenhuber [Tue, 21 Sep 2010 20:33:40 +0000 (20:33 +0000)]
Made file description header consistent with other ones
Alexandre Emsenhuber [Tue, 21 Sep 2010 20:11:40 +0000 (20:11 +0000)]
Fixed some doxygen warnings
Raimond Spekking [Tue, 21 Sep 2010 18:57:55 +0000 (18:57 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-21 18:45:00 UTC)
Roan Kattouw [Tue, 21 Sep 2010 13:12:11 +0000 (13:12 +0000)]
Typo fix
Sam Reed [Tue, 21 Sep 2010 06:55:49 +0000 (06:55 +0000)]
Braces, spaces, and a few unused arrays
Trevor Parscal [Mon, 20 Sep 2010 23:48:27 +0000 (23:48 +0000)]
Removed unused scripts.
Trevor Parscal [Mon, 20 Sep 2010 23:34:49 +0000 (23:34 +0000)]
Removed unused scripts.
Trevor Parscal [Mon, 20 Sep 2010 23:32:28 +0000 (23:32 +0000)]
Implemented request grouping on the client.
Trevor Parscal [Mon, 20 Sep 2010 21:54:15 +0000 (21:54 +0000)]
Using new group feature of ResourceLoaderModule objects rather than ugly hacking when generating ResourceLoader requests in output page.
Trevor Parscal [Mon, 20 Sep 2010 21:23:29 +0000 (21:23 +0000)]
Added group functionality to ResourceLoaderModule objects. Also fixed a bug that was registering non-ResourceLoaderFileModule objects incorrectly in the startup script.
Raimond Spekking [Mon, 20 Sep 2010 20:03:28 +0000 (20:03 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-20 19:55:00 UTC)
Trevor Parscal [Mon, 20 Sep 2010 19:20:55 +0000 (19:20 +0000)]
Changed profile property names - this should be the stable API from now on.
Trevor Parscal [Mon, 20 Sep 2010 19:12:28 +0000 (19:12 +0000)]
fixed comment
Trevor Parscal [Mon, 20 Sep 2010 19:04:16 +0000 (19:04 +0000)]
Fixed bug caused by unset( $this->mSkin ) in User::setOption which was removing the member, not just setting it to null, which would cause errors when later on checking if ( ! $this->mSkin ) such as in User::getSkin. By using $this->mSkin = null instead, the same effect of showing the new skin preference immediately on change in Special:Preferences without causing errors.
Trevor Parscal [Mon, 20 Sep 2010 17:54:30 +0000 (17:54 +0000)]
Fixed issues in r72940 - missing $ in release notes and remnant of ResourceLoaderUserPreferencesModule which is now ResourceLoaderUserOptionsModule
Priyanka Dhanda [Mon, 20 Sep 2010 17:23:34 +0000 (17:23 +0000)]
As per Nikerabbit's comment in r73260, is not needed by MessageCache
Sam Reed [Mon, 20 Sep 2010 14:32:38 +0000 (14:32 +0000)]
Remove some unused variables
Add some braces
Niklas Laxström [Mon, 20 Sep 2010 13:35:51 +0000 (13:35 +0000)]
Coding style
Rotem Liss [Mon, 20 Sep 2010 13:30:47 +0000 (13:30 +0000)]
Localization update for he.
Niklas Laxström [Mon, 20 Sep 2010 13:27:40 +0000 (13:27 +0000)]
Remove double escaping
Niklas Laxström [Mon, 20 Sep 2010 13:24:31 +0000 (13:24 +0000)]
Fix to language handling
Sam Reed [Mon, 20 Sep 2010 13:24:16 +0000 (13:24 +0000)]
Add missing parameter to lockTables
Add some braces
Chad Horohoe [Sun, 19 Sep 2010 23:27:16 +0000 (23:27 +0000)]
Followup r73348, rv unrelated change
Chad Horohoe [Sun, 19 Sep 2010 23:25:57 +0000 (23:25 +0000)]
Followup r70608, don't use master connection just for type check, and use getType() instead of instanceof
Chad Horohoe [Sun, 19 Sep 2010 23:17:21 +0000 (23:17 +0000)]
Followup r70138, add message descriptions
Raimond Spekking [Sun, 19 Sep 2010 20:17:24 +0000 (20:17 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-19 19:57:00 UTC)
Chad Horohoe [Sun, 19 Sep 2010 17:42:15 +0000 (17:42 +0000)]
Get rid of php4ism
Alexandre Emsenhuber [Sun, 19 Sep 2010 16:25:45 +0000 (16:25 +0000)]
For consistency, removed line break
Niklas Laxström [Sun, 19 Sep 2010 15:35:34 +0000 (15:35 +0000)]
Fix for r53290
Max Semenik [Sun, 19 Sep 2010 15:19:38 +0000 (15:19 +0000)]
Fixed DatabaseSqlite::tableName() to avoid prefixing system tables
Niklas Laxström [Sun, 19 Sep 2010 12:12:32 +0000 (12:12 +0000)]
Remove the redundant legend line from recent changes and watchlist. The symbols itself contain tooltips.
Alexandre Emsenhuber [Sun, 19 Sep 2010 11:08:09 +0000 (11:08 +0000)]
Fixed parameter name in documentation
Raimond Spekking [Sat, 18 Sep 2010 19:17:39 +0000 (19:17 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-18 19:01:00 UTC)
Robin Pepermans [Sat, 18 Sep 2010 17:18:40 +0000 (17:18 +0000)]
getHeadLinks() requires a skin parameter (added in r72349 for makeResourceLoaderLink(), although that parameter is not used there)
Alexandre Emsenhuber [Sat, 18 Sep 2010 11:24:45 +0000 (11:24 +0000)]
missing space
Sam Reed [Sat, 18 Sep 2010 09:32:13 +0000 (09:32 +0000)]
Comment out some unreachable code in a test due to explicit return;
Max Semenik [Sat, 18 Sep 2010 08:30:33 +0000 (08:30 +0000)]
Marked UploadFromUrlTest as broken
Niklas Laxström [Sat, 18 Sep 2010 08:28:19 +0000 (08:28 +0000)]
Allow defining sortable value for table cell with data-sort-value.
This should remove the need to hack around with hidden text and the cell content.
Priyanka Dhanda [Fri, 17 Sep 2010 23:36:52 +0000 (23:36 +0000)]
Some changes so that tests don't die silently on ci.
Raimond Spekking [Fri, 17 Sep 2010 19:30:45 +0000 (19:30 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-17 18:55:00 UTC)
Platonides [Fri, 17 Sep 2010 15:07:07 +0000 (15:07 +0000)]
Unused globals.
Platonides [Fri, 17 Sep 2010 14:27:57 +0000 (14:27 +0000)]
Revert change on r73064 for this file.
I had added that locally to stop r68544 breakage, but was not intended for commit.
Tim Starling [Fri, 17 Sep 2010 11:45:49 +0000 (11:45 +0000)]
Minor resource loader changes:
* Broke some long lines, converted some overly complex ternary operators to if()
* Added lots of line breaks into the output, for easier debugging.
* Added profiling for various functions.
* wfGetDb -> wfGetDB
* Fixed escaping in ResourceLoaderStartUpModule::getScript(), escape for JS rather than assuming Html::linkedScript() won't have any bad characters in it.
Niklas Laxström [Fri, 17 Sep 2010 08:10:38 +0000 (08:10 +0000)]
Add exclusive option for runJobs.php