Sam Reed [Thu, 4 Nov 2010 13:20:58 +0000 (13:20 +0000)]
Fixup r75999, add missing ./PhpStorm-98.240/bin/webide.sh Wheee r76000
Sam Reed [Thu, 4 Nov 2010 13:10:38 +0000 (13:10 +0000)]
* (bug 25760) counter property still reported by the API when wgDisableCounters enabled. If it's enabled, don't request counter information, and just display , to avoid breaking any backwards compatability
Sam Reed [Thu, 4 Nov 2010 13:07:57 +0000 (13:07 +0000)]
Capitalise first letters
Raimond Spekking [Thu, 4 Nov 2010 11:08:00 +0000 (11:08 +0000)]
Follow-up r75996: Forgotten to remove an old line
Raimond Spekking [Thu, 4 Nov 2010 11:06:51 +0000 (11:06 +0000)]
* Special:Search: Add CSS classes to 'none found' and 'create link' messages
Raimond Spekking [Thu, 4 Nov 2010 09:23:38 +0000 (09:23 +0000)]
Follow-up r75906: Add new special page to $specialPageAliases too
Fixes PHP Notice: Did not find alias for special page 'UploadStash'. Perhaps no aliases are defined for it?
Tim Starling [Thu, 4 Nov 2010 07:53:37 +0000 (07:53 +0000)]
* Introduced Xml::encodeJsCall(), to replace the awkward repetitive code that was doing the same thing throughout the resource loader with varying degrees of security and correctness.
* Modified Xml::encodeJsVar() to allow it to pass through JS expressions without encoding, using a special object.
* In ResourceLoader::makeModuleResponse(), renamed $messages to $messagesBlob to make it clear that it's JSON-encoded, not an array.
* Fixed MessageBlobStore to store {} for an empty message array instead of [].
* In ResourceLoader::makeMessageSetScript(), fixed call to non-existent function mediaWiki.msg.set.
* For security, changed the calling convention of makeMessageSetScript() and makeLoaderImplementScript() to require explicit object construction of XmlJsCode() before interpreting their input as JS code.
* Documented several ResourceLoader static functions.
* In ResourceLoaderWikiModule, for readability, reduced the indenting level by flipping some if blocks and adding continue statements.
* In makeCustomLoaderScript(), allow non-numeric $version. The only caller I can find is already sending a non-numeric $version, presumably it was broken. Luckily there aren't any loader scripts in existence, I had to make one to test it.
* wfGetDb -> wfGetDB
* Added an extra line break in the startup module output, for readability.
* In ResourceLoaderStartUpModule::getModuleRegistrations(), fixed another assignment expression
Sam Reed [Thu, 4 Nov 2010 02:04:47 +0000 (02:04 +0000)]
bug 24132, apply documentation updates to dumpBackup.php
Slightly modified patch by Jonathan Wiltshire
Sam Reed [Thu, 4 Nov 2010 01:59:26 +0000 (01:59 +0000)]
Minor expansion of document. Per patch by Jonathan Wiltshire on bug 24132
Sam Reed [Thu, 4 Nov 2010 00:55:30 +0000 (00:55 +0000)]
Followup r28029, we should probably at least pay attention to the parameter...
Derk-Jan Hartman [Thu, 4 Nov 2010 00:35:29 +0000 (00:35 +0000)]
* The SVGMetadataExtractor now based on XmlReader
* Retrieve title and desc of SVG files
* Retrieve metadata in raw form (not displayed)
* Detect SVG animations using SVG animation elements (http://www.w3.org/TR/SVG/animate.html)
Raimond Spekking [Wed, 3 Nov 2010 20:28:35 +0000 (20:28 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-03 20:05:00 UTC)
Max Semenik [Wed, 3 Nov 2010 17:04:56 +0000 (17:04 +0000)]
CDB support: never refer to it as just "DB" in messages, it confuses people
Sam Reed [Wed, 3 Nov 2010 17:01:21 +0000 (17:01 +0000)]
Tab out for alignment, and normalise capitalisation of first letters
Platonides [Wed, 3 Nov 2010 16:42:19 +0000 (16:42 +0000)]
Follow up r75906.
Those RandomImageGenerator exceptions are not nice. Skip the tests if you have no dictionaries.
Change spaces to tabs.
Place ApiUploadTest in Database and Destructive groups
Mark testGetParserCacheKeyWithDynamicDates() added in r75838 as needed a db
Chad Horohoe [Wed, 3 Nov 2010 13:55:22 +0000 (13:55 +0000)]
Per CR, revert r75873. Does not match docs
Sam Reed [Wed, 3 Nov 2010 13:00:24 +0000 (13:00 +0000)]
Tab out siprop, so they are a bit more aligned
Chad Horohoe [Wed, 3 Nov 2010 12:49:21 +0000 (12:49 +0000)]
Cleanup r65183, fix ugly stylize.php formatting
Chad Horohoe [Wed, 3 Nov 2010 12:41:46 +0000 (12:41 +0000)]
Fix r69721: SQLite yells at you if you try to drop an index that doesn't exist; which might be the case considering how many times these indexes were renamed and dropped. Per r73758, put IF EXISTS on them--it certainly can't hurt.
Chad Horohoe [Wed, 3 Nov 2010 12:07:04 +0000 (12:07 +0000)]
Add general note about new installer to R-L, as well as mention a bunch of the bugs fixed
Chad Horohoe [Wed, 3 Nov 2010 11:53:46 +0000 (11:53 +0000)]
Only show one message when not using intl or utf8_normalize, looks cleaner
Tim Starling [Wed, 3 Nov 2010 07:58:03 +0000 (07:58 +0000)]
Resource loader minor changes. Fix for r73668 etc.
* Break long lines.
* Convert long or unnecessary ternary operator usages to if/else.
* Fixed excessively clever assignment expressions.
* Rename $cache to $cacheEntry.
* Removed unnecessary web invocation guards. Their perlish form was making me uncomfortable. BTW, unlike in Perl, die() is not a function, it's a special case in the PHP grammar which very roughly simulates the Perl syntax:
die "x"; // works
0 || die("x"); // works
0 || (die); // works
0 || (die "x"); // fail!
Neil Kandalgaonkar [Wed, 3 Nov 2010 04:32:41 +0000 (04:32 +0000)]
core changes for UploadWizard (merged from r73549 to HEAD in branches/uploadwizard/phase3)
Chad Horohoe [Tue, 2 Nov 2010 21:19:05 +0000 (21:19 +0000)]
Followup r65070, remove last instance of editwidth pref
Antoine Musso [Tue, 2 Nov 2010 20:39:20 +0000 (20:39 +0000)]
Fix misinterpration of HTML5 specification for email validation.
Follow up: r75670 (JS), r75682 (PHP)
Raimond Spekking [Tue, 2 Nov 2010 20:33:38 +0000 (20:33 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-02 20:14:00 UTC)
Chad Horohoe [Tue, 2 Nov 2010 20:26:43 +0000 (20:26 +0000)]
Fixup r75858, copy+paste error
Chad Horohoe [Tue, 2 Nov 2010 20:18:15 +0000 (20:18 +0000)]
Cleanup r49493, r72481: Adding skin to $wgHiddenPrefs disabled the useskin parameter
Rotem Liss [Tue, 2 Nov 2010 20:11:28 +0000 (20:11 +0000)]
Localization update for he.
Chad Horohoe [Tue, 2 Nov 2010 19:08:04 +0000 (19:08 +0000)]
Followup r75832, use shorthand
Chad Horohoe [Tue, 2 Nov 2010 17:11:35 +0000 (17:11 +0000)]
Followup r70207, make path for LocalSettings.php configurable
Chad Horohoe [Tue, 2 Nov 2010 16:32:24 +0000 (16:32 +0000)]
Rename env check to be more like the others
Max Semenik [Tue, 2 Nov 2010 15:52:10 +0000 (15:52 +0000)]
Fix bug caused by variable reuse from r71902
Sam Reed [Tue, 2 Nov 2010 13:55:08 +0000 (13:55 +0000)]
Add bug 25748 for the work in r75334 to RELEASE-NOTES
Derk-Jan Hartman [Mon, 1 Nov 2010 23:57:09 +0000 (23:57 +0000)]
* Moving wfGetSVGSize() and wfScaleSVGUnit() into a seperate SVGMetadataExtractor.
* SVG metadata is now stored and versioned.
Chosing not to provide fallback for these functions as they seem unused outside of SVG.php (per Google) and grep.
Priyanka Dhanda [Mon, 1 Nov 2010 23:00:53 +0000 (23:00 +0000)]
Using getDateFormat instead of mDateFormat in ParserOptions::optionsHash. This was causing parser cache misses when using ApiParse
Brandon Harris [Mon, 1 Nov 2010 21:37:04 +0000 (21:37 +0000)]
Actually add the two new keys.
Brandon Harris [Mon, 1 Nov 2010 21:17:15 +0000 (21:17 +0000)]
* Added tipsy library
* Added associated files for tooltip display
* Added associated css rules for tooltip display
* Updated installer's help system in (most?) places to display help as tooltips instead of show/hide system
* Beginnings of visual changes (e.g., less boxes, more color)
* Modified several of the installer's widget display methods
* Added a couple new i18n values
* Fixed small bug in installer logic:
- Password validation on new users was being executed even if there wasn't a $user object
Raimond Spekking [Mon, 1 Nov 2010 20:51:37 +0000 (20:51 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-01 20:01:00 UTC)
Roan Kattouw [Mon, 1 Nov 2010 20:48:30 +0000 (20:48 +0000)]
(bug 25573) Send Cache-Control: must-revalidate in debug mode
Roan Kattouw [Mon, 1 Nov 2010 20:35:54 +0000 (20:35 +0000)]
(bug 25610) Put ResourceLoader in debug mode when resourceLoaderDebug cookie is present and set to something that evaluates to true in PHP. The ?debug= request parameter, if present, overrides this, and both override $wgResourceLoaderDebugMode
Max Semenik [Mon, 1 Nov 2010 20:14:46 +0000 (20:14 +0000)]
Made rebuildtextindex.php bail out if search is not supported.
Max Semenik [Mon, 1 Nov 2010 19:51:36 +0000 (19:51 +0000)]
Follow-up r68127: honor table prefix, perverted though it may seem on SQLite.
Max Semenik [Mon, 1 Nov 2010 19:38:08 +0000 (19:38 +0000)]
rebuildtextindex.php: don't output the initial progress of 0, it's misleading.
Derk-Jan Hartman [Mon, 1 Nov 2010 19:36:29 +0000 (19:36 +0000)]
Follow up r75749. Fixes a case with a linked thumbnail of a non-existant image.
Apparently makeThumbLink2() does handle non-existing files.
Raimond Spekking [Mon, 1 Nov 2010 19:00:40 +0000 (19:00 +0000)]
Follow-up r75748: Fix comment
OverlordQ [Mon, 1 Nov 2010 18:58:24 +0000 (18:58 +0000)]
Revert r69337 (Removal of minordefault preference)
Platonides [Mon, 1 Nov 2010 18:23:33 +0000 (18:23 +0000)]
Modified the tests so that a database is not unnecessarily required.
Database group for tests needing a db. The other tests should be runnable without a server running!
Destructive group for tests which modify the db.
Added two more actions to the makefile: safe and databaseless
Sam Reed [Mon, 1 Nov 2010 18:14:45 +0000 (18:14 +0000)]
* (bug 25741) Add more data to list=search's srprop. Patch by Brad Jorsch
Platonides [Mon, 1 Nov 2010 18:05:35 +0000 (18:05 +0000)]
Use group names with capital letter.
Platonides [Mon, 1 Nov 2010 17:28:03 +0000 (17:28 +0000)]
Add a new group destructive.
Spacing.
Priyanka Dhanda [Mon, 1 Nov 2010 16:29:24 +0000 (16:29 +0000)]
Moving the SimpleSelenium tests into the suites sub dir r75311
Priyanka Dhanda [Mon, 1 Nov 2010 16:28:03 +0000 (16:28 +0000)]
Removing these files so that I can move them with history :P r75311
Krinkle [Mon, 1 Nov 2010 15:53:21 +0000 (15:53 +0000)]
Follow-up r75762; deleted rightclickedit.js
* Removed now obsolete mediawiki.legacy.rightclickedit. Replaced by mediawiki.advanced.rightclickedit r 75762
Roan Kattouw [Mon, 1 Nov 2010 15:52:08 +0000 (15:52 +0000)]
(bug 25717) Fix "Hide/show extended details" toggle in image metadata table
Krinkle [Mon, 1 Nov 2010 15:32:51 +0000 (15:32 +0000)]
Follow-up r75762
Chad Horohoe [Mon, 1 Nov 2010 15:12:44 +0000 (15:12 +0000)]
Revert r69360 (adding ob_flush() to WebInstallerOutput::flush()). Per CR, this doesn't seem necessary and actually causes a regression for some environments. In other news: I hate PHP output buffering and I don't feel like digging back into this right now.
Roan Kattouw [Mon, 1 Nov 2010 14:31:32 +0000 (14:31 +0000)]
(bug 25735) Fix regex error in PHP < 5.2.2 by using old (?P<name>) syntax for named subpatterns. Patch by Paul Oranje.
Chad Horohoe [Mon, 1 Nov 2010 14:29:17 +0000 (14:29 +0000)]
Add sanity checkbox for external HTTP requests
Roan Kattouw [Mon, 1 Nov 2010 14:26:22 +0000 (14:26 +0000)]
Whitespace fix
Roan Kattouw [Mon, 1 Nov 2010 14:25:47 +0000 (14:25 +0000)]
Indentation fix
Platonides [Mon, 1 Nov 2010 13:27:22 +0000 (13:27 +0000)]
Spaces
Derk-Jan Hartman [Mon, 1 Nov 2010 13:25:41 +0000 (13:25 +0000)]
Simple search. When setting background color, also define text color.
Fixes bug 24605
Sam Reed [Mon, 1 Nov 2010 11:57:23 +0000 (11:57 +0000)]
Followup r75641, improve function documentation
Chad Horohoe [Mon, 1 Nov 2010 11:50:00 +0000 (11:50 +0000)]
Followup r75753, combine these into one if block
Antoine Musso [Mon, 1 Nov 2010 11:21:51 +0000 (11:21 +0000)]
Follow up r75627 : addModule() is enough.
Derk-Jan Hartman [Mon, 1 Nov 2010 00:14:21 +0000 (00:14 +0000)]
Avoid unnecessary linebreaks in difflines. Fixes bug 25725
Sam Reed [Mon, 1 Nov 2010 00:10:00 +0000 (00:10 +0000)]
Fix minor semi colon fail from r75767
Sam Reed [Mon, 1 Nov 2010 00:07:17 +0000 (00:07 +0000)]
bug 25517 Assignment in conditions should be avoided/ mediawiki.org/wiki/Manual:Coding_conventions#Assignment_expressions
Sam Reed [Mon, 1 Nov 2010 00:03:09 +0000 (00:03 +0000)]
Fixup undefined $this->id
Fix assignment in conditional
Sam Reed [Sun, 31 Oct 2010 23:54:30 +0000 (23:54 +0000)]
Followup r75758, spaces to tabs
Jack Phoenix [Sun, 31 Oct 2010 23:48:26 +0000 (23:48 +0000)]
follow-up to r75761: coding style tweaks
Sam Reed [Sun, 31 Oct 2010 23:46:35 +0000 (23:46 +0000)]
Update a few deprecated method calls
Krinkle [Sun, 31 Oct 2010 23:42:08 +0000 (23:42 +0000)]
Adding mediawiki.advanced.rightclickedit.js
* Removing loadhook from legacy rightclickedit.js
* Replacing module adder in OutputPage
* Define mediawiki.advanced.rightclickedit module
Platonides [Sun, 31 Oct 2010 23:30:41 +0000 (23:30 +0000)]
Change wfTimestamp() to an array() and add a bunch of timestamp tests hard for 32 bit php.
Intended to ease transition to DateTime. See r74778 and Bug 25451
Sam Reed [Sun, 31 Oct 2010 23:19:40 +0000 (23:19 +0000)]
Remove a few more unused variables
Add a couple of braces to unobvious if
Sam Reed [Sun, 31 Oct 2010 23:14:24 +0000 (23:14 +0000)]
userNotPrivilegedMessage being called with no parameter. Guessing it needs to be the missing right...?
Sam Reed [Sun, 31 Oct 2010 23:08:38 +0000 (23:08 +0000)]
Switch last few uses of while loops to foreach in phase3
Siebrand Mazeland [Sun, 31 Oct 2010 22:36:13 +0000 (22:36 +0000)]
Use message 'savearticle' instead of plain text in 'explainconflict'.
Platonides [Sun, 31 Oct 2010 22:25:29 +0000 (22:25 +0000)]
Don't increment stats when called from the scripts.
This avoids things like PHPUnit opening a db connection just for this due to the default SqDlBagOStuff.
Krinkle [Sun, 31 Oct 2010 22:20:05 +0000 (22:20 +0000)]
Follow-up r75653 + replacing this. with mw.util
Derk-Jan Hartman [Sun, 31 Oct 2010 22:10:44 +0000 (22:10 +0000)]
Use isset to protect against Undefined index PHP notice.
Derk-Jan Hartman [Sun, 31 Oct 2010 21:53:29 +0000 (21:53 +0000)]
Upscale thumbnails of SVGs if the nominal size of the SVG is smaller than the thumbnail size.
Fixes bug 19633. Requires r75748
Derk-Jan Hartman [Sun, 31 Oct 2010 21:49:25 +0000 (21:49 +0000)]
Add a new isVectorized() to files and media handlers. Only SVG returns true.
Related to Bug 19633.
Rotem Liss [Sun, 31 Oct 2010 19:12:47 +0000 (19:12 +0000)]
Localization update for he.
Platonides [Sun, 31 Oct 2010 19:07:05 +0000 (19:07 +0000)]
Follow up r75542, in the odd case that Maintenance.php wasn't already loaded.
Derk-Jan Hartman [Sun, 31 Oct 2010 18:22:37 +0000 (18:22 +0000)]
Using isset to check for index value. Avoids a PHP notice.
Platonides [Sun, 31 Oct 2010 18:19:02 +0000 (18:19 +0000)]
Remove call to deprecated $wgOut->includeJQuery();
Platonides [Sun, 31 Oct 2010 18:17:56 +0000 (18:17 +0000)]
A couple of Xml::hidden calls left by r75723
Siebrand Mazeland [Sun, 31 Oct 2010 17:55:47 +0000 (17:55 +0000)]
Localisation updates from translatewiki.net
Niklas Laxström [Sun, 31 Oct 2010 17:23:33 +0000 (17:23 +0000)]
Correct eo date format according to bertilow.com/pmeg/gramatiko/nombroj/datoj.html#i-cs4
Reported by AVRS via IRC
Sam Reed [Sun, 31 Oct 2010 16:33:48 +0000 (16:33 +0000)]
More deprecated method calls
Sam Reed [Sun, 31 Oct 2010 16:20:48 +0000 (16:20 +0000)]
Update deprecated method calls
Remove some unused stuff
Platonides [Sun, 31 Oct 2010 15:35:01 +0000 (15:35 +0000)]
Remove unused globals.
Philip Tzou [Sun, 31 Oct 2010 15:12:34 +0000 (15:12 +0000)]
Followup r75719. Typo.
Philip Tzou [Sun, 31 Oct 2010 15:09:27 +0000 (15:09 +0000)]
Followup r75617. Fix spelling mistake.
Alexandre Emsenhuber [Sun, 31 Oct 2010 14:28:44 +0000 (14:28 +0000)]
* Fixed some doxygen warnings
* Made documentation cosistent with the rest of the software
Alexandre Emsenhuber [Sun, 31 Oct 2010 11:47:03 +0000 (11:47 +0000)]
* (bug 25642) A exception is now thrown instead of a fatal error when using $wgSMTP without PEAR mail package
Patch by Dmitriy (http://bug-attachment.wikimedia.org/attachment.cgi?id=7754) with correction
Alexandre Emsenhuber [Sun, 31 Oct 2010 10:12:06 +0000 (10:12 +0000)]
Added missing calls to setHeaders() and outputHeader()
Alexandre Emsenhuber [Sun, 31 Oct 2010 09:36:48 +0000 (09:36 +0000)]
* (bug 23731) Clarified "n links" message on Special:MostLinkedTemplates