lhc/web/wiklou.git
11 years agoBug 35623 - createAndPromote.php: Change to allow promotion only
Mark A. Hershberger [Thu, 30 Aug 2012 23:54:20 +0000 (19:54 -0400)]
Bug 35623 - createAndPromote.php: Change to allow promotion only

Introduces the --force option to promote the user even if it already exists.

Change-Id: Id0cd0e49a46f78fdbff3560adf23ba0c33aae430

11 years agoMerge "(Bug 27559) Preserve tab selection after submit in [[Special:Preferences]]"
jenkins-bot [Mon, 11 Feb 2013 09:08:36 +0000 (09:08 +0000)]
Merge "(Bug 27559) Preserve tab selection after submit in [[Special:Preferences]]"

11 years agoRussian grammar updates
Amir E. Aharoni [Mon, 11 Feb 2013 05:09:41 +0000 (10:39 +0530)]
Russian grammar updates

* Replace == with ===
* Add support for the prepositional case
* Add support for Wikidata
* Add tests

Change-Id: Ic02bfb9ce88e93775036f3d15921cedca602237c

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

Change-Id: I67554613a39b7116692d29cc6dbb7170a99aee4d

11 years agoMerge "Rename Image namespace to File for 'be' locale"
jenkins-bot [Sun, 10 Feb 2013 18:33:41 +0000 (18:33 +0000)]
Merge "Rename Image namespace to File for 'be' locale"

11 years agoMerge "Correct check whether the e-mail field was filled in Special:Userlogin/signup"
jenkins-bot [Sun, 10 Feb 2013 17:17:16 +0000 (17:17 +0000)]
Merge "Correct check whether the e-mail field was filled in Special:Userlogin/signup"

11 years agoMerge "Add some missing readonly checks:"
IAlex [Sun, 10 Feb 2013 13:16:50 +0000 (13:16 +0000)]
Merge "Add some missing readonly checks:"

11 years agoMerge "remove not needed return and break"
jenkins-bot [Sun, 10 Feb 2013 13:02:07 +0000 (13:02 +0000)]
Merge "remove not needed return and break"

11 years agoMerge "remove space before semicolon"
IAlex [Sun, 10 Feb 2013 12:51:02 +0000 (12:51 +0000)]
Merge "remove space before semicolon"

11 years agoMerge "fix some spacing"
IAlex [Sun, 10 Feb 2013 12:47:01 +0000 (12:47 +0000)]
Merge "fix some spacing"

11 years agoAvoid undefined offset for $wgImageLimits
umherirrender [Sat, 2 Feb 2013 13:48:33 +0000 (14:48 +0100)]
Avoid undefined offset for $wgImageLimits

This can happen, when customized $wgImageLimits, but not
the option in $wgDefaultOptions

Notice:  Undefined offset: 2 in \includes\ImagePage.php on line 364

Change-Id: I1dbcde8782f239279602f509e5987606af8db241

11 years agoMerge "(bug 44805) Set correct number separators for Northern Sami"
jenkins-bot [Sun, 10 Feb 2013 09:36:31 +0000 (09:36 +0000)]
Merge "(bug 44805) Set correct number separators for Northern Sami"

11 years ago(bug 44805) Set correct number separators for Northern Sami
Niklas Laxström [Sun, 10 Feb 2013 05:42:48 +0000 (05:42 +0000)]
(bug 44805) Set correct number separators for Northern Sami

Change-Id: I9e2624df3060cc4ffe4cff8a32491ca23aaad4c0

11 years agoremove not needed return and break
umherirrender [Sat, 9 Feb 2013 22:55:46 +0000 (23:55 +0100)]
remove not needed return and break

break after throw is not executed

return; at end of function is not needed

