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
Sam Reed [Sat, 30 Oct 2010 21:31:22 +0000 (21:31 +0000)]
Mark a few more methods static
Seems I forgot to commit this
Rotem Liss [Sat, 30 Oct 2010 20:35:05 +0000 (20:35 +0000)]
Localization update for he.
Bryan Tong Minh [Sat, 30 Oct 2010 20:02:53 +0000 (20:02 +0000)]
Follow-up r75702: change physicalSize to physicalDimensions per CR; commented getMediaTransformError function
Raimond Spekking [Sat, 30 Oct 2010 19:24:03 +0000 (19:24 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-31 18:53:00 UTC)
Bryan Tong Minh [Sat, 30 Oct 2010 19:11:30 +0000 (19:11 +0000)]
Follow-up r75702: stylize
Bryan Tong Minh [Sat, 30 Oct 2010 19:04:26 +0000 (19:04 +0000)]
Split BitmapHandler::doTransform in functions: transformImageMagick(), transformCustom() and transformGd(). Pass their parameters as an options array. Put common code lines into separate functions such as getClientScalingThumbnailImage(), getMediaTransformError() and logErrorForExternalProcess(). Tested all three scalers, everything appears to be still working.
Shinjiman [Sat, 30 Oct 2010 18:05:42 +0000 (18:05 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Chad Horohoe [Sat, 30 Oct 2010 17:47:00 +0000 (17:47 +0000)]
Per r75386 CR, use newMainPage()
Chad Horohoe [Sat, 30 Oct 2010 17:28:26 +0000 (17:28 +0000)]
Revert r75654 per CR, doEdit() already takes care of search updates
Chad Horohoe [Sat, 30 Oct 2010 17:20:41 +0000 (17:20 +0000)]
Oracle maintainer should enable E_STRICT ;-)
Chad Horohoe [Sat, 30 Oct 2010 17:17:26 +0000 (17:17 +0000)]
E_STRICT: Function signature should match parent. This newFromParams stuff should be going away soon anyway
Bryan Tong Minh [Sat, 30 Oct 2010 13:03:41 +0000 (13:03 +0000)]
(bug 23732) Clarified "n links" message on Special:MostLinkedFiles
Antoine Musso [Sat, 30 Oct 2010 11:43:03 +0000 (11:43 +0000)]
Follow up r74684 : use default path if MW_INSTALL_PATH is not present.
Philip Tzou [Sat, 30 Oct 2010 05:42:16 +0000 (05:42 +0000)]
Forgot to commit this one. parserTests fix for
r75617 (in trunk/phase3/includes/Title.php).
Antoine Musso [Fri, 29 Oct 2010 22:42:37 +0000 (22:42 +0000)]
Follow up r75682 : fix private function naming.
Fix cruise control build 2010-10-29T22:18:27
Rotem Liss [Fri, 29 Oct 2010 22:38:26 +0000 (22:38 +0000)]
Localization update for he.
Rotem Liss [Fri, 29 Oct 2010 22:35:20 +0000 (22:35 +0000)]
Localization update for he.
Antoine Musso [Fri, 29 Oct 2010 22:03:17 +0000 (22:03 +0000)]
Follow up r75627. Implements r75670 in PHP to validate emails.
* Server side validation of email according to an HTML5 specifications provided by Simetrical :
http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#e-mail-state
* This is NOT a fix of bug 959 (which wants RFC 2822 validation)
* Basic unit tests
Antoine Musso [Fri, 29 Oct 2010 20:44:26 +0000 (20:44 +0000)]
Follow up r75627 (code review comments):
* Replace background coloring with a label insertion on the right or left of input depending on language direction.
* User side validation of email according to an HTML5 specifications provided by Simetrical :
http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#e-mail-state
Code comments should be self explaining.
Possible follows up:
- use JQuery Validation plugin
- make the validation part a mediawiki validation module
- server side validation
Bryan Tong Minh [Fri, 29 Oct 2010 20:33:27 +0000 (20:33 +0000)]
r75621 copy-paste fail
Raimond Spekking [Fri, 29 Oct 2010 19:21:12 +0000 (19:21 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-30 19:05:00 UTC)
Derk-Jan Hartman [Fri, 29 Oct 2010 18:52:59 +0000 (18:52 +0000)]
Switch the hyphen in diff output to actually minus signs.
Derk-Jan Hartman [Fri, 29 Oct 2010 18:42:55 +0000 (18:42 +0000)]
Add updated release notes for r75658
Derk-Jan Hartman [Fri, 29 Oct 2010 18:28:44 +0000 (18:28 +0000)]
Add a nbsp to each empty "diff-marker".
Fixes Bug 25697
Prevent collapsed table row if both pre and post lines in the diff are totally empty.
Chad Horohoe [Fri, 29 Oct 2010 17:26:22 +0000 (17:26 +0000)]
(bug 22308) Search should find text in default main page immediately after setup. Based on patch by Josh Lerner
Krinkle [Fri, 29 Oct 2010 17:11:22 +0000 (17:11 +0000)]
$.client has been enhanced and made easier since the initial version, may aswell be used directly (r75593)
Chad Horohoe [Fri, 29 Oct 2010 16:28:50 +0000 (16:28 +0000)]
(bug 19593) $wgServer can't be set properly with --server attribute in command line tools. Also fixes regression in generateSitemap.php from maintenance rewrite. Also possible workaround for bug 18274.
Shinjiman [Fri, 29 Oct 2010 16:22:43 +0000 (16:22 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Bryan Tong Minh [Fri, 29 Oct 2010 16:19:35 +0000 (16:19 +0000)]
Follow-up r75621: Check for $wgEnableAPI before adding the RSD link to the head
Krinkle [Fri, 29 Oct 2010 15:30:54 +0000 (15:30 +0000)]
white-space cleanup throughout $.client and mw.util and mw.util.test (r75593)
Krinkle [Fri, 29 Oct 2010 15:27:53 +0000 (15:27 +0000)]
adding layoutversion to $.client and isLayoutVersion to mw.util. Follow-up of r75593
Krinkle [Fri, 29 Oct 2010 14:44:18 +0000 (14:44 +0000)]
Follow-up r75577
Sam Reed [Fri, 29 Oct 2010 12:20:11 +0000 (12:20 +0000)]
Followup r75554, functionise Export code, allows for return to be used "non scarily"
Remove some extra blank comment lines
Philip Tzou [Fri, 29 Oct 2010 02:55:37 +0000 (02:55 +0000)]
Fix the LanguageConverterTest to prevent test failures after the changes made on getPreferredVariant() at r75617.
Sam Reed [Thu, 28 Oct 2010 22:56:43 +0000 (22:56 +0000)]
Minor followup to r75621, add whitespace
Add getVersion to ApiFormatXmlRsd
Antoine Musso [Thu, 28 Oct 2010 21:01:56 +0000 (21:01 +0000)]
Lame user side email validator using JQuery.
See bug 22449 : MediaWiki should do validation of e-mail addresses
Raimond Spekking [Thu, 28 Oct 2010 20:10:28 +0000 (20:10 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-28 19:50:00 UTC)
Raimond Spekking [Thu, 28 Oct 2010 19:49:44 +0000 (19:49 +0000)]
Follow-up r75582: Fix wrong message key in maintenance script
Bryan Tong Minh [Thu, 28 Oct 2010 19:20:21 +0000 (19:20 +0000)]
(bug 25648) API discovery information has been added as RSD link in page <head> and by providing an API module action=rsd. Added hook ApiRsdServiceApis for extensions to add their own service to the services list.
Patch by Brion Vibber and Bryan Tong Minh.
Philip Tzou [Thu, 28 Oct 2010 17:11:21 +0000 (17:11 +0000)]
Follow up r75617. remove extra brackets.
Philip Tzou [Thu, 28 Oct 2010 16:58:39 +0000 (16:58 +0000)]
1. Revert the complicated redirection I made in r59754;
2. Add more Accept-Language XVO cache name for IE;
3. Use hreflang to specify canonical and alternate links, it's search engine friendly
when a wiki has multiple variant languages.