lhc/web/wiklou.git
11 years agoMerge "Add comments for grep (includes/installer/)"
jenkins-bot [Thu, 21 Mar 2013 02:14:39 +0000 (02:14 +0000)]
Merge "Add comments for grep (includes/installer/)"

11 years agoFix wfWaitForSlaves() for foreign DBs
Catrope [Thu, 21 Mar 2013 00:43:44 +0000 (17:43 -0700)]
Fix wfWaitForSlaves() for foreign DBs

We thought we'd fixed it previously, but the LB now connects to the
foreign slaves and tries to select $wgDBname. Fixing this by having
doWait() open connections that don't select any DB name, by passing
the empty string as the DB name. This is an undocumented feature
in the DatabaseMysql constructor, apparently.

Change-Id: Icc5594143a3eaa31170a7fc8c93d429c1a7dd575

11 years agoAdd comments for grep (includes/installer/)
shirayuki [Mon, 18 Mar 2013 10:26:57 +0000 (19:26 +0900)]
Add comments for grep (includes/installer/)

Change-Id: Idb44b343267978ae214b2cfe9a05947b220629d7

11 years agoMerge "Fix wfWaitForSlaves() so the $wiki parameter actually works correctly"
Peter Gehres [Wed, 20 Mar 2013 21:44:04 +0000 (21:44 +0000)]
Merge "Fix wfWaitForSlaves() so the $wiki parameter actually works correctly"

11 years agoFix wfWaitForSlaves() so the $wiki parameter actually works correctly
Peter Gehres [Wed, 20 Mar 2013 21:21:16 +0000 (14:21 -0700)]
Fix wfWaitForSlaves() so the $wiki parameter actually works correctly

