lhc/web/wiklou.git
11 years agoMerge "Improve the shell cgroup feature"
jenkins-bot [Thu, 7 Feb 2013 18:40:49 +0000 (18:40 +0000)]
Merge "Improve the shell cgroup feature"

11 years agoMerge "(bug 44253) Add message when there are few watchers"
jenkins-bot [Thu, 7 Feb 2013 18:10:15 +0000 (18:10 +0000)]
Merge "(bug 44253) Add message when there are few watchers"

11 years agoMerge "update the sites cache version"
jenkins-bot [Thu, 7 Feb 2013 18:08:21 +0000 (18:08 +0000)]
Merge "update the sites cache version"

11 years ago[ExternalStore] Added ExternalStoreMwstore class that uses a file backend.
Aaron Schulz [Sun, 3 Feb 2013 01:09:16 +0000 (17:09 -0800)]
[ExternalStore] Added ExternalStoreMwstore class that uses a file backend.

Change-Id: I7785a621fe32f549b2e7c636f2b6e7b18be367f4

11 years agoAdded UIDGenerator class for getting statistically unique IDs.
Aaron Schulz [Wed, 5 Dec 2012 19:48:46 +0000 (11:48 -0800)]
Added UIDGenerator class for getting statistically unique IDs.

* This is useful for making IDs for object in partitioned stores.
* The "UID" functions are not called "UUIDs" since they don't follow RFC4122.
  This is for performance reasons since the ID fields tend to be indexed.
* This includes newUUIDv4(), which is compliant with the aforementioned RFC.

This reverts commit 86f895bfe395d9fe00792422b052e7ebf43c7ae9.

Change-Id: I989626dfb7976d17f5931a34fe040f41cf14dfe3

11 years agoMerge "[JobQueue] Added unit tests for job queue code."
jenkins-bot [Thu, 7 Feb 2013 17:25:44 +0000 (17:25 +0000)]
Merge "[JobQueue] Added unit tests for job queue code."

11 years ago[JobQueue] Added unit tests for job queue code.
Aaron Schulz [Wed, 6 Feb 2013 22:45:33 +0000 (14:45 -0800)]
[JobQueue] Added unit tests for job queue code.

Change-Id: I13f2dd555ea807b5d13ea9fbee6626d6a8f5aab3

11 years agoupdate the sites cache version
aude [Thu, 7 Feb 2013 16:39:10 +0000 (16:39 +0000)]
update the sites cache version

Change-Id: I422218328ea08a1f60eed3aa5b5a30ec3ade439c

11 years agoMerge "Fixed E_STRICT notices in PostgresUpdater::renameIndex()."
IAlex [Thu, 7 Feb 2013 11:22:35 +0000 (11:22 +0000)]
Merge "Fixed E_STRICT notices in PostgresUpdater::renameIndex()."

11 years agoMerge "Show no size links on image pages with errors"
IAlex [Thu, 7 Feb 2013 11:13:36 +0000 (11:13 +0000)]
Merge "Show no size links on image pages with errors"

11 years agoMerge "(bug 44141) Vector: Phase out one-pixel images."
Trevor Parscal [Thu, 7 Feb 2013 00:44:19 +0000 (00:44 +0000)]
Merge "(bug 44141) Vector: Phase out one-pixel images."

11 years ago(bug 44141) Vector: Phase out one-pixel images.
MatmaRex [Sat, 19 Jan 2013 13:50:13 +0000 (14:50 +0100)]
(bug 44141) Vector: Phase out one-pixel images.

Replace background-image declarations with background or border.
Interestingly some of the elements already had a background-color
set (different from the color in the image background).
Those colors were fixed.

Additionally, move the borders of #content from three different elements to #content itself.

Removed the now-unused files as well. preferences-edge.png was already unused before my changes.

Change-Id: I0a1fed69e05cd05ee6dae54aaca8e7f5dc837723

11 years agoRemoved cruft variable assignment.
Aaron Schulz [Wed, 6 Feb 2013 23:51:38 +0000 (15:51 -0800)]
Removed cruft variable assignment.

Change-Id: Ifb075fe53a220fea56f2f0e39906f4e4807fa891

11 years agoMerge "Improve description of paths/urls in the INSTALL file."
jenkins-bot [Wed, 6 Feb 2013 22:12:04 +0000 (22:12 +0000)]
Merge "Improve description of paths/urls in the INSTALL file."

