Kevin Israel [Fri, 5 Apr 2013 19:15:02 +0000 (15:15 -0400)]
FormatJson: microoptimizations for UTF8_OK mode
* Replace strtr with str_replace where faster.
* Use addcslashes to escape json_encode's output. Because no control
characters are included, the only characters that have to be
escaped are \ and ". (irrelevant for PHP 5.4+ installations)
Re-encoding a ~1.5 MB API response from the Chinese Wikipedia:
* PHP 5.3: 32% faster (from 347 ms to 239 ms)
* PHP 5.4: 70% faster (from 51 ms to 15 ms)
* HHVM: 42% faster (from 326 ms to 191 ms)
Change-Id: I7c9342682986d40a2f2436ac978390b6018a3521
Timo Tijhof [Sun, 7 Apr 2013 23:00:09 +0000 (01:00 +0200)]
Fix release notes for I5e6f7d48d6904.
Change-Id: Id442e6fcbdc410798579bc0bf1088ccede08e21b
Translation updater bot [Sun, 7 Apr 2013 19:26:28 +0000 (19:26 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I182906ee394da739d6b8fb64bc7743c05b3b6ac6
jenkins-bot [Sun, 7 Apr 2013 15:32:52 +0000 (15:32 +0000)]
Merge "Update formatting and docs"
Siebrand Mazeland [Mon, 1 Apr 2013 21:28:27 +0000 (23:28 +0200)]
Update formatting and docs
Also remove some unneeded else{} statements and reverse if/else if that
reduces indentation.
Change-Id: I1f7bd26119850fc944fbe84ae78bdd95cafc7bbb
MaxSem [Sun, 7 Apr 2013 08:18:03 +0000 (08:18 +0000)]
Merge "startup: Add unit tests and add Firefox < 4 to blacklist."
MatmaRex [Sat, 6 Apr 2013 15:13:45 +0000 (17:13 +0200)]
Remove the "Quickbar" feature and all things related to it
"Quickbar" was a feature of the Standard and CologneBlue skins that
allowed the sidebar to be displayed on left or right side of the page,
floated or fixed, and hidden on diff pages.
Standard was removed (Ia6d73c2d), and CologneBlue doesn't support this
anymore (bug 41246), so all things quickbar can now be safely removed.
* Removed user prefs option + interface
* Removed related messages
* Removed code for this in SkinLegacy
* Removed dead code in DifferenceEngine and Language
Change-Id: I5e6f7d48d6904a052a3a11547d3ebe6161463018
Translation updater bot [Sat, 6 Apr 2013 19:29:48 +0000 (19:29 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Icab7dc96cc3e81918512ea4f4b55fea2bd6cf7d5
jenkins-bot [Sat, 6 Apr 2013 15:35:35 +0000 (15:35 +0000)]
Merge "remove references to removed skins from mediawiki.util.js"
MatmaRex [Sat, 6 Apr 2013 15:09:56 +0000 (17:09 +0200)]
remove references to removed skins from mediawiki.util.js
Dead code removal. Followup to Ia6d73c2d.
Change-Id: Ic43462d6775af682626e43a1bdfab3f8077f0101
Alex Monk [Sat, 6 Apr 2013 13:10:03 +0000 (13:10 +0000)]
Merge "Remove link to Special:ActiveUsers from Special:Statistics"
Alex Monk [Sat, 6 Apr 2013 12:26:16 +0000 (12:26 +0000)]
Merge "fixed php doc in ApiBase"
Niklas Laxström [Wed, 3 Apr 2013 10:39:54 +0000 (10:39 +0000)]
Remove link to Special:ActiveUsers from Special:Statistics
Besides being broken, causes PHP warnings.
Bug: 46719
Change-Id: I23d9c9bdc9d38eb4256d0f7061e225cf86b576f8
Translation updater bot [Fri, 5 Apr 2013 21:44:25 +0000 (21:44 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I222f66b12c0d6bdb03c7105b3d598304f9ffd61c
jenkins-bot [Fri, 5 Apr 2013 21:11:08 +0000 (21:11 +0000)]
Merge "Protected function UploadBase->validateName changed to public"
rahul21 [Fri, 29 Mar 2013 10:38:32 +0000 (16:08 +0530)]
Protected function UploadBase->validateName changed to public
*Any class that is not part of the UploadBase class
(so it can't call protected functions or members on an UploadBase object).
If you, for example,build an extension that uses an UploadBase instance,
there is no way to get the title validation error.
Bug: 38221
Change-Id: Ie6c3f95a09ef84777313c3ec2edd31c50c397e28
jenkins-bot [Fri, 5 Apr 2013 20:29:29 +0000 (20:29 +0000)]
Merge "Fixed fatal when using fake load balancers."
Timo Tijhof [Fri, 5 Apr 2013 00:35:37 +0000 (02:35 +0200)]
startup: Add unit tests and add Firefox < 4 to blacklist.
Bug: 35906
Change-Id: Id8214c6a54f1bed2f9e1abb668248c46dcf7317e
Subramanya Sastry [Fri, 5 Apr 2013 16:53:15 +0000 (16:53 +0000)]
Merge "New parserTest: check interaction of italics and English possessives."
Subramanya Sastry [Fri, 5 Apr 2013 16:52:38 +0000 (16:52 +0000)]
Merge "Move table parsing tests from Parsoid's whitelist into upstream parserTests."
Subramanya Sastry [Fri, 5 Apr 2013 16:51:42 +0000 (16:51 +0000)]
Merge "Move definition list parser tests from Parsoid's whitelist into upstream."
Subramanya Sastry [Fri, 5 Apr 2013 16:50:42 +0000 (16:50 +0000)]
Merge "Move bold/italic parser tests from Parsoid's whitelist into upstream."
C. Scott Ananian [Fri, 5 Apr 2013 15:26:29 +0000 (11:26 -0400)]
New parserTest: check interaction of italics and English possessives.
This documents a current bug in the Parsoid parser.
Change-Id: I242324237640dd21fb24c50fa164a45091e388b8
C. Scott Ananian [Thu, 4 Apr 2013 22:27:50 +0000 (18:27 -0400)]
Move table parsing tests from Parsoid's whitelist into upstream parserTests.
A few more differences between Parsoid and the PHP parser.
Change-Id: Ic12c93fef905b65ffa459bb15920ea7edd9f2238
C. Scott Ananian [Thu, 4 Apr 2013 21:47:41 +0000 (17:47 -0400)]
Move definition list parser tests from Parsoid's whitelist into upstream.
Parsoid parses certain uses of definition lists differently than the PHP
parser.
Change-Id: I185a805e117fc1b9ee3c0cabc657b48cf39af52b
C. Scott Ananian [Thu, 4 Apr 2013 17:37:10 +0000 (13:37 -0400)]
Move bold/italic parser tests from Parsoid's whitelist into upstream.
Parsoid has been maintaining a whitelist for tests where its output
diverges from the PHP parser. This patch upstreams part of that whitelist,
creating separate PHP and Parsoid test cases to document in one place
where the parsed output diverges and why. (Uses the recently-added
'php' and 'parsoid' options in parserTests.)
Change-Id: I07ca6ec1e039a2842c641fe543b2d92eb964d932
umherirrender [Fri, 5 Apr 2013 13:47:36 +0000 (15:47 +0200)]
fixed php doc in ApiBase
Change-Id: I9c893de8c067be3e926f5de5f0b87ac47b81772d
jenkins-bot [Fri, 5 Apr 2013 11:21:30 +0000 (11:21 +0000)]
Merge "Added "cluster" parameter to wfWaitForSlaves() for external DBs."
jenkins-bot [Fri, 5 Apr 2013 03:59:35 +0000 (03:59 +0000)]
Merge changes Ic22a190c,Ia5b37f99
* changes:
Removed duplicate class registration
Removed pointless static declaration
jenkins-bot [Fri, 5 Apr 2013 03:21:29 +0000 (03:21 +0000)]
Merge "mergeMessageFileList.php: abort on read error"
Aaron Schulz [Tue, 2 Apr 2013 23:21:20 +0000 (16:21 -0700)]
Removed useless clear() call in WikiPage::doPurge().
Change-Id: I3bc251ea987f089342c054afd5a02ccf321f4fe7
Tim Starling [Fri, 5 Apr 2013 01:03:31 +0000 (12:03 +1100)]
mergeMessageFileList.php: abort on read error
If there is a parse error or if one of the files in the extension list
doesn't exist, exit with an error. mw-update-l10n has set -e so it will
abort without syncing the new file.
Change-Id: Idaad65783127b075626c102a8dc02e22df1588b7
Aaron Schulz [Thu, 4 Apr 2013 23:10:56 +0000 (16:10 -0700)]
Added "cluster" parameter to wfWaitForSlaves() for external DBs.
Change-Id: I226a1793dfb901de8e1c0ac40c1dc3ad890de95a
Translation updater bot [Thu, 4 Apr 2013 20:17:54 +0000 (20:17 +0000)]
Merge "Localisation updates from translatewiki.net."
jenkins-bot [Thu, 4 Apr 2013 19:19:30 +0000 (19:19 +0000)]
Merge "Set lang in api createaccount regardless of $wgLoginLanguageSelector"
Translation updater bot [Thu, 4 Apr 2013 18:45:33 +0000 (18:45 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Id8c6772f24ba3a569be66e210a99b89c3091e9a3
Aaron Schulz [Thu, 4 Apr 2013 17:29:09 +0000 (10:29 -0700)]
Fixed fatal when using fake load balancers.
The error was:
Catchable fatal error: Argument 1 passed to DatabaseMysql::masterPosWait()
must implement interface DBMasterPos, boolean given, called in
/var/www/DevWiki/core/includes/db/LoadBalancer.php on line 419
Change-Id: I230585930c1424b0868f9aa290167c66bc6848bd
jenkins-bot [Thu, 4 Apr 2013 16:52:45 +0000 (16:52 +0000)]
Merge "Adding wfLogWarning for production warnings."
Chad Horohoe [Wed, 20 Mar 2013 19:48:28 +0000 (15:48 -0400)]
Remove ExternalUser authentication code
This was an experimental authentication system intoduced a couple
of years ago with a pretty narrow use-case. It's been pretty much
ignored since introduction, and makes login more complicated than
it needs to be.
I didn't drop the external_user table on the off-chance someone
out there actually has data in it, but they should use AuthPlugin
for their external authentication needs.
Change-Id: I794338dbb75961ee033d41fa44bb7aa22e54f447
jenkins-bot [Thu, 4 Apr 2013 09:39:13 +0000 (09:39 +0000)]
Merge "Drop ClickTracking integration from mw.user.bucket"
jenkins-bot [Thu, 4 Apr 2013 09:17:19 +0000 (09:17 +0000)]
Merge "Add to/tweak mediawiki and jqueryMsg JS tests, fix comment"
Matthew Flaschen [Thu, 4 Apr 2013 00:23:06 +0000 (20:23 -0400)]
Improve mediawiki.js docs:
* Fix an error in the Map.set documentation.
* Use JSDuck formatting in more places.
Change-Id: I5e2d271b45c1dbb33fa67abe4a2cc79380831a23
Matt Walker [Sat, 9 Mar 2013 01:30:49 +0000 (17:30 -0800)]
HTMLForm button behaviour modifications
- Buttons can now be marked disabled and they will not be clickable.
- The default submit button may now be opted out of.
Change-Id: I8293a3c09da51152bfc7f6f6951416c71ce0bb38
Ori Livneh [Mon, 28 Jan 2013 07:20:01 +0000 (23:20 -0800)]
Drop ClickTracking integration from mw.user.bucket
This change set drops the 'tracked' option from mw.user.bucket, which
previous triggered logging via the ClickTracking extension.
Change-Id: I1a57df2ba60dba6041ecad7dd5c87519eb5d143e
Chad Horohoe [Wed, 3 Apr 2013 18:53:05 +0000 (14:53 -0400)]
Most important documentation fix
Change-Id: I0482144112345ca76ed3d95e3ad3b846cce4d87b
Brian Wolff [Thu, 4 Apr 2013 01:15:46 +0000 (01:15 +0000)]
Merge "(bug 46615) updateCollation.php: sanity check the collation before proceeding"
jenkins-bot [Thu, 4 Apr 2013 00:08:20 +0000 (00:08 +0000)]
Merge "Remove non-functional handling of curl_error()"
jenkins-bot [Wed, 3 Apr 2013 23:55:13 +0000 (23:55 +0000)]
Merge "ResourceLoader: Honor $wgAllow* settings in site/user modules"
jenkins-bot [Wed, 3 Apr 2013 23:51:52 +0000 (23:51 +0000)]
Merge "Test: Assert that modules loaded correctly."
jenkins-bot [Wed, 3 Apr 2013 23:49:03 +0000 (23:49 +0000)]
Merge "OutputPage: Set empty modules to state 'ready' instead of 'missing'."
Matthew Flaschen [Tue, 12 Feb 2013 21:51:35 +0000 (16:51 -0500)]
Add to/tweak mediawiki and jqueryMsg JS tests, fix comment
* Remove getOuterHtml.
* Use htmlEqual where getOuterHtml was used, among other places.
* The comment reflected a change I considered making, but did not in the end.
* Add a few link tests
* Minor tweaks to other test code for consistency
* Replace wikiGetlink with explicit output
Change-Id: Id6a857c9686901f8db4944fcc081d4b9c4457fa8
Platonides [Wed, 3 Apr 2013 23:28:33 +0000 (01:28 +0200)]
Specify the utf-8 charset on error messages.
Although the contents of error messages are English text,
and thus it's irrelevant that it gets interpreted as
iso-8859-1 instead of utf-8, $wgSitename is printed by
DBConnectionError::searchForm(), and that can contain utf-8.
Cached pages may also be in utf-8.
Change-Id: I81c02493f0824cb010c80f4356f338787d78df6b
jenkins-bot [Wed, 3 Apr 2013 22:11:10 +0000 (22:11 +0000)]
Merge "jquery.makeCollapsible: events for collapsing/expanding, tests"
jenkins-bot [Wed, 3 Apr 2013 22:08:07 +0000 (22:08 +0000)]
Merge changes Icdd8f392,Ied13e5ab
* changes:
jquery.makeCollapsible: basic test suite
jquery.makeCollapsible: use 'mw-collapsible' event namespace
jenkins-bot [Wed, 3 Apr 2013 21:59:43 +0000 (21:59 +0000)]
Merge "(bug 36400) API: Fix sorting for iwlinks, langlinks"
Timo Tijhof [Wed, 3 Apr 2013 20:50:08 +0000 (22:50 +0200)]
ResourceLoader: Honor $wgAllow* settings in site/user modules
Bug: 46858
Change-Id: I17b3a2c1df5d52458f92c715242003b34111432c
Timo Tijhof [Wed, 3 Apr 2013 19:17:08 +0000 (21:17 +0200)]
Test: Assert that modules loaded correctly.
Since mw.loader catches any uncaught exceptions that modules
throw at run time, it is hard for QUnit and/or the browser
(e.g. PhantomJS) to know about a failure because there is
no assert failure and no uncaught exception (window.onerror).
VisualEditor's init module, for example, has a problem (bug 45175)
that sometimes causes an error, causing none of the tests to run,
yet the QUnit run would finish successful with simply none of the
VE tests included in the results.
Bug: 44299
Change-Id: Ib6e2b8d1be3e38fd9f1b948407c62da550fce0b4
Aaron Schulz [Wed, 3 Apr 2013 20:51:02 +0000 (13:51 -0700)]
Added Job::hasRootJobParams() convenience function.
* Added a missing @since tag.
Change-Id: I887d55074007551040eee486dbb9e8e44106e5a9
Timo Tijhof [Wed, 3 Apr 2013 20:36:06 +0000 (22:36 +0200)]
OutputPage: Set empty modules to state 'ready' instead of 'missing'.
Some cases were already covered by I595b3af190, but in the case
where the module is disabled entirely it was setting it to missing.
This is inconsistent with the behaviour of load.php (which will implement
an empty module resulting in state=ready) and confusing as it
implies there is a problem (a missing module) whereas in fact it
isn't a problem. Modules that depend on it to allow customization
wouldn't load as it will fail on missing dependencies.
Also makes asserting problems (bug 44299) hard as it would have
to whitelist state 'missing' for user/site/user.groups.
Bug: 46857
Change-Id: I46b5bc6f714abe4b66186d7b7a14c69195f00ee1
Aaron Schulz [Wed, 3 Apr 2013 20:13:36 +0000 (13:13 -0700)]
Added some missing @since tags.
Change-Id: I31c264aebf63f4bcaa3042f624e91dc27f5687e8
Translation updater bot [Wed, 3 Apr 2013 20:09:20 +0000 (20:09 +0000)]
Merge "Localisation updates from translatewiki.net."
jenkins-bot [Wed, 3 Apr 2013 19:22:17 +0000 (19:22 +0000)]
Merge "[FileBackend] Clarified the noAccess/noListing docs a bit."
Aaron Schulz [Wed, 3 Apr 2013 18:56:27 +0000 (11:56 -0700)]
Cleaned up return types for getAllQueuedJobs() and getAllDelayedJobs().
Change-Id: I305941c817dd13427d291b9265a71f9df9130f1c
Translation updater bot [Wed, 3 Apr 2013 18:41:33 +0000 (18:41 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I3cdedadb10249e5ea330e89e4d7f2ab187f804cb
Brad Jorsch [Fri, 11 Jan 2013 00:22:03 +0000 (19:22 -0500)]
(bug 36400) API: Fix sorting for iwlinks, langlinks
The iwlinks and langlinks modules continue parameters imply ordering by
page then prefix then title. But in certain modes, the actual queries
use a different ordering, which may result in skipped or repeated
results.
This changeset fixes that. To do so, it needs to re-add an index
iwl_prefix_from_title which was mistakenly removed in 2010 (r69721). And
while it's doing that, it cleans up errors in the sqlite and postgresql
handling of the iwlinks indexes too.
Also, per Asher, make the iwl_prefix_from_title and
iwl_prefix_title_from indexes non-UNIQUE.
Change-Id: I607e8bf9183a2d8152a6127a81c83a0b5bba0c61
Brad Jorsch [Wed, 3 Apr 2013 16:09:12 +0000 (12:09 -0400)]
Improve API 'origin' parameter description
When making CORS pre-flight requests, the origin parameter must still be
included. This means that it cannot be in the POST body, as that is not
sent for pre-flight.
Document that.
Change-Id: I3fc809cf2e4ca9c2566f62d32f96d24377c72863
MatmaRex [Sat, 23 Mar 2013 15:13:17 +0000 (16:13 +0100)]
jquery.makeCollapsible: events for collapsing/expanding, tests
Trigger a custom event to allow callers to hook to the
collapsing/expanding, allowing the module to be testable and making
it possible to e.g. implement persistence via cookies.
Added tests for the triggers themselves and for some basic
asynchronous collapsing functionality.
The following four events are fired (the namespace used is the same
one as the one used for firing the click event for initial toggle):
* beforeExpand.mw-collapsible
* beforeCollapse.mw-collapsible
* afterExpand.mw-collapsible
* afterCollapse.mw-collapsible
Change-Id: I580365770d061418a6734fcb54b2d86f2a821748
MatmaRex [Mon, 25 Mar 2013 19:16:07 +0000 (20:16 +0100)]
jquery.makeCollapsible: basic test suite
For now it just verifies that the very basic synchronous functionality
of the module works; not much more is possible without triggering some
events to hook to, and currently jquery.makeCollapsible doesn't
trigger any.
Change-Id: Icdd8f392e4921007a6bdfb3ae934949e4c875232
umherirrender [Wed, 3 Apr 2013 10:57:10 +0000 (12:57 +0200)]
Remove spaces around ::
Change-Id: I24fe5ad907bcf5235aa91b650785c571502456a1
jenkins-bot [Wed, 3 Apr 2013 00:33:56 +0000 (00:33 +0000)]
Merge "phpcs: Pass includes/resourceloader/"
Timo Tijhof [Tue, 2 Apr 2013 20:28:40 +0000 (22:28 +0200)]
phpcs: Pass includes/resourceloader/
- A cast statement must not be followed by a space.
- The method parameter $context is never used.
- Avoid function calls in a FOR loop test part.
- Opening brace should be on the same line as closing parenthesis.
Change-Id: I0eba7fcc9ceab372003d1134857346690c525e87
MatmaRex [Tue, 2 Apr 2013 20:28:08 +0000 (22:28 +0200)]
jquery.makeCollapsible: use 'mw-collapsible' event namespace
For consistency with the module name.
Change-Id: Ied13e5abdec107771e80418feb4bb3b2f0d54567
Aaron Schulz [Tue, 26 Mar 2013 20:08:41 +0000 (13:08 -0700)]
Deferred page_touched update via onTransactionIdle.
* This should reduce deadlocks and lock wait timeouts.
Change-Id: I595bc33d7643e7964d796b1d3da31f7cfab55024
jenkins-bot [Tue, 2 Apr 2013 23:10:08 +0000 (23:10 +0000)]
Merge "In SqlBagOStuff::getMulti(), catch connect errors"
Tim Starling [Tue, 2 Apr 2013 22:47:53 +0000 (09:47 +1100)]
In SqlBagOStuff::getMulti(), catch connect errors
This case was somehow neglected in Ifba0d276. The other methods work
correctly.
Change-Id: If29f0212f07c13bd72469c580bb096a2a41a96b5
jenkins-bot [Tue, 2 Apr 2013 22:41:56 +0000 (22:41 +0000)]
Merge "[LockManager] Added timeout to the lock() function."
jenkins-bot [Tue, 2 Apr 2013 22:36:46 +0000 (22:36 +0000)]
Merge "Avoid duplicated effort in JobQueueAggregatorRedis::doGetAllReadyWikiQueues()."
Aaron Schulz [Wed, 13 Mar 2013 08:07:41 +0000 (01:07 -0700)]
[LockManager] Added timeout to the lock() function.
Change-Id: I32f97b813fc6036b2774d67c14c574420e7a1437
jenkins-bot [Tue, 2 Apr 2013 22:21:27 +0000 (22:21 +0000)]
Merge "Add wfProfileOut to the new returns added by
19ecb69f"
Aaron Schulz [Thu, 14 Mar 2013 20:39:46 +0000 (13:39 -0700)]
Avoid duplicated effort in JobQueueAggregatorRedis::doGetAllReadyWikiQueues().
Change-Id: I76bfc23ecf94c974a9eefc7d430b26d70187409e
jenkins-bot [Tue, 2 Apr 2013 21:20:55 +0000 (21:20 +0000)]
Merge "Use canonical class name."
jenkins-bot [Tue, 2 Apr 2013 21:06:31 +0000 (21:06 +0000)]
Merge changes I8590352b,I164d60e0
* changes:
ResourceLoader: Change $module by ref instead of resetting the key
QUnit: Ensure test modules are top loading
Platonides [Tue, 2 Apr 2013 20:58:01 +0000 (22:58 +0200)]
Use canonical class name.
Change-Id: I7dc9980d334bc5ad6421135d713d890a8588281c
Platonides [Tue, 2 Apr 2013 20:52:00 +0000 (22:52 +0200)]
Add wfProfileOut to the new returns added by
19ecb69f
Change-Id: I97def12da054db7204955b95c3d590a3ab24ba55
Timo Tijhof [Tue, 2 Apr 2013 20:31:20 +0000 (22:31 +0200)]
ResourceLoader: Change $module by ref instead of resetting the key
Change-Id: I8590352b52ecf51def21a9c52af85aba0f050ff8
Timo Tijhof [Tue, 2 Apr 2013 17:59:07 +0000 (19:59 +0200)]
QUnit: Ensure test modules are top loading
Jenkins tests for extensions were exiting with a false positive.
They were marked "success" but in fact were wrong because
it only ran the core tests, the extensions' test suite was
loaded after QUnit already stopped listening.
Change-Id: I164d60e06118b64a1c6a17665a0fb1faeff744e5
Translation updater bot [Tue, 2 Apr 2013 19:37:30 +0000 (19:37 +0000)]
Merge "Localisation updates from translatewiki.net."
jenkins-bot [Tue, 2 Apr 2013 18:57:05 +0000 (18:57 +0000)]
Merge "Monobook: Solve padding issues with #content and #firstheading"
rahul21 [Sat, 30 Mar 2013 21:40:41 +0000 (03:10 +0530)]
Monobook: Solve padding issues with #content and #firstheading
Makes it consistent with the Vector skin.
Bug: 26849
Change-Id: Iab04baea4131208373962e4ddf7c8ac83c7f2ca9
jenkins-bot [Tue, 2 Apr 2013 18:45:15 +0000 (18:45 +0000)]
Merge "add index to image table to query by type"
Translation updater bot [Tue, 2 Apr 2013 18:31:27 +0000 (18:31 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I6a69fcf18f4a18174882fe6024ff9ae6d4b8b2c2
jenkins-bot [Tue, 2 Apr 2013 18:24:47 +0000 (18:24 +0000)]
Merge "Update PHPDoc comments"
Chad Horohoe [Tue, 2 Apr 2013 18:18:43 +0000 (14:18 -0400)]
Remove non-functional handling of curl_error()
Per the docs, curl_error() returns a full error string, not an int
or string of an int. Just remove that and pass the error back up.
Change-Id: I7434bb2abda056fdee4d670c192b304c0cdf24f7
jenkins-bot [Tue, 2 Apr 2013 18:03:01 +0000 (18:03 +0000)]
Merge "(bug 46787) API: Fix rccontinue handling"
jenkins-bot [Tue, 2 Apr 2013 17:59:20 +0000 (17:59 +0000)]
Merge "API param validation: Set strict mode for in_array"
jeroendedauw [Tue, 2 Apr 2013 15:26:44 +0000 (17:26 +0200)]
Removed duplicate class registration
Change-Id: Ic22a190c5d44e37e99067decfe8bec74422efcb1
jeroendedauw [Tue, 2 Apr 2013 15:26:14 +0000 (17:26 +0200)]
Removed pointless static declaration
Change-Id: Ia5b37f99456614e8dbb1c44f3ebb4ad9398ce18e
Brad Jorsch [Tue, 2 Apr 2013 14:01:53 +0000 (10:01 -0400)]
(bug 46787) API: Fix rccontinue handling
There are several bugs in Icc43b62f:
* When handing the continuation, the code checks for dir=descending when
the actual value is dir=older.
* When the above is fixed, the continuation code assumes "ORDER BY
rc_timestamp DESC, rc_id ASC", which would filesort.
* rc_id is not added to the ORDER BY clause anyway.
Bug: 46787
Change-Id: Ia6ebd4ea0458b8013d4ecb71954dcfbdacff2c00
Siebrand Mazeland [Mon, 1 Apr 2013 22:12:05 +0000 (00:12 +0200)]
Update/fix PHPDoc
Also initilise two possibly undefined veriables ($cl/$dl) and
add a type hint.
Change-Id: I24d4f13fa03caf7861646837f185df4f1e077c6e
Siebrand Mazeland [Mon, 1 Apr 2013 17:16:34 +0000 (19:16 +0200)]
Update PHPDoc comments
Change-Id: Id20f632762d705ba5e5eb18088f6e9e551b3f42b