Change-Id: I1f3da5921f2d724e10c448700ea8b958ff159451

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Wed, 20 Mar 2013 21:07:33 +0000 (21:07 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "MagicVariableTest.php: Use dataProvider"
jenkins-bot [Wed, 20 Mar 2013 20:45:39 +0000 (20:45 +0000)]
Merge "MagicVariableTest.php: Use dataProvider"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 20 Mar 2013 20:26:19 +0000 (20:26 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Id18fb2721534f365dbcab26c7531fca87f859b28

11 years agoMagicVariableTest.php: Use dataProvider
umherirrender [Wed, 20 Mar 2013 19:10:18 +0000 (20:10 +0100)]
MagicVariableTest.php: Use dataProvider

Setting a global 3 times in one test method looks weird

Change-Id: I97f6a932ee2d5c9a5e427cf0f40ced730b7e12ec

11 years agoSideBarTest.php: Use dataProvider/use setMwGlobals
umherirrender [Wed, 20 Mar 2013 18:46:46 +0000 (19:46 +0100)]
SideBarTest.php: Use dataProvider/use setMwGlobals

One test method should cover one thing, so splitting this up.
Removing save/restore of globals, done automatically with setMwGlobals

Change-Id: Ideefaf23723b224fc14aff9fdc448f1ee6ec9ea9

11 years agoMerge "Added a PoolCounterWorkViaCallback convenience class."
jenkins-bot [Wed, 20 Mar 2013 18:19:40 +0000 (18:19 +0000)]
Merge "Added a PoolCounterWorkViaCallback convenience class."

11 years agoMerge "Allow the retrieval of the plural rule type for a given number"
jenkins-bot [Wed, 20 Mar 2013 15:48:04 +0000 (15:48 +0000)]
Merge "Allow the retrieval of the plural rule type for a given number"

11 years agoMerge "$wgContLang global unneeded in braceSubstitution() since fc00763f0"
jenkins-bot [Wed, 20 Mar 2013 13:44:32 +0000 (13:44 +0000)]
Merge "$wgContLang global unneeded in braceSubstitution() since fc00763f0"

11 years agoMerge "A few minor doc group tweaks."
jenkins-bot [Wed, 20 Mar 2013 13:20:17 +0000 (13:20 +0000)]
Merge "A few minor doc group tweaks."

11 years ago$wgContLang global unneeded in braceSubstitution() since fc00763f0
Platonides [Wed, 20 Mar 2013 10:30:09 +0000 (11:30 +0100)]
$wgContLang global unneeded in braceSubstitution() since fc00763f0

Change-Id: I0fc7f1ca5989d4a7ca8b4a49fd1f5229f23f9be5

11 years agoAllow the retrieval of the plural rule type for a given number
Kaldari [Fri, 25 Jan 2013 01:10:37 +0000 (17:10 -0800)]
Allow the retrieval of the plural rule type for a given number

For example, find out which rule type should be applied for 5 items
in Arabic. The result would be 'few'.

This implementation should be non-disruptive and completely backwards
compatible (which is the main reason it isn't a lot simpler).

Change-Id: I3d72e4105f6244b0695116940e62a2ddef66eb66

11 years agoMerge "Remove custom plurals for Nso and Sl in favour of CLDR"
jenkins-bot [Wed, 20 Mar 2013 08:41:52 +0000 (08:41 +0000)]
Merge "Remove custom plurals for Nso and Sl in favour of CLDR"

11 years agoRemove custom plurals for Nso and Sl in favour of CLDR
Santhosh Thottingal [Mon, 18 Mar 2013 11:07:28 +0000 (16:37 +0530)]
Remove custom plurals for Nso and Sl in favour of CLDR

Nso - Northern Sotho
Sl - Slovenian

Plural rules were not changed. They are same in CLDR and MW

Change-Id: I0e0c84352de2de8f58af5a9147ba18b0fe1fb39a

11 years agoAdded a PoolCounterWorkViaCallback convenience class.
Aaron Schulz [Mon, 18 Mar 2013 23:16:51 +0000 (16:16 -0700)]
Added a PoolCounterWorkViaCallback convenience class.

Change-Id: I1cbb2cc8a43eea2d28f38cfd2d3a4908dc7d0da9

11 years agoMerge "Add test for table with empty line between table and row tag"
Subramanya Sastry [Wed, 20 Mar 2013 04:52:56 +0000 (04:52 +0000)]
Merge "Add test for table with empty line between table and row tag"

11 years agoMerge "Extend paragraph / line with block tag interaction tests"
Subramanya Sastry [Wed, 20 Mar 2013 04:48:40 +0000 (04:48 +0000)]
Merge "Extend paragraph / line with block tag interaction tests"

11 years ago[JobQueue] Factored "root job" de-duplication code into base class.
Aaron Schulz [Thu, 28 Feb 2013 22:21:28 +0000 (14:21 -0800)]
[JobQueue] Factored "root job" de-duplication code into base class.

* Moved the root job handling up to the base class and provided
  some default function implementations.
* Also bumped ROOTJOB_TTL from 14 to 28 days.

Change-Id: I70bc043bfc039c5d0b009e0b5d39fd2887f46093

11 years agoAdd parser method to call parser functions
Brad Jorsch [Mon, 4 Mar 2013 03:35:05 +0000 (22:35 -0500)]
Add parser method to call parser functions

There is currently no straightforward way for anything to call a parser
function and get the result. This abstracts out that portion of
braceSubstitution() to allow this.

The immediate motivation for this patch is to close bug 41769 against
Scribunto, see I0138836654b0e34c5c23daaedcdf5d4f9d1c7ab2.

Bug: 41769
Change-Id: I339b882010dedd714e7965e25ad650ed8b8cd48f

11 years ago[JobQueue] Optimized redis queue to use Lua scripts.
Aaron Schulz [Wed, 13 Mar 2013 21:26:28 +0000 (14:26 -0700)]
[JobQueue] Optimized redis queue to use Lua scripts.

* Cleaned up some data structures into hashes, which get better
  compression and play well with the KEYS parameter in Lua scripts.
  The claim list is now a sorted set with O(logN) removal in ack()
  and O(log(N)+M) searching in recycleAndDeleteStaleJobs().
* Made the class itself control object serialization, so that lua
  scripts have an easy time. Only the job data itself needs to be
  serialized, where as other things just get bloated.
* Used Lua scripts to get push(), pop() and ack() down to 1 RTT.
* Likewise rewrote recycleAndDeleteStaleJobs() to use a script.
* Fixed bug where claimed duplicate jobs removed the data on ack(),
  which meant that claimed duplicated jobs could no-op newer ones.
  De-duplication should only apply to unclaimed jobs like for the
  JobQueueDB class, so that unfinished jobs don't no-op new ones.
* Removed locking in recycleAndDeleteStaleJobs(), which would not do
  much since the exclusive set request would serialize on the lua
  script anyway. The lua script will finish quickly the next times
  if done more than once in a row due to sorted set usage.
  Also made recycleAndDeleteStaleJobs() run randomly to reduce the
  chance of a single calling tying up the server.
* Removed useless hDel() call in getJobFromUidInternal().
* Changed unit tests to handle the different supported orders better.
  Added tests for the 'timestamp' ordering.

Change-Id: Ib2d7aff18753195248ab856afd4a46e18b301db9

11 years agoAdd test for table with empty line between table and row tag
Gabriel Wicke [Tue, 19 Mar 2013 23:31:09 +0000 (16:31 -0700)]
Add test for table with empty line between table and row tag

Test case:

{|

|-
| foo
|}

Change-Id: I71c0be624aef3b9cf40b58cab8c7a448dda44033

11 years agoExtend paragraph / line with block tag interaction tests
Gabriel Wicke [Tue, 19 Mar 2013 21:24:25 +0000 (14:24 -0700)]
Extend paragraph / line with block tag interaction tests

Tests this case too:

<div>a</div>b

<div>b</div>d

<div>e</div>

Change-Id: Ic0cc36ad8f43c3147737d38b6d9acd1100062230

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 19 Mar 2013 21:18:38 +0000 (21:18 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ided02055632d04dc2223fbcdd308132ea3b1cd81

11 years agoRevert "Change login/createaccount forms to new appearance"
Matmarex [Tue, 19 Mar 2013 19:52:13 +0000 (19:52 +0000)]
Revert "Change login/createaccount forms to new appearance"

The code did not go through a proper review process, and - quite
simply - it is unacceptable by core standards (or by any standards, to
be honest).

* It "[u]ses JavaScript to munge the create account CAPTCHA", to quote
  the commit message
* It is littered with TODOs and FIXMEs, as well as messages from one
  coder to the other and commented-out code
* It modifies some HTTPS-related logic for no obvious reason (it's not
  documented or even mentioned *at all* in a otherwise front-end
  changeset)
* It happily disregards code conventions (trailing spaces, #-comments,
  CSS formatting)
* It includes different CSS font-family rules that the entire rest of
  software uses for display, creating design inconsistency
* It hardcodes links in the format "/wiki/XXX"
* It hardcodes English-language link hrefs

This reverts commit 92bb00d35688e72ebeea75ed55a6db981cfb71e5

Conflicts:

languages/messages/MessagesEn.php

Change-Id: I00d72fe157e697d5cf926e75bcea5db0bee153e5

11 years agoMerge "Rebuild MessagesEn.php"
jenkins-bot [Tue, 19 Mar 2013 19:52:13 +0000 (19:52 +0000)]
Merge "Rebuild MessagesEn.php"

11 years agoMerge "Cleaned up PoolCounter docs, moved up some functions, and declared public...
jenkins-bot [Tue, 19 Mar 2013 19:31:27 +0000 (19:31 +0000)]
Merge "Cleaned up PoolCounter docs, moved up some functions, and declared public functions."

11 years agoRebuild MessagesEn.php
Alexandre Emsenhuber [Tue, 19 Mar 2013 19:15:49 +0000 (20:15 +0100)]
Rebuild MessagesEn.php

Change-Id: I8fd6fbb455f57415c217c66e828dd27d6f2bc293

11 years agoMerge "Change login/createaccount forms to new appearance"
jenkins-bot [Tue, 19 Mar 2013 18:33:42 +0000 (18:33 +0000)]
Merge "Change login/createaccount forms to new appearance"

11 years agoMerge "wfProfile fixes: 0543c7b0 added a wfProfileIn() that should have been wfProfi...
jenkins-bot [Tue, 19 Mar 2013 17:01:59 +0000 (17:01 +0000)]
Merge "wfProfile fixes:  0543c7b0 added a wfProfileIn() that should have been wfProfileOut()  Reorder Http::request() so that wfProfileOut() is at the same level as the above wfProfileIn() [checked by check-vars]"

11 years agowfProfile fixes:
Platonides [Tue, 19 Mar 2013 15:12:14 +0000 (16:12 +0100)]
wfProfile fixes:
 0543c7b0 added a wfProfileIn() that should have been wfProfileOut()
 Reorder Http::request() so that wfProfileOut() is at the same
level as the above wfProfileIn() [checked by check-vars]

Change-Id: Ia91445d792e524b9c570890397f1513af0d8cd73

11 years agoMoved some RedisConnectionPool docs to the factory function.
Aaron Schulz [Mon, 18 Mar 2013 16:57:23 +0000 (09:57 -0700)]
Moved some RedisConnectionPool docs to the factory function.

Change-Id: I4183b96e123882de604de1484456abcd10091fb2

11 years agoMerge "Check for rev_len not rev_sha1"
jenkins-bot [Tue, 19 Mar 2013 07:16:03 +0000 (07:16 +0000)]
Merge "Check for rev_len not rev_sha1"

11 years agoChange login/createaccount forms to new appearance
S Page [Tue, 5 Mar 2013 03:13:39 +0000 (19:13 -0800)]
Change login/createaccount forms to new appearance

If a global variable is set or if you add ?useAgora=1 to the query
string, Special:Userlogin loads a different login or create account
template (Userlogin-/UsercreateAgora.php) with an Agora look and
different messaging.  Otherwise the current form is unchanged so
that wikis can cut over to the new look when desired.

These new templates apply mw-ui-formlist and mw-ui-button styles defined
in a new 'mediawiki.ui' CSS module in core (copied from Extension:Agora).

In useAgora mode, Special:Userlogin also:
* Adds new modules with some additional CSS for new form features
  ("Join wiki", benefits of creating an account).
* Defines new "userlogin/usercreate-xx" messages, many are the same as
  existing messages but without ':' on the end.
* Uses a distinct title for each mode instead of generic "Log in /
  Create account".
* Uses JavaScript to munge the create account CAPTCHA.
* Outputs checkboxes using UserloginTemplateAgora::labelledCheck()
* Displays a benefits column of wiki edits/users/contributor numbers.

TODO:
- Restyle/reposition language selector
- Munge CAPTCHA in PHP not JavaScript, i18n of new CAPTCHA messages.
- Identify the subset of Agora appropriate for non-Vector skins and
  create mediawiki.ui.default.css from that.

Patch set 18: Agora styles now in core.

Bug: 44628
Change-Id: I859edab4fc4fa9fe35fdef15fc429ae19a95305d

11 years agoMerge "Add two table parser tests"
Subramanya Sastry [Mon, 18 Mar 2013 23:56:57 +0000 (23:56 +0000)]
Merge "Add two table parser tests"

11 years agoAdd mobile target to QUnit and its dependencies
Juliusz Gonera [Fri, 22 Feb 2013 23:13:30 +0000 (15:13 -0800)]
Add mobile target to QUnit and its dependencies

This allows us to run mobile JavaScript tests in the environment (skin)
they were written for.

Change-Id: I84e0512590de9ff2dbdf519d983a0c1c2d007194

11 years agoCleaned up PoolCounter docs, moved up some functions, and declared public functions.
Aaron Schulz [Mon, 18 Mar 2013 22:41:19 +0000 (15:41 -0700)]
Cleaned up PoolCounter docs, moved up some functions, and declared public functions.

Change-Id: I9b3a320a3ea12c3d7aea09236cd0ecbf37a19860

11 years agoAdd two table parser tests
Gabriel Wicke [Mon, 18 Mar 2013 22:26:00 +0000 (15:26 -0700)]
Add two table parser tests

One tests paragraph wrapping inside of table cells, the other mixed wikitext /
html syntax tables in Parsoid only.

Change-Id: I1e07e868d7f329ac1fa5d33b7fa07c7e701f41ba

11 years agoA few minor doc group tweaks.
Aaron Schulz [Mon, 18 Mar 2013 22:14:55 +0000 (15:14 -0700)]
A few minor doc group tweaks.

Change-Id: I18a8d733b3dbaa925a676c881225a63e90ff2f05

11 years agoAdded profiling to MWHttpRequest and Http.
Tyler Anthony Romeo [Mon, 18 Mar 2013 21:32:43 +0000 (17:32 -0400)]
Added profiling to MWHttpRequest and Http.

Added profile calls to various functions in
MWHttpRequest as well as to the wrapper
function Http::request.

Change-Id: I7f2819a075891dbc565a7524d56e7bf077ab089a

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 18 Mar 2013 20:27:06 +0000 (20:27 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ib5e4b598df854da0bf279190047508a5f276eaab

11 years agoRemove spaces in function signature
umherirrender [Mon, 18 Mar 2013 19:44:43 +0000 (20:44 +0100)]
Remove spaces in function signature

Change-Id: I45aea7a7af88cd913b2f485913620a8af0ab2fed

11 years agoMerge "Fix type of list=tags&tgcontinue"
jenkins-bot [Mon, 18 Mar 2013 19:14:27 +0000 (19:14 +0000)]
Merge "Fix type of list=tags&tgcontinue"

11 years agoMerge "(Bug 45775) Adjusted the margin of "userloginForm""
Yuvipanda [Mon, 18 Mar 2013 18:46:26 +0000 (18:46 +0000)]
Merge "(Bug 45775) Adjusted the margin of "userloginForm""

11 years agoMerge "Use gettype only for debugging text"
jenkins-bot [Mon, 18 Mar 2013 18:44:59 +0000 (18:44 +0000)]
Merge "Use gettype only for debugging text"

11 years ago(Bug 45775) Adjusted the margin of "userloginForm"
rahul21 [Wed, 13 Mar 2013 18:08:31 +0000 (23:38 +0530)]
(Bug 45775) Adjusted the margin of "userloginForm"

Change-Id: Ibede75a3f4e998d1972cacf1f5840882d39550ee

11 years agoMerge "Added ScopedCallback functions for early execution or cancellation."
jenkins-bot [Mon, 18 Mar 2013 18:23:14 +0000 (18:23 +0000)]
Merge "Added ScopedCallback functions for early execution or cancellation."

11 years agoMerge "[FileBackend] Replaced redundant "disposition" param with "headers"."
jenkins-bot [Mon, 18 Mar 2013 17:16:53 +0000 (17:16 +0000)]
Merge "[FileBackend] Replaced redundant "disposition" param with "headers"."

11 years agoMerge "Cleanup for ApiImageRotate"
jenkins-bot [Mon, 18 Mar 2013 16:15:20 +0000 (16:15 +0000)]
Merge "Cleanup for ApiImageRotate"

11 years agoacessor for MediaWikiTestCase::$useTemporaryTables
Antoine Musso [Mon, 18 Mar 2013 15:09:18 +0000 (16:09 +0100)]
acessor for MediaWikiTestCase::$useTemporaryTables

useTemporaryTables is marked private to prevent childs from overriding
the value which would cause a lot of madness whenever it forgot to reset
its status.  But that in turns prevents a child class from figuring out
whether we use temporary tables or not. The ActiveAbstract extension
test suite has such a requirement and hence need a proper accessor.

MediaWikiTestCase::usesTemporaryTables() is a public accessor to for the
private property MediaWikiTestCase::$useTemporaryTables.

Change-Id: I8016c49116a187d7523cc0d6190514f8a513eafb

11 years agoAdd array with watchlist options to SpecialWatchlistQuery
Marius Hoch [Sat, 16 Mar 2013 20:53:37 +0000 (21:53 +0100)]
Add array with watchlist options to SpecialWatchlistQuery

This data is very useful with the hook as it holds the
criteria to build the watchlist query.

Change-Id: I688ab0b35b301f180bbfde3ad3043b1ee602de10

11 years agoMerge "Move plural rules of Samogitian(sgs) to plurals-mediawiki.xml"
jenkins-bot [Mon, 18 Mar 2013 08:56:56 +0000 (08:56 +0000)]
Merge "Move plural rules of Samogitian(sgs) to plurals-mediawiki.xml"

11 years agoRemove error suppression from Parser::formatHeadings
umherirrender [Sun, 17 Mar 2013 14:53:37 +0000 (15:53 +0100)]
Remove error suppression from Parser::formatHeadings

The array index looks always initialized

Change-Id: I63a1c264ded0c4a744ee990de9bef4f8f9d20d1d

11 years agoMove plural rules of Samogitian(sgs) to plurals-mediawiki.xml
Santhosh Thottingal [Mon, 18 Mar 2013 08:11:46 +0000 (13:41 +0530)]
Move plural rules of Samogitian(sgs) to plurals-mediawiki.xml

* CLDR does not define plural rules for sgs.
* Port the plural rules present in LanguageSgs.php to CLDR plural
  definition syntax
* Remove LanguageSgs.php
* Update the tests, reorder/rename the plural form names

Change-Id: I44658402d69a6805cdfd189fe780eadee94056c7

11 years agoRemove error suppression in Exif::isRational
umherirrender [Sun, 17 Mar 2013 14:57:31 +0000 (15:57 +0100)]
Remove error suppression in Exif::isRational

preg_match throws warning, when getting a array as input, but there is a
is_array check, so no need for error suppression

Change-Id: Ie7f180f45c04e8e396186cd6a5a9e40e2c94a80a

11 years agoMerge "Revert "Refactored use of $wgMemc in JobQueueDB to use a field.""
Tim Starling [Mon, 18 Mar 2013 05:44:12 +0000 (05:44 +0000)]
Merge "Revert "Refactored use of $wgMemc in JobQueueDB to use a field.""

11 years agoRevert "Refactored use of $wgMemc in JobQueueDB to use a field."
Tim Starling [Mon, 18 Mar 2013 05:43:59 +0000 (05:43 +0000)]
Revert "Refactored use of $wgMemc in JobQueueDB to use a field."

This reverts commit 7293699561f8751c66d55697e63b13a18653ac6b

Unit tests fail.

Change-Id: Iac8025844b37c584e451a4120e54898ae4f2524e

11 years ago[LockManager] Refactor lock TTL code to base class.
Aaron Schulz [Wed, 13 Mar 2013 07:41:22 +0000 (00:41 -0700)]
[LockManager] Refactor lock TTL code to base class.

* Also made the TTL configurable.

Change-Id: I713979267fe7bd92ac6cd5fe4d4168d20e539c75

11 years agoRefactored use of $wgMemc in JobQueueDB to use a field.
Aaron Schulz [Sun, 10 Mar 2013 08:06:02 +0000 (00:06 -0800)]
Refactored use of $wgMemc in JobQueueDB to use a field.

Change-Id: Ic2a0a16142abdc5a971729fe550c10c1b8fa42b9

11 years agoa43f751 removed the usage of $wgMiserMode
Platonides [Wed, 13 Mar 2013 15:10:19 +0000 (16:10 +0100)]
a43f751 removed the usage of $wgMiserMode

Change-Id: I5528dba582d218721324431015bd930b9b6ab57e

11 years agojquery.tablesorter: Fix explodeRowspans
Brad Jorsch [Mon, 19 Nov 2012 14:47:11 +0000 (09:47 -0500)]
jquery.tablesorter: Fix explodeRowspans

$.tablesorter's explodeRowspans works ok for simple tables, but row
headers or unusual spanning structures will confuse it.

This rewrite makes it more robust.

Bug: 41889
Change-Id: Icb674f7eece053435ca9525d45709579df14cc74

11 years agojquery.tablesorter: Fix broken getElementSortKey()
Brad Jorsch [Fri, 8 Mar 2013 02:08:16 +0000 (21:08 -0500)]
jquery.tablesorter: Fix broken getElementSortKey()

Change I3e9898f3 introduced changes to
getElementText()/getElementSortKey() that broke certain behavior with
respect to tables having colspanned cells. Restore the old behavior for
these cases.

Change-Id: I18be2e6c1f0ab926ff4c795530600b52bc6488c0

11 years ago(Bug 42461) Remove call to "new Database()"
Platonides [Sat, 26 Jan 2013 15:38:29 +0000 (16:38 +0100)]
(Bug 42461) Remove call to "new Database()"

 * Refactored LoadBalancer::reportConnectionError()
 * Removed PHP4-style reference from DatabaseError constructors
 * Allowed to not pass a database to the DBError family of exceptions.

Change-Id: If9570b45ea7285de2b8b2391e704bc01f76be48a

11 years ago(bug 45054) Fix rsvg converter command line when thumbnailing.
Ed Sanders [Fri, 15 Feb 2013 21:54:47 +0000 (13:54 -0800)]
(bug 45054) Fix rsvg converter command line when thumbnailing.

Change-Id: Ia6c1d4e5d61629e9651495ee92fe1c7298a50ef1

11 years agoMerge "Remove spaces between parentheses in function calls"
jenkins-bot [Mon, 18 Mar 2013 00:22:11 +0000 (00:22 +0000)]
Merge "Remove spaces between parentheses in function calls"

11 years agoMerge "Set initial language and variant user preferences to user's preferred variant...
jenkins-bot [Mon, 18 Mar 2013 00:11:19 +0000 (00:11 +0000)]
Merge "Set initial language and variant user preferences to user's preferred variant on user registration"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 17 Mar 2013 19:51:22 +0000 (19:51 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I36833fa0e34d515906005009fcfe7ffb7f59a3e9

11 years agoFix type of list=tags&tgcontinue
umherirrender [Sun, 17 Mar 2013 15:29:00 +0000 (16:29 +0100)]
Fix type of list=tags&tgcontinue

Was already interpretted as string before, but with a default of null,
this is easy to read and looks like all other 'continue' param

Change-Id: Ica972e927d4949bb0e8925f10471b9273c052011

11 years agoRemove spaces between parentheses in function calls
umherirrender [Sun, 17 Mar 2013 15:13:22 +0000 (16:13 +0100)]
Remove spaces between parentheses in function calls

Change-Id: If8ec665a01b566fa5189dfcc810b2d9a17f371e1

11 years ago(bug 46239) jquery.makeCollapsible: don't fail if no options given
MatmaRex [Sun, 17 Mar 2013 10:24:18 +0000 (11:24 +0100)]
(bug 46239) jquery.makeCollapsible: don't fail if no options given

Also a typo elsewhere. That's what you get when coding at 2 AM.

Change-Id: I8dd4f0d06cc5dbf7fe67f2b584c9afe8f5d1b36a

11 years agoMerge "Readd GENDER to english logentry messages"
jenkins-bot [Sun, 17 Mar 2013 08:47:04 +0000 (08:47 +0000)]
Merge "Readd GENDER to english logentry messages"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 16 Mar 2013 20:59:30 +0000 (20:59 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ie28bd2d1bce13b5a78eeb8573d8b5b9527b1afeb

11 years agoReadd GENDER to english logentry messages
umherirrender [Sat, 16 Mar 2013 20:12:02 +0000 (21:12 +0100)]
Readd GENDER to english logentry messages

Was removed due to performance reason, but some fixed are applied in
meantime, so there should not be a problem on adding the GENDER back.

This is a (manually) partial revert of r110909

bug: 24156
Change-Id: I8139c51bb8a1ea4fa69a1327c46d347ea043cc9f

11 years agoSpecial:RevisionDelete: DatabaseBase::makeList: empty input
umherirrender [Sat, 16 Mar 2013 19:07:29 +0000 (20:07 +0100)]
Special:RevisionDelete: DatabaseBase::makeList: empty input

bug:45211
Change-Id: I3777c1332aa2a0dd9e9cf4b643b53f31db3f5e91

11 years agoMerge "Default $wgContentHandlerUseDB to true"
Daniel Kinzler [Sat, 16 Mar 2013 14:33:30 +0000 (14:33 +0000)]
Merge "Default $wgContentHandlerUseDB to true"

11 years agoCheck for rev_len not rev_sha1
Reedy [Sat, 16 Mar 2013 14:19:41 +0000 (14:19 +0000)]
Check for rev_len not rev_sha1

Change-Id: Ida29357d1277ec1ddeada2aaca2d1b889ba742a8

11 years ago(bug 44486) Rephrase password reset messages to remove 'reminder' language
Alex Monk [Wed, 30 Jan 2013 01:07:48 +0000 (01:07 +0000)]
(bug 44486) Rephrase password reset messages to remove 'reminder' language

Change-Id: Ie2a18ddb92b8c992bc72ea4263a43e6928681041

11 years agoMerge "Cache Revision::selectFields() call result"
jenkins-bot [Sat, 16 Mar 2013 03:38:42 +0000 (03:38 +0000)]
Merge "Cache Revision::selectFields() call result"

11 years agoCache Revision::selectFields() call result
Reedy [Sat, 16 Mar 2013 01:44:44 +0000 (01:44 +0000)]
Cache Revision::selectFields() call result

Change-Id: Ia41208658b601f68e77a0e1fa36c13e28ea8b9be

11 years agoMerge "jquery.makeCollapsible: add plainMode support"
jenkins-bot [Sat, 16 Mar 2013 01:33:09 +0000 (01:33 +0000)]
Merge "jquery.makeCollapsible: add plainMode support"

11 years agoMerge "jquery.makeCollapsible: add a few explicit options to the jQuery plugin"
jenkins-bot [Sat, 16 Mar 2013 01:08:47 +0000 (01:08 +0000)]
Merge "jquery.makeCollapsible: add a few explicit options to the jQuery plugin"

11 years agoMerge "jquery.makeCollapsible: move helper functions to the outer scope"
jenkins-bot [Sat, 16 Mar 2013 01:06:31 +0000 (01:06 +0000)]
Merge "jquery.makeCollapsible: move helper functions to the outer scope"

11 years agoMerge "jquery.makeCollapsible: clean up the handler toggling logic"
jenkins-bot [Sat, 16 Mar 2013 00:59:45 +0000 (00:59 +0000)]
Merge "jquery.makeCollapsible: clean up the handler toggling logic"

11 years agojquery.makeCollapsible: add plainMode support
MatmaRex [Fri, 15 Mar 2013 20:10:08 +0000 (21:10 +0100)]
jquery.makeCollapsible: add plainMode support

When .makeCollapsible() is used on a <ol>/<ul> list, the toggler is
inserted as the zeroth list item and clicking is causes all the other
list items to be hidden separately, one by one.

This hiding behavior is applied even when using custom togglers placed
outside of the list. This has some pretty serious performance
considerations when applied to large lists or tables (more than
~25 items/rows).

Enter plainMode. In combination with custom togglers, it makes all
types of elements to be treated the same and hidden/shown as a whole.

Change-Id: Idd9429b20d70741af72657feef26e1c95c76d51f

11 years agojquery.makeCollapsible: add a few explicit options to the jQuery plugin
MatmaRex [Fri, 15 Mar 2013 10:25:03 +0000 (11:25 +0100)]
jquery.makeCollapsible: add a few explicit options to the jQuery plugin

Add a few options to the jQuery plugin to allow for explicit passing
of various options in addition to the conventions used now (via data-
attributes or magic id/class combinations).

Change-Id: Ic498e7a3b2d2e964bda8d31a70f71cda08560cec

11 years agojquery.makeCollapsible: move helper functions to the outer scope
MatmaRex [Thu, 14 Mar 2013 20:15:41 +0000 (21:15 +0100)]
jquery.makeCollapsible: move helper functions to the outer scope

They do not directly use any variables defined inside
$.fn.makeCollapsible (although they used to), so let's move them to
the appropriate place.

Also indent the body of the immediately-invoked wrapper function.

Change-Id: I3d5f33b4a3ed8bd72c5f55c4d9fa545e4f3bd8c4

11 years agojquery.makeCollapsible: clean up the handler toggling logic
MatmaRex [Wed, 13 Mar 2013 21:42:55 +0000 (22:42 +0100)]
jquery.makeCollapsible: clean up the handler toggling logic

Merged three functions which did almost the same thing into one,
togglingHandler(), which takes a few options instead.

Left the old functions as wrappers for now, I'll clean them up in
another commit.

Change-Id: Id3f457a84064382f2d962e9ac4d926827de93126

11 years agoAdd id for domain list on user create form
Ryan Lane [Fri, 15 Mar 2013 22:15:17 +0000 (15:15 -0700)]
Add id for domain list on user create form

The user login form already has this id for the domain list, so
I'm adding it for the create form as well.

Change-Id: I1eec31c461a5c76565acf1e0bbfa07f367591678

11 years agoUse gettype only for debugging text
umherirrender [Fri, 15 Mar 2013 21:50:42 +0000 (22:50 +0100)]
Use gettype only for debugging text

Changed some gettype == 'array', 'object' and similar to is_array,
is_object or similar

Output of gettype must not stable across versions and it is slow

Change-Id: I07bfc063b03be1200989dd6facee66b35ab51d77

11 years agoMerge "Make update.php and install.php use wfPHPVersionError() and reorganise it"
jenkins-bot [Fri, 15 Mar 2013 20:55:49 +0000 (20:55 +0000)]
Merge "Make update.php and install.php use wfPHPVersionError() and reorganise it"

11 years agoMerge "Fixed importScopedSession() and moved exportUserSession() to RequestContext."
jenkins-bot [Fri, 15 Mar 2013 20:48:55 +0000 (20:48 +0000)]
Merge "Fixed importScopedSession() and moved exportUserSession() to RequestContext."

11 years agoFixed importScopedSession() and moved exportUserSession() to RequestContext.
Aaron Schulz [Thu, 14 Mar 2013 22:43:42 +0000 (15:43 -0700)]
Fixed importScopedSession() and moved exportUserSession() to RequestContext.

* Renamed WebRequest::exportUserSession -> RequestContext::exportSession.
  Updated the only callers of this new function.
* Init the user with User::newFromId() instead of relying on the session
  (which breaks when things like CentralAuth are enabled).
* Made RequestContext::exportSession() include the user ID.
* Removed now-redundant user ID checks in upload jobs.
* Added unit tests for the session import function.

Change-Id: I543e6766f7a8a828ea5d270328c3bc7738c6fe94

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

Change-Id: I66bc1bec2e64fef9dee6562c9e2a7268c8cdb1cc

11 years ago(bug 45436) Update autonym of the Pali (pi) language
Amir E. Aharoni [Mon, 18 Feb 2013 18:31:02 +0000 (00:01 +0530)]
(bug 45436) Update autonym of the Pali (pi) language

Change-Id: I078eb210eacb0f4c89a8858636bd5b84da68e79d

11 years agoMerge "API: Remove useless PARAM_REQUIRED = false"
jenkins-bot [Fri, 15 Mar 2013 16:54:38 +0000 (16:54 +0000)]
Merge "API: Remove useless PARAM_REQUIRED = false"

11 years ago$.tablesorter: remove and inline getTextFromRowAndCellIndex()
MatmaRex [Fri, 4 Jan 2013 17:27:36 +0000 (18:27 +0100)]
$.tablesorter: remove and inline getTextFromRowAndCellIndex()

It introduced unnecessary indirection and was only called once.

Change-Id: I519cc1f04a581d41aa23229182c55466ed7757c8

11 years agoCleanup for ApiImageRotate
Reedy [Fri, 8 Mar 2013 02:09:01 +0000 (02:09 +0000)]
Cleanup for ApiImageRotate

Follows up Id15a92d19cda8256917e7e1e5ee4241012214102

Minor tweak to filerevert too

Change-Id: I742c854ebb97a5a1f954388be4b15f992fa93bd8