jenkins-bot [Tue, 5 Feb 2013 18:51:00 +0000 (18:51 +0000)]
Merge "API module manager and help rewrite"
jenkins-bot [Tue, 5 Feb 2013 18:15:25 +0000 (18:15 +0000)]
Merge "(bug 34211) Initial focus on Special:Block is nowhere"
jenkins-bot [Tue, 5 Feb 2013 18:04:35 +0000 (18:04 +0000)]
Merge "(bug 43560) Initial input focus on Special:ListUsers isn't set"
jeroendedauw [Tue, 5 Feb 2013 13:51:46 +0000 (14:51 +0100)]
Added MediaWiki version to composer.json
Change-Id: I1661298e404ba25eae3d546baa77ed98f227b82f
jeroendedauw [Tue, 5 Feb 2013 13:45:19 +0000 (14:45 +0100)]
added wiki entry in support section of composer.json
Change-Id: I0668f7dbacb7fc9c02d774bf58ab4787637617af
jeroendedauw [Mon, 4 Feb 2013 21:37:28 +0000 (22:37 +0100)]
composer.json to register MediaWiki in Packagist
Change-Id: I9fc76e3fdecf428c5296ddad812006cb3cca3d23
Raimond Spekking [Tue, 5 Feb 2013 07:50:20 +0000 (07:50 +0000)]
Merge "Clarify move over redirect in movepagetext"
Yuri Astrakhan [Tue, 5 Feb 2013 06:52:55 +0000 (01:52 -0500)]
API module manager and help rewrite
This is a non-versioned part of the larger patch #41014
https://gerrit.wikimedia.org/r/#/c/41014
It will allow help subsystem optimization (merging paraminfo and help),
path towards per-module or per-system versioning, removal of the
manually maintained generator lists.
Changes:
* ApiModuleManager now handles all submodules (actions,props,lists) and instantiation
* ApiModuleManager maintains a cache of all instantiated modules
* Query stores prop/list/meta as submodules
* action=help suports generalized submodules (modules=query+value), querymodules obsolete
Change-Id: Ie2dee41e44a29cd5d5935eeaa5240b708d95a8f0
Jan Gerber [Tue, 15 Jan 2013 23:30:41 +0000 (23:30 +0000)]
Bug 43343 add zone "transcoded" for audio/video
to allow different storage strategies for thumbnails
and audio/video derivatives, add a new zone "transcoded".
Change-Id: I204c843dae4966b02f4807f15e6b0bac672f34dc
jenkins-bot [Mon, 4 Feb 2013 23:16:35 +0000 (23:16 +0000)]
Merge "[FileBackend] Set ignore_user_abort() in file operations."
Translation updater bot [Mon, 4 Feb 2013 22:26:46 +0000 (22:26 +0000)]
Merge "Localisation updates from translatewiki.net."
jenkins-bot [Mon, 4 Feb 2013 22:14:38 +0000 (22:14 +0000)]
Merge "(bug 40044) make $.tablesorter treat alt attribute like text"
Translation updater bot [Mon, 4 Feb 2013 22:02:24 +0000 (22:02 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I73f6a76d104c780e43cb6fee55b9c0901abefe11
Ori Livneh [Mon, 4 Feb 2013 03:01:17 +0000 (19:01 -0800)]
(Bug 37957) Replace php_sapi_name() with PHP_SAPI
The PHP_SAPI constant has been available since PHP 4.2.0. It's more
concise to use the constant and has less overhead than a function call.
Furthermore, PHP_SAPI rhymes with "happy", whereas "php_sapi_name"
rhymes with "lame". QED, etc.
Change-Id: Ie8c121cb8fcef50536af8d3f66723b458f0bf9af
jenkins-bot [Mon, 4 Feb 2013 20:30:29 +0000 (20:30 +0000)]
Merge "Fixes to the "reset password" mode of Special:ChangeEmail"
umherirrender [Sun, 3 Feb 2013 20:05:24 +0000 (21:05 +0100)]
fix some spacing
Change-Id: I8f976013f33c5818e4402604fe8610aa3f43b0c6
umherirrender [Sun, 3 Feb 2013 19:42:08 +0000 (20:42 +0100)]
fix some spacing
Change-Id: I88e73d47a552918880514d88a876296a6cb80d88
umherirrender [Sun, 3 Feb 2013 19:28:43 +0000 (20:28 +0100)]
fix some spacing
Change-Id: Ia9650be8b791fd2f0ccbc099436918a9d12d9968
umherirrender [Sun, 3 Feb 2013 18:47:42 +0000 (19:47 +0100)]
fix some spacing
Change-Id: I670a7baf3ba1e70d18346bb00938d518ba2063bd
umherirrender [Sun, 3 Feb 2013 18:30:03 +0000 (19:30 +0100)]
fix some spacing
Change-Id: I93f0a87ba7129bc336083e7289247d3150feb606
Alexandre Emsenhuber [Mon, 12 Nov 2012 20:07:13 +0000 (21:07 +0100)]
Fixes to the "reset password" mode of Special:ChangeEmail
- Use the current User object when the user modifies its own password instead of different object (so that the fields are correctly updated on that object)
- Only set the cookies when changing the password of the current user and not when resetting the user's password. This was hiding the problem below.
- Make the internal call to Special:UserLogin call from Special:ChangeEmail actually work.
The problem is that the $this->mNewPass field is cleared by attemptReset(). This was hidden because of the above and because the user is always redirected.
- Do not show the form and the message after successful submission (this was hidden for the same reason as above).
- Let Special:UserLogin handle the redirect itself when calling (because it might want to show something, such as what is injected by the UserLoginComplete hook)
Change-Id: I6cf15e23c905dad9612bab76a2dae5eb613fea9b
jenkins-bot [Mon, 4 Feb 2013 18:58:51 +0000 (18:58 +0000)]
Merge "(bug 44595) LanguageTest::testIsSupportedLanguage fails on Windows"
jenkins-bot [Mon, 4 Feb 2013 18:12:47 +0000 (18:12 +0000)]
Merge "[JobQueue] Cross-wiki queue access cleanups."
Federico Leva [Mon, 4 Feb 2013 13:41:19 +0000 (14:41 +0100)]
Clarify move over redirect in movepagetext
<https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Movepagetext/ms>
Change-Id: I838e872416162a1fbfc2da43186110584506f1be
jenkins-bot [Mon, 4 Feb 2013 09:31:03 +0000 (09:31 +0000)]
Merge "Respect --quiet in mergeMessageFileList.php"
jenkins-bot [Mon, 4 Feb 2013 01:10:44 +0000 (01:10 +0000)]
Merge "(bug 43915) Implement deleteEqualMessages.php"
Aaron Schulz [Sun, 3 Feb 2013 22:36:48 +0000 (14:36 -0800)]
[JobQueue] Cross-wiki queue access cleanups.
* Added some sanity exceptions.
* Also tweaked some documentation.
Change-Id: I9eab099593b566336d5aa5d73c53b2016b921559
Translation updater bot [Sun, 3 Feb 2013 20:27:27 +0000 (20:27 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I224278b915321480105e3de4034a97d33b015e87
Antoine Musso [Wed, 30 Jan 2013 14:29:40 +0000 (15:29 +0100)]
style: normalize end of files
By PSR2 PHP Standard, the files should ends with exactly one newline.
Some of our files have 2 or more and some other were missing a newline.
Fix almost all occurences of CodeSniffer sniff:
PSR2.Files.EndFileNewline.TooMany
I have not fixed the selenium files, I believe we will drop them.
Change-Id: I89fca8c1786fee94855b7b77bb0f364001ee84b6
Niklas Laxström [Sun, 3 Feb 2013 08:36:56 +0000 (08:36 +0000)]
(bug 44595) LanguageTest::testIsSupportedLanguage fails on Windows
Change-Id: I0d7ff996eb737cfe4a4748ed2399a9b1973808d0
Translation updater bot [Sat, 2 Feb 2013 21:14:31 +0000 (21:14 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I2061d9581a4644807955dc566a7a4f535879808d
jenkins-bot [Sat, 2 Feb 2013 11:07:57 +0000 (11:07 +0000)]
Merge "Include Postgres tables and maintenance scripts for Change I23c47c2c"
jenkins-bot [Sat, 2 Feb 2013 00:14:08 +0000 (00:14 +0000)]
Merge "refactor Database::makeSelectOptions"
GWicke [Fri, 1 Feb 2013 22:59:59 +0000 (22:59 +0000)]
Merge "New list and table attr. tests based on recent Parsoid bug fixes."
Translation updater bot [Fri, 1 Feb 2013 22:01:22 +0000 (22:01 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I039071abeaa87e70cb8d1156238f127a5aec956d
Subramanya Sastry [Fri, 1 Feb 2013 21:00:55 +0000 (15:00 -0600)]
New list and table attr. tests based on recent Parsoid bug fixes.
Change-Id: I51620f2dcf8d6d4cd4aebf658bef2cef2232bd39
Aaron Schulz [Fri, 1 Feb 2013 20:12:58 +0000 (12:12 -0800)]
[FileBackend] Set ignore_user_abort() in file operations.
* This reduces the change of partial operations. WMF sites already
set ignore_user_abort() in configuration, but this makes sure that
it always happens during file changes.
Change-Id: I702c27fc3c19aca0cdd39b793a3250ead40bfe71
Brent Garber [Tue, 22 Jan 2013 00:08:09 +0000 (00:08 +0000)]
Include Postgres tables and maintenance scripts for Change I23c47c2c
Change-Id: I1b2fe2b80700678935bf6d28c3a48538d044d3f4
Tim Landscheidt [Wed, 26 Dec 2012 03:56:17 +0000 (03:56 +0000)]
Add column job_attempts and index job_cmd_token_id to PostgreSQL.
* (bug 43416) This ports
cd000590ee694af73edb05b5e37b60b5e2b77fd5.
Change-Id: I3d4c7d906f6465b3a054df2fc0cd8f564173ed2b
Aaron Schulz [Fri, 1 Feb 2013 18:55:07 +0000 (10:55 -0800)]
[LockManager] Renamed getBucketFromKey() -> getBucketFromPath().
Change-Id: I825dcd255f0b85f81bf925abf46bc46b1fe42e9f
jenkins-bot [Fri, 1 Feb 2013 18:53:27 +0000 (18:53 +0000)]
Merge "Profiling for hook calls."
Aaron Schulz [Fri, 1 Feb 2013 18:29:10 +0000 (10:29 -0800)]
[LockManager] Generallized wiki field to a domain field.
* In some cases (like certain qualified file backends), a domain
may be desired that is not simple a wiki ID.
* Also added a LockManangerGroup::config() function to export
the configuration of a lock manager.
Change-Id: I5a75c55be3cc9017ed8a717d6d30e466fd00340f
jenkins-bot [Fri, 1 Feb 2013 18:16:09 +0000 (18:16 +0000)]
Merge "Fixed use of long memcached keys in AllPages."
jenkins-bot [Fri, 1 Feb 2013 18:11:05 +0000 (18:11 +0000)]
Merge "[FileBackend] Added more documentation."
jenkins-bot [Fri, 1 Feb 2013 18:06:04 +0000 (18:06 +0000)]
Merge "[LockManager] Updated DBLockManager for cross-wiki support."
jenkins-bot [Fri, 1 Feb 2013 18:04:13 +0000 (18:04 +0000)]
Merge "[LockManager] Split QuorumLockManager into its own file."
jenkins-bot [Fri, 1 Feb 2013 18:02:05 +0000 (18:02 +0000)]
Merge "Log profiling info from maintenance scripts."
daniel [Fri, 1 Feb 2013 15:17:12 +0000 (16:17 +0100)]
Add return to HttpError::getStatusCode.
Oops...
Change-Id: I4fb5bd11be340870d903d62e1329b1181f72e695
daniel [Thu, 31 Jan 2013 14:39:37 +0000 (15:39 +0100)]
Profiling for hook calls.
This is similar to profiloing for db queries.
Change-Id: I14051f8aff30d249f4197270337e4080adfa5417
daniel [Thu, 31 Jan 2013 14:36:29 +0000 (15:36 +0100)]
Log profiling info from maintenance scripts.
Previously, maintenance scripts did not log profiling info.
Change-Id: Ib63dd54b815cca774cd764f28505f9dbdfd02cfc
Aaron Schulz [Fri, 1 Feb 2013 06:28:55 +0000 (22:28 -0800)]
[LockManager] Split QuorumLockManager into its own file.
Change-Id: Ib487a39b04ac9de3449695ac388c95ae45933469
Aaron Schulz [Fri, 1 Feb 2013 06:06:57 +0000 (22:06 -0800)]
[FileBackend] Added more documentation.
Change-Id: I6a0f0dc253fbe82a58345d4179248071062286ff
Timo Tijhof [Sun, 13 Jan 2013 01:06:15 +0000 (02:06 +0100)]
(bug 43915) Implement deleteEqualMessages.php
Change-Id: I97529b775d4db4f996c40395c891a0049d2e43c5
Aaron Schulz [Fri, 1 Feb 2013 02:26:24 +0000 (18:26 -0800)]
[LockManager] Updated DBLockManager for cross-wiki support.
Change-Id: If02274a3173463ce66037221f494a1ee68ffa51d
Aaron Schulz [Thu, 31 Jan 2013 03:27:53 +0000 (19:27 -0800)]
Made nextJobDB.php respect $wgJobTypesExcludedFromDefaultQueue.
Change-Id: I22de34fc7be7b701180511fad3c16154ffdf638b
Marius Hoch [Tue, 1 Jan 2013 21:44:53 +0000 (22:44 +0100)]
(bug 43560) Initial input focus on Special:ListUsers isn't set
Set the input focus on Special:ListUsers to the user name field
in case no user name was given as input.
Change-Id: I13b75baf95bac8d25b019a82e9f8504cfa779b96
jenkins-bot [Thu, 31 Jan 2013 21:21:38 +0000 (21:21 +0000)]
Merge "(bug 5346) Make cats which are redirects italic in category links."
Brian Wolff [Thu, 27 Dec 2012 08:24:36 +0000 (04:24 -0400)]
(bug 5346) Make cats which are redirects italic in category links.
Due to bug 3311, redirects in category namespace don't work.
Furthermore they appear blue, and there is no indication anything
is wrong. This change makes the link italic to indicate to the
user that it is not a normal redirect. Only links in the
category links section of the page are affected
My only concern with this is potentially italics might not be
approrpriate in non-english languages (??). One of the main
reasons for italics is that a different colour is a larger
departure from current ui where link colours have meaning
and we already use italics for redirects on category pages,
and special:allpages.
Change-Id: I1fba042ca301844b603759c2db2cab28c3297e93
jenkins-bot [Thu, 31 Jan 2013 21:05:25 +0000 (21:05 +0000)]
Merge "bug 44136: Don't rollback after successful commit"
jenkins-bot [Thu, 31 Jan 2013 20:49:56 +0000 (20:49 +0000)]
Merge "Force case-sensitivity on the LIKE operator, to ensure similar behaviour between MySQL and SQLite"
jenkins-bot [Thu, 31 Jan 2013 20:46:49 +0000 (20:46 +0000)]
Merge "Fix self link issues about titles in different or mixed variants"
Translation updater bot [Thu, 31 Jan 2013 20:46:38 +0000 (20:46 +0000)]
Merge "Localisation updates from translatewiki.net."
jenkins-bot [Thu, 31 Jan 2013 20:39:27 +0000 (20:39 +0000)]
Merge "Followup I888c616e: one more string to localize."
jenkins-bot [Thu, 31 Jan 2013 20:28:19 +0000 (20:28 +0000)]
Merge "Avoid raw SQL queries in Maintenance::purgeRedundantText()"
jenkins-bot [Thu, 31 Jan 2013 20:23:34 +0000 (20:23 +0000)]
Merge "Followup I888c616e: Keep IRC line format unchanged."
Aaron Schulz [Thu, 31 Jan 2013 20:23:16 +0000 (12:23 -0800)]
Fixed use of long memcached keys in AllPages.
Change-Id: I1df841aff02aa6de5c9e51008f36e745824da567
jenkins-bot [Thu, 31 Jan 2013 20:19:14 +0000 (20:19 +0000)]
Merge "api: remove duplicate __contruct calls"
jenkins-bot [Thu, 31 Jan 2013 20:17:20 +0000 (20:17 +0000)]
Merge "fix hardcoded quote in Special:DoubleRedirects/BrokenRedirects"
jenkins-bot [Thu, 31 Jan 2013 20:15:14 +0000 (20:15 +0000)]
Merge "Changed Message::content() to pass $this to MessageContent."
Translation updater bot [Thu, 31 Jan 2013 20:12:34 +0000 (20:12 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I1615132bf185ebaa387ec2a3216137750d4d74e2
umherirrender [Mon, 28 Jan 2013 21:11:10 +0000 (22:11 +0100)]
fix some spacing
Change-Id: I2a59eb22bb8acf01b560507a48d6be55d9c87de7
jenkins-bot [Thu, 31 Jan 2013 19:58:11 +0000 (19:58 +0000)]
Merge "Genderize user namespace for 'be' locale"
jenkins-bot [Thu, 31 Jan 2013 15:16:56 +0000 (15:16 +0000)]
Merge "Make Sites::singleton() actually return a singleton."
jenkins-bot [Thu, 31 Jan 2013 15:15:05 +0000 (15:15 +0000)]
Merge "Add getters to HttpError, to use it in tests."
daniel [Thu, 31 Jan 2013 14:33:22 +0000 (15:33 +0100)]
Make Sites::singleton() actually return a singleton.
Sites::singleton() was returning a new instance for every call,
rendering in-process caching ineffective. This was causing extreme
slowness on some configurations (about factor 100).
Change-Id: I1e28afea8710b44542c55db150ad37518a5a5df1
Pavel Selitskas [Thu, 31 Jan 2013 09:09:47 +0000 (12:09 +0300)]
Genderize user namespace for 'be' locale
Per https://be.wikipedia.org/wiki/Вікіпедыя:Форум#filengenderize
Change-Id: Ia3287902ea45ef55d8c8aa061fd753caacc62521
jenkins-bot [Thu, 31 Jan 2013 06:59:24 +0000 (06:59 +0000)]
Merge "Installer: Fix double escaping of config-download-localsettings."
Aaron Schulz [Thu, 31 Jan 2013 04:14:56 +0000 (20:14 -0800)]
[JobQueue] Re-try jobs that fail normally.
* Jobs will be re-attempted if run() returns false.
This means that claimTTL is useful beyond just the case
where runners get killed in the middle of a job or an
uncaught exception is thrown.
* Moved MAX_ATTEMPTS constant up to base class.
* Clarified docs a bit.
Change-Id: Id7f970e82a63aa563e9a7a023ce32e5d6680433a
Tim Starling [Thu, 31 Jan 2013 05:35:19 +0000 (16:35 +1100)]
Respect --quiet in mergeMessageFileList.php
To go with Ic6db1d8a
Change-Id: I95cbd4c6f47fe741da93c7d3260196cce5f29275
MarkAHershberger [Sat, 19 Jan 2013 20:20:29 +0000 (15:20 -0500)]
Bug 44157 - The return value of realpath should be tested
Change-Id: Id178ee2fa5e294e858ee2af188e02c67f3205da9
jenkins-bot [Thu, 31 Jan 2013 02:50:43 +0000 (02:50 +0000)]
Merge "Make jquery.client recognize Iceweasel"
Timo Tijhof [Thu, 31 Jan 2013 01:19:25 +0000 (17:19 -0800)]
Installer: Fix double escaping of config-download-localsettings.
The link was outputted as:
"Download <code>LocalSettings.php</code>"
rendered as:
"Download <code>LocalSettings.php</code>"
screenshot:
http://cl.ly/image/1y2O3y2S2B19
Change-Id: I55a677b2a0f83dc6627d712584b8faa00e413b8b
Follows-up: Iaa2c89d6
Bug: 44526
daniel [Wed, 30 Jan 2013 21:43:43 +0000 (22:43 +0100)]
Add getters to HttpError, to use it in tests.
Change-Id: I1165063ebdbcc29ae26998bd6ab74782dc0ecdc5
jenkins-bot [Wed, 30 Jan 2013 21:28:13 +0000 (21:28 +0000)]
Merge "Fix double colons in api help output"
jenkins-bot [Wed, 30 Jan 2013 21:26:10 +0000 (21:26 +0000)]
Merge "[LockManager] Refactoring to allow proper cross-wiki support."
jenkins-bot [Wed, 30 Jan 2013 21:23:55 +0000 (21:23 +0000)]
Merge ".gitignore Composer related files"
jenkins-bot [Wed, 30 Jan 2013 21:20:04 +0000 (21:20 +0000)]
Merge "(bug 44160) Fix invalid link of `others` during installation"
Translation updater bot [Wed, 30 Jan 2013 20:26:04 +0000 (20:26 +0000)]
Localisation updates from translatewiki.net.
Change-Id: If09fc6a3f1c9abc491beed0f34a9811ff2abf844
Reedy [Wed, 30 Jan 2013 19:19:18 +0000 (19:19 +0000)]
Fix double colons in api help output
Get links from the [[Main Page]]::
api.php?action=query&prop=links&titles=Main%20Page
Get information about the link pages in the [[Main Page]]::
api.php?action=query&generator=links&titles=Main%20Page&prop=info
Get links from the Main Page in the User and Template namespaces::
api.php?action=query&prop=links&titles=Main%20Page&plnamespace=2|10
Change-Id: I3645bd72d80aef3f99da7f8f5fa1d63a1b28ad78
daniel [Tue, 22 Jan 2013 11:59:23 +0000 (12:59 +0100)]
Better way for extensions to add to ParserOutput.
Extensions sometimes need to stash information in the ParserOutput
for later use. This change provides a clean way to do that.
Change-Id: I8bc571d13c9a70bb71430862c2ab679ff1947126
Catrope [Wed, 30 Jan 2013 01:42:39 +0000 (17:42 -0800)]
Make jquery.client recognize Iceweasel
Change-Id: Ide927219fc2a102a9c0adad9b39f155dfb86c27d
Translation updater bot [Tue, 29 Jan 2013 20:45:06 +0000 (20:45 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I1b06080eae889aa69b27c0500618f6b2e2e92935
jenkins-bot [Tue, 29 Jan 2013 20:30:19 +0000 (20:30 +0000)]
Merge "Dump unit tests no longer fail if gzip is not available"
umherirrender [Tue, 29 Jan 2013 20:00:33 +0000 (21:00 +0100)]
fix hardcoded quote in Special:DoubleRedirects/BrokenRedirects
Also remove the extra parentheses, will be added by Database::makeList
already.
Change-Id: I38efac1af8a4fb1e52d7716a9fe3440510705676
jenkins-bot [Tue, 29 Jan 2013 18:33:41 +0000 (18:33 +0000)]
Merge "[ExternalStore] Refactored external store classes to use a base class."
daniel [Tue, 29 Jan 2013 16:02:19 +0000 (17:02 +0100)]
Make HttpError set actual HTTP error code.
Previsouly, HttpError would set a Status header with the desired code,
but would not change the actual HTTP/1.1 header to include that code.
Change-Id: I2f68b1fa410b3619c5be3e82b64f99df97b9415a
Antoine Musso [Tue, 29 Jan 2013 15:32:13 +0000 (16:32 +0100)]
.gitignore Composer related files
The Composer dependencie manager installs components under /vendor by
default so simply ignore that path. We do not care of tracking the
composer.* files, they will always be local just like LocalSettings.php.
Extensions are properly installed under /extensions/.
Change-Id: I7c50ee11edf2f7b1d71533fc32a75831a384a630
Abhishek Das [Mon, 28 Jan 2013 18:17:13 +0000 (23:47 +0530)]
(bug 44160) Fix invalid link of `others` during installation
On the `Environmental Checks` page during MW installation, the link to
`others` in Credits was invalid because it points to a local special
page and the wiki is not even installed.
Changed the link to
`http://www.mediawiki.org/wiki/Special:Version/Credits` which is
always available during installation.
Change-Id: I3967e14303f9db7def39c97982f06e6086bb69b8
jenkins-bot [Tue, 29 Jan 2013 10:41:11 +0000 (10:41 +0000)]
Merge "test: helper to skip tests depending on 'gzip'"
btongminh [Tue, 1 Jan 2013 14:01:03 +0000 (15:01 +0100)]
Dump unit tests no longer fail if gzip is not available
Change-Id: Id1890984124028cb44960977c18572f1f6fded4c