lhc/web/wiklou.git
11 years agoMerge "(bug 43801) add a getter for ICU version to ICUCollation"
Brian Wolff [Fri, 8 Feb 2013 21:04:21 +0000 (21:04 +0000)]
Merge "(bug 43801) add a getter for ICU version to ICUCollation"

11 years ago(bug 43801) add a getter for ICU version to ICUCollation
MatmaRex [Fri, 18 Jan 2013 21:36:32 +0000 (22:36 +0100)]
(bug 43801) add a getter for ICU version to ICUCollation

It will be necessary to be able to use correct version of Unicode
data files.

The constant INTL_ICU_VERSION this getter returns isn't really
documented. It is available since PHP 5.3.7 (see PHP bug 54561),
the getter will fail gracefully on older PHPs. It should be possible to
determine the ICU version on these by grepping the output of phpinfo(),
but I don't think such a minor improvement is worth such a huge hack.

Change-Id: I85353559439bfddee7c5ba90894d30dd8ef0e0e8

11 years agoAPI PageSet allows generator for non-query modules
Yuri Astrakhan [Fri, 8 Feb 2013 20:39:40 +0000 (15:39 -0500)]
API PageSet allows generator for non-query modules

* PageSet can now be used in any action to process titles/pageids/revids
or any generator, redirects resolution, and converttitle functionality.
* action=purge proper usage of MustBePosted()
* Add supports for all pageset capabilities - generators, redirects, converttitles to
  action=purge and action=setnotificationtimestamp
* BREAKING CHANGE: ApiPageSet constructor now has two params instead of three, with only the
  first one keeping its meaning. ApiPageSet is now derived from ApiBase.
* BREAKING CHANGE: ApiQuery::newGenerator() and executeGeneratorModule() were deleted.

Change-Id: I7a3d7b6eb015d21ec1a9b9d9c6af9d97663f3f9a

11 years agoMerge "apitests leaks wgUser"
IAlex [Fri, 8 Feb 2013 19:33:56 +0000 (19:33 +0000)]
Merge "apitests leaks wgUser"

11 years agoAdd null lock manager to parser tests to support code that uses it by default.
Matthew Flaschen [Fri, 8 Feb 2013 18:23:36 +0000 (13:23 -0500)]
Add null lock manager to parser tests to support code that uses it by default.

Change-Id: I938bd1b64a1b1ff241555f157c0ba737d72ee48d

11 years agoapitests leaks wgUser
umherirrender [Fri, 8 Feb 2013 17:57:16 +0000 (18:57 +0100)]
apitests leaks wgUser

1) ParserTests::testParserTest with data set #468 ('pre-save transform:
Signature expansion', '* ~~~
* <noinclude>~~~</noinclude>
* <includeonly>~~~</includeonly>
* <onlyinclude>~~~</onlyinclude>', '*
[[Special:Contributions/127.0.0.1|127.0.0.1]]
* <noinclude>[[Special:Contributions/127.0.0.1|127.0.0.1]]</noinclude>
*
<includeonly>[[Special:Contributions/127.0.0.1|127.0.0.1]]</includeonly>
*
<onlyinclude>[[Special:Contributions/127.0.0.1|127.0.0.1]]</onlyinclude>',
'pst', '')
pre-save transform: Signature expansion
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'* [[Special:Contributions/127.0.0.1|127.0.0.1]]
-* <noinclude>[[Special:Contributions/127.0.0.1|127.0.0.1]]</noinclude>
-*
<includeonly>[[Special:Contributions/127.0.0.1|127.0.0.1]]</includeonly>
-*
<onlyinclude>[[Special:Contributions/127.0.0.1|127.0.0.1]]</onlyinclude>'
+'* [[User:Apitestsysop|Apitestsysop]] ([[User talk:Apitestsysop|talk]])
+* <noinclude>[[User:Apitestsysop|Apitestsysop]] ([[User
talk:Apitestsysop|talk]])</noinclude>
+* <includeonly>[[User:Apitestsysop|Apitestsysop]] ([[User
talk:Apitestsysop|talk]])</includeonly>
+* <onlyinclude>[[User:Apitestsysop|Apitestsysop]] ([[User
talk:Apitestsysop|talk]])</onlyinclude>'

Change-Id: Ia72f9242deb5c6109d38b56dd46ef92fa6386278

11 years agoMerge "fix logic introduced in addNewAccountInternal"
jenkins-bot [Fri, 8 Feb 2013 17:19:33 +0000 (17:19 +0000)]
Merge "fix logic introduced in addNewAccountInternal"

11 years agoMerge "Reformatted to satisfy PHP_CodeSniffer"
jenkins-bot [Fri, 8 Feb 2013 16:01:32 +0000 (16:01 +0000)]
Merge "Reformatted to satisfy PHP_CodeSniffer"