Change-Id: I7c1c1799f78da11b7607a753d4f215c4547f0428

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 9 Feb 2013 22:27:35 +0000 (22:27 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ice78f3fea074fa90f5d10ab09ede953c08a7ecc2

11 years agofix some spacing
umherirrender [Sat, 9 Feb 2013 22:03:53 +0000 (23:03 +0100)]
fix some spacing

Added/removed spaces after opening/before closing parentheses

Added a space after a comma

Removed unneeded parentheses in condition

Change-Id: I306091347ccaaf11dee0cdfda3019cb0c12be51b

11 years agoMerge "Added deprecation comment to constant that when used throws deprecation exception"
jenkins-bot [Sat, 9 Feb 2013 21:47:23 +0000 (21:47 +0000)]
Merge "Added deprecation comment to constant that when used throws deprecation exception"

11 years agoremove space before semicolon
umherirrender [Sat, 9 Feb 2013 21:44:24 +0000 (22:44 +0100)]
remove space before semicolon

Change-Id: Ic0d890f5e27cec017c7f7910a67d53b2edf82079

11 years agoMerge "Add ArchivedFile::selectFields() and use it"
jenkins-bot [Sat, 9 Feb 2013 21:40:04 +0000 (21:40 +0000)]
Merge "Add ArchivedFile::selectFields() and use it"

11 years agoMerge "Use OldLocalFile::selectFields()"
jenkins-bot [Sat, 9 Feb 2013 21:38:10 +0000 (21:38 +0000)]
Merge "Use OldLocalFile::selectFields()"

11 years agoTRUE, FALSE and NULL must be lowercase
umherirrender [Sat, 9 Feb 2013 20:10:44 +0000 (21:10 +0100)]
TRUE, FALSE and NULL must be lowercase

From phpcs

Change-Id: I09672012be28ae3985702e314442db00d154de24

11 years agoAttribtue -> Attribute
Alex Monk [Sat, 9 Feb 2013 19:10:43 +0000 (19:10 +0000)]
Attribtue -> Attribute

Change-Id: I9eca55a96be3ae1cdedf5045db40510b918f3549

11 years agoMerge "Title.php: replace some '*' with explicit fields in selects"
jenkins-bot [Sat, 9 Feb 2013 18:16:49 +0000 (18:16 +0000)]
Merge "Title.php: replace some '*' with explicit fields in selects"

11 years agoTitle.php: replace some '*' with explicit fields in selects
umherirrender [Sat, 9 Feb 2013 14:03:23 +0000 (15:03 +0100)]
Title.php: replace some '*' with explicit fields in selects

It is good practice to select only fields which are used later

Change-Id: Ie0075f2c2bbc4408f8d9b8967669d8c729b31914

11 years agoAdd some missing readonly checks:
umherirrender [Sat, 9 Feb 2013 17:58:56 +0000 (18:58 +0100)]
Add some missing readonly checks:

* Do not allow working on Special:EditWatchlist
* Do not reset all notification markers
* Do not delete expired restrictions

Change-Id: I7a990c0a80b9c7a6340465dd082a110dafea8f14

11 years agoMerge "The right casing is IcuCollation"
jenkins-bot [Sat, 9 Feb 2013 15:50:08 +0000 (15:50 +0000)]
Merge "The right casing is IcuCollation"

11 years agoThe right casing is IcuCollation
Platonides [Sat, 9 Feb 2013 15:20:06 +0000 (16:20 +0100)]
The right casing is IcuCollation

Follow-up to e8c0c2ad.

Change-Id: Ic2240a7e09abe607c87df64fd688b908fb8aa580

11 years agoUse OldLocalFile::selectFields()
umherirrender [Sat, 9 Feb 2013 15:12:09 +0000 (16:12 +0100)]
Use OldLocalFile::selectFields()

It is good practice to specifiy the fields in a select

Change-Id: I3faa568ed6311a585da9161eccd8da3d065da250

11 years agoAdd ArchivedFile::selectFields() and use it
umherirrender [Sat, 9 Feb 2013 14:59:13 +0000 (15:59 +0100)]
Add ArchivedFile::selectFields() and use it

Change-Id: Ia19d7bc1eb2bf77f1aca9d3891cebf57e45c030b

11 years agoMerge "generateId -> mw.user.generateRandomSessionId"
jenkins-bot [Sat, 9 Feb 2013 13:26:26 +0000 (13:26 +0000)]
Merge "generateId -> mw.user.generateRandomSessionId"

11 years agoMerge "(bug 44459) Ensure jqueryMsg treats plain messages as plain, with tests."
jenkins-bot [Sat, 9 Feb 2013 01:30:37 +0000 (01:30 +0000)]
Merge "(bug 44459) Ensure jqueryMsg treats plain messages as plain, with tests."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 8 Feb 2013 21:19:37 +0000 (21:19 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I6d87223cdc826c2194259026ee53366f7fca6a34

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 agoCorrect check whether the e-mail field was filled in Special:Userlogin/signup
Alexandre Emsenhuber [Fri, 8 Feb 2013 13:07:40 +0000 (14:07 +0100)]
Correct check whether the e-mail field was filled in Special:Userlogin/signup

Use a strict comparison with '' instead of empty(), otherwise this allows user
to give "0" as an e-mail address.

Also use strval() if in any case null or something like that would be passed.

Change-Id: Ide7d35c52a04d05b43ae9fd37f7586bb4a67d4ed

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