11 years agoImprove description of paths/urls in the INSTALL file.
Platonides [Sat, 2 Feb 2013 22:42:31 +0000 (23:42 +0100)]
Improve description of paths/urls in the INSTALL file.

Based on the thread http://thread.gmane.org/gmane.org.wikimedia.mediawiki/40991

Also updated the outdated piece about Math extension.

Change-Id: Ia778489d061d8cdfd589ebe5202152f8207530e5

11 years agoMerge "Deprecate in_string()"
IAlex [Wed, 6 Feb 2013 20:57:50 +0000 (20:57 +0000)]
Merge "Deprecate in_string()"

11 years agoMerge " Localisation updates from http://translatewiki.net."
Translation updater bot [Wed, 6 Feb 2013 20:20:13 +0000 (20:20 +0000)]
Merge " Localisation updates from translatewiki.net."

11 years agoMerge "Remove Preprocessor_HipHop"
jenkins-bot [Wed, 6 Feb 2013 20:07:44 +0000 (20:07 +0000)]
Merge "Remove Preprocessor_HipHop"

11 years ago Localisation updates from http://translatewiki.net.
Translation updater bot [Wed, 6 Feb 2013 19:55:58 +0000 (19:55 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I9f86757672a326421b254e5d9ef74ea3f20c11d9

11 years agoDeprecate in_string()
Chad Horohoe [Wed, 6 Feb 2013 19:38:57 +0000 (14:38 -0500)]
Deprecate in_string()

It's a silly wrapper for something you can do in one line
of PHP anyway.

Change-Id: Ib85e4aaa20e62fe5f218b38cf0759c9c799c3381

11 years agoMerge "(bug 29472) kill $wgUseDynamicDates"
jenkins-bot [Wed, 6 Feb 2013 19:38:29 +0000 (19:38 +0000)]
Merge "(bug 29472) kill $wgUseDynamicDates"

11 years agoMerge "(bug 43801) add a getter for ICU version to ICUCollation"
jenkins-bot [Wed, 6 Feb 2013 19:35:36 +0000 (19:35 +0000)]
Merge "(bug 43801) add a getter for ICU version to ICUCollation"

11 years agoMerge "style: fix up commas in function arguments"
jenkins-bot [Wed, 6 Feb 2013 18:53:12 +0000 (18:53 +0000)]
Merge "style: fix up commas in function arguments"

11 years agostyle: fix up commas in function arguments
Antoine Musso [Wed, 30 Jan 2013 14:03:58 +0000 (15:03 +0100)]
style: fix up commas in function arguments

Fix up spaces in our function calls, we do not want spaces before a
comma and try to avoid multiple commas whenever possible.

Errors:

* No space found after comma in function call
* Space found before comma in function call

Change-Id: I51aec02016f742422fa60b92ad35ba3f0ef59ba3

11 years ago[JobQueue] Improved job recycle rate for small queues.
Aaron Schulz [Sat, 12 Jan 2013 00:13:29 +0000 (16:13 -0800)]
[JobQueue] Improved job recycle rate for small queues.

* Make the recycling a bit more periodic rather than based on
  how often pop() gets called essentially. This works better if
  a queue does not have jobs inserted very often.

Change-Id: I64fbc8afbb1cf096717ba4bfc6fe7b7715abdb72

11 years ago(bug 29472) kill $wgUseDynamicDates
MatmaRex [Wed, 6 Feb 2013 16:35:46 +0000 (17:35 +0100)]
(bug 29472) kill $wgUseDynamicDates

Remove $wgUseDynamicDates and everything related to it.

I left DateFormatter::reformat() alone, since it might possibly be
used elsewhere, and to be honest I'm afraid to touch it.

Change-Id: I609db8471c14e5e5946916f085d2ee5b96204d81

11 years agoMerge "By default, keep users in HTTPS with wgSecureLogin"
jenkins-bot [Wed, 6 Feb 2013 15:15:16 +0000 (15:15 +0000)]
Merge "By default, keep users in HTTPS with wgSecureLogin"

11 years agoMerge "Drop parenthesis from no/nb/nn to match CLDR"
jenkins-bot [Wed, 6 Feb 2013 14:12:29 +0000 (14:12 +0000)]
Merge "Drop parenthesis from no/nb/nn to match CLDR"

11 years agoMerge "Changes to composer.json."
jenkins-bot [Wed, 6 Feb 2013 10:40:01 +0000 (10:40 +0000)]
Merge "Changes to composer.json."

11 years agoRemove Preprocessor_HipHop
Tim Starling [Wed, 6 Feb 2013 03:44:10 +0000 (14:44 +1100)]
Remove Preprocessor_HipHop

To reduce the maintenance burden for changes such as Id7ec4e69. The
project to optimise the preprocessor for hiphop is incomplete and is not
especially useful given the present state of hiphop support.

Change-Id: Iebcfe4d40f74520e29e7feb522251892fab2f652

11 years ago(bug 27936) Improve parser handling of nested braces.
Dan Collins [Tue, 22 May 2012 23:56:33 +0000 (19:56 -0400)]
(bug 27936) Improve parser handling of nested braces.

Parser tests also included, test case and original patch supplied by
Bergi on bugzilla. Tested against the current version.

Change-Id: Id7ec4e694783dd0f682f65f39d8b9e59f82e58aa

11 years agoMerge "limit memory via cgroups if available"
jenkins-bot [Tue, 5 Feb 2013 22:56:16 +0000 (22:56 +0000)]
Merge "limit memory via cgroups if available"

11 years ago(bug 29788) Swedish Collation (uppercase-sv). Swaps Ä and Æ
Brian Wolff [Tue, 15 Jan 2013 21:09:46 +0000 (17:09 -0400)]
(bug 29788) Swedish Collation (uppercase-sv). Swaps Ä and Æ

See I4542f57a. Meant as a temporary meassure until such a time
generic tailoring code is implemented for uca. This patch
is mostly Lejonel's code, with the class renamed.

Change-Id: Id39406c37a5277d9e7a9216544de2140411c2b01

11 years agoChanges to composer.json.
Tyler Anthony Romeo [Tue, 5 Feb 2013 15:45:24 +0000 (10:45 -0500)]
Changes to composer.json.

* repository information so version information can be inferred from
  tags rather than set statically.
* phpunit as a dev requirement
* APC as a suggested package.

Change-Id: I3f5b07c716e7aa426484bd313af09801c6e3fde2

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Tue, 5 Feb 2013 21:34:13 +0000 (21:34 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 5 Feb 2013 21:01:09 +0000 (21:01 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ib722ed9fdd8dc3314ceb7dc535acf2f16862b4a3

11 years agoMerge "[JobQueue] Update "empty" cache key when jobs are recycled."
jenkins-bot [Tue, 5 Feb 2013 20:53:06 +0000 (20:53 +0000)]
Merge "[JobQueue] Update "empty" cache key when jobs are recycled."

11 years agoMerge "API: Fix using the same module as generator and prop"
jenkins-bot [Tue, 5 Feb 2013 20:38:32 +0000 (20:38 +0000)]
Merge "API: Fix using the same module as generator and prop"

11 years agoMerge "[FileBackend] Documentation tweaks."
jenkins-bot [Tue, 5 Feb 2013 20:17:07 +0000 (20:17 +0000)]
Merge "[FileBackend] Documentation tweaks."

11 years ago[JobQueue] Update "empty" cache key when jobs are recycled.
Aaron Schulz [Tue, 5 Feb 2013 20:09:21 +0000 (12:09 -0800)]
[JobQueue] Update "empty" cache key when jobs are recycled.

Change-Id: Iadc78e7d64750211b0168492e41fb871ce9be208

11 years agoAPI: Fix using the same module as generator and prop
Brad Jorsch [Tue, 5 Feb 2013 20:08:12 +0000 (15:08 -0500)]
API: Fix using the same module as generator and prop

Change Ie2dee41e introduced a bug when using the same module as both
generator and prop, e.g.
?action=query&titles=Main_Page&generator=categories&prop=categories

The generator should be an uncached instance of the module.

Change-Id: I80c8b3a715f266a61614c1e1d02aa80b72643ec8

11 years agoMerge "API module manager and help rewrite"
jenkins-bot [Tue, 5 Feb 2013 18:51:00 +0000 (18:51 +0000)]
Merge "API module manager and help rewrite"

11 years agoMerge "(bug 34211) Initial focus on Special:Block is nowhere"
jenkins-bot [Tue, 5 Feb 2013 18:15:25 +0000 (18:15 +0000)]
Merge "(bug 34211) Initial focus on Special:Block is nowhere"

11 years agoMerge "(bug 43560) Initial input focus on Special:ListUsers isn't set"
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"

11 years agoAdded MediaWiki version to composer.json
jeroendedauw [Tue, 5 Feb 2013 13:51:46 +0000 (14:51 +0100)]
Added MediaWiki version to composer.json

Change-Id: I1661298e404ba25eae3d546baa77ed98f227b82f

11 years agoadded wiki entry in support section of composer.json
jeroendedauw [Tue, 5 Feb 2013 13:45:19 +0000 (14:45 +0100)]
added wiki entry in support section of composer.json

Change-Id: I0668f7dbacb7fc9c02d774bf58ab4787637617af

11 years agocomposer.json to register MediaWiki in Packagist
jeroendedauw [Mon, 4 Feb 2013 21:37:28 +0000 (22:37 +0100)]
composer.json to register MediaWiki in Packagist

Change-Id: I9fc76e3fdecf428c5296ddad812006cb3cca3d23

11 years agoMerge "Clarify move over redirect in movepagetext"
Raimond Spekking [Tue, 5 Feb 2013 07:50:20 +0000 (07:50 +0000)]
Merge "Clarify move over redirect in movepagetext"

11 years ago[FileBackend] Documentation tweaks.
Aaron Schulz [Tue, 5 Feb 2013 07:20:18 +0000 (23:20 -0800)]
[FileBackend] Documentation tweaks.

Change-Id: I63b03207a18c7523675a4929031dc560a2d8b5f8

11 years agoAPI module manager and help rewrite
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

11 years agoBug 43343 add zone "transcoded" for audio/video
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

11 years agoImprove the shell cgroup feature
Tim Starling [Tue, 5 Feb 2013 04:19:53 +0000 (15:19 +1100)]
Improve the shell cgroup feature

* Make the cgroup name configurable, so that it can be switched on and
  off in configuration, or so a different cgroup can be used for
  different wikis. The DefaultSettings.php entry also makes the feature
  more discoverable and so more useful to non-Wikimedia users.

* Send named parameters to the shell script instead of numbered
  parameters. Send the command as argument 1, for easier ps -f
  interpretation.

* Move the wrapper script to includes/, since it doesn't need to be
  executable anymore, so it doesn't make sense for it to be in bin/.

* Remove the requirement for a release script to be used. Clean up in
  the wrapper script instead. The release script had to be configured
  globally, which might not be suitable for all MediaWiki installations.

Change-Id: Ic8362cab63df162852d5df56cf695ef163cd6232

11 years agolimit memory via cgroups if available
Jan Gerber [Fri, 21 Dec 2012 10:19:35 +0000 (10:19 +0000)]
limit memory via cgroups if available

If cgroups are setup use them to limit memory if run via ulimit5.sh
Change I029a3999 enables cgroups on imagescalers

Change-Id: Iaa83812230214e448d436078a06bdc2ae9ae1e38

11 years agoMerge "[FileBackend] Set ignore_user_abort() in file operations."
jenkins-bot [Mon, 4 Feb 2013 23:16:35 +0000 (23:16 +0000)]
Merge "[FileBackend] Set ignore_user_abort() in file operations."

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Mon, 4 Feb 2013 22:26:46 +0000 (22:26 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "(bug 40044) make $.tablesorter treat alt attribute like text"
jenkins-bot [Mon, 4 Feb 2013 22:14:38 +0000 (22:14 +0000)]
Merge "(bug 40044) make $.tablesorter treat alt attribute like text"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 4 Feb 2013 22:02:24 +0000 (22:02 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I73f6a76d104c780e43cb6fee55b9c0901abefe11

11 years ago(Bug 37957) Replace php_sapi_name() with PHP_SAPI
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

11 years agoMerge "Fixes to the "reset password" mode of Special:ChangeEmail"
jenkins-bot [Mon, 4 Feb 2013 20:30:29 +0000 (20:30 +0000)]
Merge "Fixes to the "reset password" mode of Special:ChangeEmail"

11 years agofix some spacing
umherirrender [Sun, 3 Feb 2013 20:05:24 +0000 (21:05 +0100)]
fix some spacing

Change-Id: I8f976013f33c5818e4402604fe8610aa3f43b0c6

11 years agofix some spacing
umherirrender [Sun, 3 Feb 2013 19:42:08 +0000 (20:42 +0100)]
fix some spacing

Change-Id: I88e73d47a552918880514d88a876296a6cb80d88

11 years agofix some spacing
umherirrender [Sun, 3 Feb 2013 19:28:43 +0000 (20:28 +0100)]
fix some spacing

Change-Id: Ia9650be8b791fd2f0ccbc099436918a9d12d9968

11 years agofix some spacing
umherirrender [Sun, 3 Feb 2013 18:47:42 +0000 (19:47 +0100)]
fix some spacing

Change-Id: I670a7baf3ba1e70d18346bb00938d518ba2063bd

11 years agofix some spacing
umherirrender [Sun, 3 Feb 2013 18:30:03 +0000 (19:30 +0100)]
fix some spacing

Change-Id: I93f0a87ba7129bc336083e7289247d3150feb606

11 years agoFixes to the "reset password" mode of Special:ChangeEmail
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

11 years agoMerge "(bug 44595) LanguageTest::testIsSupportedLanguage fails on Windows"
jenkins-bot [Mon, 4 Feb 2013 18:58:51 +0000 (18:58 +0000)]
Merge "(bug 44595) LanguageTest::testIsSupportedLanguage fails on Windows"

11 years agoFixed E_STRICT notices in PostgresUpdater::renameIndex().
Aaron Schulz [Sun, 3 Feb 2013 06:12:06 +0000 (22:12 -0800)]
Fixed E_STRICT notices in PostgresUpdater::renameIndex().

* This function has to the match base function to avoid warnings.

Change-Id: I66fbfe6528fe4f4ff56cba62d446d9a359edc658

11 years agoMerge "[JobQueue] Cross-wiki queue access cleanups."
jenkins-bot [Mon, 4 Feb 2013 18:12:47 +0000 (18:12 +0000)]
Merge "[JobQueue] Cross-wiki queue access cleanups."

11 years agoClarify move over redirect in movepagetext
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

11 years agoMerge "Respect --quiet in mergeMessageFileList.php"
jenkins-bot [Mon, 4 Feb 2013 09:31:03 +0000 (09:31 +0000)]
Merge "Respect --quiet in mergeMessageFileList.php"

11 years agoMerge "(bug 43915) Implement deleteEqualMessages.php"
jenkins-bot [Mon, 4 Feb 2013 01:10:44 +0000 (01:10 +0000)]
Merge "(bug 43915) Implement deleteEqualMessages.php"

11 years ago[JobQueue] Cross-wiki queue access cleanups.
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

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 3 Feb 2013 20:27:27 +0000 (20:27 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I224278b915321480105e3de4034a97d33b015e87

11 years agostyle: normalize end of files
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

11 years agoDrop parenthesis from no/nb/nn to match CLDR
Niklas Laxström [Sun, 3 Feb 2013 08:55:36 +0000 (08:55 +0000)]
Drop parenthesis from no/nb/nn to match CLDR

Causes inconsistencies when displaying these language
names together in one of these languages, because
MW version is preferred for the autonym while
rest comes from CLDR if available.

Change-Id: Ice6a05f351147efb973fb04bbc339ccad961dde4

11 years ago(bug 44595) LanguageTest::testIsSupportedLanguage fails on Windows
Niklas Laxström [Sun, 3 Feb 2013 08:36:56 +0000 (08:36 +0000)]
(bug 44595) LanguageTest::testIsSupportedLanguage fails on Windows

Change-Id: I0d7ff996eb737cfe4a4748ed2399a9b1973808d0

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 2 Feb 2013 21:14:31 +0000 (21:14 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I2061d9581a4644807955dc566a7a4f535879808d

11 years agoShow no size links on image pages with errors
umherirrender [Sat, 2 Feb 2013 11:29:49 +0000 (12:29 +0100)]
Show no size links on image pages with errors

This avoids useless
"Size of this preview: . Other resolutions:  |  |  | ."
on image pages.

Change-Id: Ieb2787a736ec5ae409ad17dd9919f4975f0b843e

11 years agoMerge "Include Postgres tables and maintenance scripts for Change I23c47c2c"
jenkins-bot [Sat, 2 Feb 2013 11:07:57 +0000 (11:07 +0000)]
Merge "Include Postgres tables and maintenance scripts for Change I23c47c2c"

11 years agoMerge "refactor Database::makeSelectOptions"
jenkins-bot [Sat, 2 Feb 2013 00:14:08 +0000 (00:14 +0000)]
Merge "refactor Database::makeSelectOptions"

11 years agoMerge "New list and table attr. tests based on recent Parsoid bug fixes."
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."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 1 Feb 2013 22:01:22 +0000 (22:01 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I039071abeaa87e70cb8d1156238f127a5aec956d

11 years agoNew list and table attr. tests based on recent Parsoid bug fixes.
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

11 years ago[FileBackend] Set ignore_user_abort() in file operations.
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

11 years agoInclude Postgres tables and maintenance scripts for Change I23c47c2c
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

11 years agoAdd column job_attempts and index job_cmd_token_id to PostgreSQL.
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

11 years ago[LockManager] Renamed getBucketFromKey() -> getBucketFromPath().
Aaron Schulz [Fri, 1 Feb 2013 18:55:07 +0000 (10:55 -0800)]
[LockManager] Renamed getBucketFromKey() -> getBucketFromPath().

Change-Id: I825dcd255f0b85f81bf925abf46bc46b1fe42e9f

11 years agoMerge "Profiling for hook calls."
jenkins-bot [Fri, 1 Feb 2013 18:53:27 +0000 (18:53 +0000)]
Merge "Profiling for hook calls."

11 years ago[LockManager] Generallized wiki field to a domain field.
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

11 years agoMerge "Fixed use of long memcached keys in AllPages."
jenkins-bot [Fri, 1 Feb 2013 18:16:09 +0000 (18:16 +0000)]
Merge "Fixed use of long memcached keys in AllPages."

11 years agoMerge "[FileBackend] Added more documentation."
jenkins-bot [Fri, 1 Feb 2013 18:11:05 +0000 (18:11 +0000)]
Merge "[FileBackend] Added more documentation."

11 years agoMerge "[LockManager] Updated DBLockManager for cross-wiki support."
jenkins-bot [Fri, 1 Feb 2013 18:06:04 +0000 (18:06 +0000)]
Merge "[LockManager] Updated DBLockManager for cross-wiki support."

11 years agoMerge "[LockManager] Split QuorumLockManager into its own file."
jenkins-bot [Fri, 1 Feb 2013 18:04:13 +0000 (18:04 +0000)]
Merge "[LockManager] Split QuorumLockManager into its own file."

11 years agoMerge "Log profiling info from maintenance scripts."
jenkins-bot [Fri, 1 Feb 2013 18:02:05 +0000 (18:02 +0000)]
Merge "Log profiling info from maintenance scripts."

11 years agoAdd return to HttpError::getStatusCode.
daniel [Fri, 1 Feb 2013 15:17:12 +0000 (16:17 +0100)]
Add return to HttpError::getStatusCode.

Oops...

Change-Id: I4fb5bd11be340870d903d62e1329b1181f72e695

11 years agoProfiling for hook calls.
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

11 years agoLog profiling info from maintenance scripts.
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

11 years ago[LockManager] Split QuorumLockManager into its own file.
Aaron Schulz [Fri, 1 Feb 2013 06:28:55 +0000 (22:28 -0800)]
[LockManager] Split QuorumLockManager into its own file.

Change-Id: Ib487a39b04ac9de3449695ac388c95ae45933469

11 years ago[FileBackend] Added more documentation.
Aaron Schulz [Fri, 1 Feb 2013 06:06:57 +0000 (22:06 -0800)]
[FileBackend] Added more documentation.

Change-Id: I6a0f0dc253fbe82a58345d4179248071062286ff

11 years ago(bug 43915) Implement deleteEqualMessages.php
Timo Tijhof [Sun, 13 Jan 2013 01:06:15 +0000 (02:06 +0100)]
(bug 43915) Implement deleteEqualMessages.php

Change-Id: I97529b775d4db4f996c40395c891a0049d2e43c5