11 years agoAdd languages anp, ks, mai and pi to the line-height fix
Amir E. Aharoni [Fri, 8 Feb 2013 11:22:48 +0000 (16:52 +0530)]
Add languages anp, ks, mai and pi to the line-height fix

More Devanagari-based languages found in Names.php.

Change-Id: Icab488bb509a3fa59d8d5a07c566504bda76e740

11 years agoAdd languages ne and new to the line-height adjustment
Amir E. Aharoni [Fri, 8 Feb 2013 11:01:37 +0000 (16:31 +0530)]
Add languages ne and new to the line-height adjustment

They are written in Devanagari, like hi, mr and others in the list.

Change-Id: I9704490ed3d8047427be0d8c71f62aea305fc964

11 years agoMerge "API tests to verify basic query functionality (list & props)"
jenkins-bot [Fri, 8 Feb 2013 09:45:44 +0000 (09:45 +0000)]
Merge "API tests to verify basic query functionality (list & props)"

11 years agofix logic introduced in addNewAccountInternal
S Page [Fri, 8 Feb 2013 07:46:27 +0000 (23:46 -0800)]
fix logic introduced in addNewAccountInternal

Jenkins' PHP codesniffer complains about the whitespace at line 318.
I'm pretty sure gerrit 17952 (commit 69ea4400) introduced bad logic.
Part of the if statement boils down to
    userExists( userName ||  authenticate( userName, password) )
if userName is falsy then it calls userExists on the boolean return
value of authenticate().  I think this change puts it back to the way it
was.

Change-Id: If334464ffa993490abe8919591a18a4c3935bcfb

11 years agoMerge "Expand $wgLanguageCode documentation"
IAlex [Fri, 8 Feb 2013 07:14:40 +0000 (07:14 +0000)]
Merge "Expand $wgLanguageCode documentation"

11 years agoReformatted to satisfy PHP_CodeSniffer
Siebrand Mazeland [Tue, 22 Jan 2013 18:19:24 +0000 (19:19 +0100)]
Reformatted to satisfy PHP_CodeSniffer

* Removed inline tabs.
* Removed pretty formatting of key-value pairs.
* Other miscellaneous formatting fixes.

Change-Id: I86170714dc22a8654027a8351e8d28226e822183

11 years agoAPI tests to verify basic query functionality (list & props)
Yuri Astrakhan [Fri, 8 Feb 2013 06:45:19 +0000 (01:45 -0500)]
API tests to verify basic query functionality (list & props)

* Several tests to verify query with prop=, list=, and generator
* Moved query related tests to query\ dir
* Added a generic ApiTestCase::editPage() to simplify page creation
* Fixed minor warnings complained by jenkins/phpcs

Change-Id: I5e3984d797178ae03f048792c7bac8e6a881aa41

11 years agoReplace AJAX by search in 'mwsuggest-disable'
Siebrand Mazeland [Fri, 8 Feb 2013 06:25:52 +0000 (07:25 +0100)]
Replace AJAX by search in 'mwsuggest-disable'

AJAX is jargon that is most probbly not understood by the average user.
Brought up by Tgr in
https://translatewiki.net/wiki/Thread:Support/MediaWiki:Mwsuggest-disable_is_too_technical

Change-Id: I736d0c16dab50b3e313652c3b9b2680fa104ad32

11 years agoMerge "Weaken the recursion guard on RequestContext::getLanguage()"
Tim Starling [Fri, 8 Feb 2013 05:41:46 +0000 (05:41 +0000)]
Merge "Weaken the recursion guard on RequestContext::getLanguage()"

11 years agoWeaken the recursion guard on RequestContext::getLanguage()
Tim Starling [Fri, 8 Feb 2013 05:38:41 +0000 (16:38 +1100)]
Weaken the recursion guard on RequestContext::getLanguage()

Just log and soldier on, since for some reason we are seeing a lot of
these exceptions at the moment, with multiple root causes. Based on Matt
Walker's I49dbc2d7. Updates Idc11b547. See bug 44754.

Change-Id: I2e8c062741c1b2ec2acd68dc76d3fb6efb113571

11 years agoMerge "[JobQueue] Added a JobQueueRedis class."
Tim Starling [Fri, 8 Feb 2013 05:01:34 +0000 (05:01 +0000)]
Merge "[JobQueue] Added a JobQueueRedis class."

11 years agoExpand $wgLanguageCode documentation
Niklas Laxström [Fri, 8 Feb 2013 04:47:55 +0000 (04:47 +0000)]
Expand $wgLanguageCode documentation

Includes warning for bug 44747

Change-Id: Ib18c988731afcbe94703bb4e2ca47effa58e2904

11 years agoMerge "mediawiki.action.view.dblClickEdit: Fix undefined $content."
jenkins-bot [Fri, 8 Feb 2013 03:41:57 +0000 (03:41 +0000)]
Merge "mediawiki.action.view.dblClickEdit: Fix undefined $content."

11 years agomake jquery.json module run on mobile
jrobson [Fri, 8 Feb 2013 01:03:03 +0000 (17:03 -0800)]
make jquery.json module run on mobile

Currently needed by the EventLogging module

Change-Id: I78fc3d3937e1489f142abdb35793e616a8a18d2e

11 years agoMerge "(bug 44748) Load default variant tables before using them"
jenkins-bot [Fri, 8 Feb 2013 00:29:33 +0000 (00:29 +0000)]
Merge "(bug 44748) Load default variant tables before using them"

11 years agoMerge "Fixed bogus function call."
jenkins-bot [Thu, 7 Feb 2013 22:49:59 +0000 (22:49 +0000)]
Merge "Fixed bogus function call."

11 years agoFixed bogus function call.
Aaron Schulz [Thu, 7 Feb 2013 22:42:26 +0000 (14:42 -0800)]
Fixed bogus function call.

Change-Id: I7357a1fb9d51660f81ed611260d82d11674342d9

11 years ago(bug 44748) Load default variant tables before using them
Marius Hoch [Thu, 7 Feb 2013 21:59:42 +0000 (22:59 +0100)]
(bug 44748) Load default variant tables before using them

Change-Id: I69c4348e66279763fccec77a68c47ebc87d33008

11 years agoClean up ApiQueryImageInfo continuation
Brad Jorsch [Fri, 1 Feb 2013 22:17:19 +0000 (17:17 -0500)]
Clean up ApiQueryImageInfo continuation

Reviewing this code, I spotted a few issues:
* 'imagerepository' is added to non-images, and to images that were
  skipped this round due to iicontinue. The latter is particularly
  troublesome, as clients may wind up with an incorrect value when
  merging continued results.
* Say two images are being queried, A.jpg and B.jpg. If the query needs
  to be continued somewhere in the middle of A.jpg's old versions, but
  then A.jpg is deleted before the client sends the continuation query,
  it will start in the middle of B.jpg's old versions instead of at the
  beginning of B.jpg's revisions.
* If the query needs to be continued somewhere in the middle of A.jpg's
  old versions, but in the continuation query some other module that is
  also being continued fills the result object, iicontinue will be
  reset to the *beginning* of A.jpg's old versions instead of preserving
  the position in the middle.

Change-Id: I08e2941010c7a70ff90b6244bfddd5ed0540fc9f

11 years agoMerge "Made Page an interface, since it is only there to pass type checks."
jenkins-bot [Thu, 7 Feb 2013 21:11:11 +0000 (21:11 +0000)]
Merge "Made Page an interface, since it is only there to pass type checks."

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Thu, 7 Feb 2013 20:48:26 +0000 (20:48 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "Use wfShellExec() in UIDGenerator and style fixes."
jenkins-bot [Thu, 7 Feb 2013 20:46:50 +0000 (20:46 +0000)]
Merge "Use wfShellExec() in UIDGenerator and style fixes."

11 years agoMade Page an interface, since it is only there to pass type checks.
Aaron Schulz [Thu, 7 Feb 2013 20:46:02 +0000 (12:46 -0800)]
Made Page an interface, since it is only there to pass type checks.

Change-Id: Ifc2b754027c02bd2907010a47f125bb9544bb609

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 7 Feb 2013 20:22:51 +0000 (20:22 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I3873e9754d7ceee537564dab61293f45a43b9296

11 years agoUse wfShellExec() in UIDGenerator and style fixes.
Tyler Anthony Romeo [Thu, 7 Feb 2013 18:13:58 +0000 (13:13 -0500)]
Use wfShellExec() in UIDGenerator and style fixes.

Replaced backtick commands with wfShellExec() so that
the proper shell timeouts are applied. Also made some
minor style changes (added spaces after casting, got
rid of vertical alignment).

Change-Id: I9a8e9cb689279881f7bdea281c0107d613c3a7a8

11 years agoMerge "[ExternalStore] Small documentation tweaks."
jenkins-bot [Thu, 7 Feb 2013 18:42:41 +0000 (18:42 +0000)]
Merge "[ExternalStore] Small documentation tweaks."

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 ago[ExternalStore] Small documentation tweaks.
Aaron Schulz [Thu, 7 Feb 2013 18:04:41 +0000 (10:04 -0800)]
[ExternalStore] Small documentation tweaks.

Change-Id: I8c94dc3b1c69239c67d7ea9382e45b7f2aacd694

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 agomediawiki.action.view.dblClickEdit: Fix undefined $content.
Timo Tijhof [Wed, 6 Feb 2013 01:57:52 +0000 (17:57 -0800)]
mediawiki.action.view.dblClickEdit: Fix undefined $content.

Regression from Ie8a35700.

Bug: 44522
Change-Id: I5f0388ae1307302bacebc9aa86bb83ceb82e30fb

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