lhc/web/wiklou.git
10 years agoMerge "Add jquery.accessKeyLabel javascript module"
jenkins-bot [Sat, 26 Apr 2014 12:27:18 +0000 (12:27 +0000)]
Merge "Add jquery.accessKeyLabel javascript module"

10 years agoMerge "Add BagOStuff::setMulti for batch insertions"
jenkins-bot [Fri, 25 Apr 2014 22:35:59 +0000 (22:35 +0000)]
Merge "Add BagOStuff::setMulti for batch insertions"

10 years agoAdd BagOStuff::setMulti for batch insertions
Kunal Mehta [Sun, 15 Dec 2013 07:08:29 +0000 (23:08 -0800)]
Add BagOStuff::setMulti for batch insertions

Includes implementions for Redis, Sql and MemcachedPecl,
other types will fallback to using $this->set repeatedly.

Change-Id: I0924a197b28ee69e883128ccd672343e5c041929

10 years agoMerge "FormatJson: Remove speculative comment"
jenkins-bot [Fri, 25 Apr 2014 20:31:06 +0000 (20:31 +0000)]
Merge "FormatJson: Remove speculative comment"

10 years agoMerge "Fix RevDel_RevisionItem::getAuthorNameField to work for ips"
jenkins-bot [Fri, 25 Apr 2014 20:04:35 +0000 (20:04 +0000)]
Merge "Fix RevDel_RevisionItem::getAuthorNameField to work for ips"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 25 Apr 2014 19:35:24 +0000 (19:35 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ic989131311616d03b639641ae9915f10fb8711bb

10 years agoFormatJson: Remove speculative comment
Kevin Israel [Fri, 25 Apr 2014 19:00:40 +0000 (15:00 -0400)]
FormatJson: Remove speculative comment

Follows-up bec7e8287c69. The comment "Can be removed once we require
PHP >= 5.4.28, 5.5.12, 5.6.0" relies on some assumptions that might
later prove to be incorrect:

* That the fix won't be reverted from any of those PHP versions
  (e.g. if deemed to break BC)

* That the bug will be fixed in PECL jsonc and jsond, as well as in
  HHVM

* That we don't need to support older versions of those once we
  require one of the mentioned PHP versions

Change-Id: I67034c561d54d37dee961ada8c9cf5ccfd113da1

10 years agoMerge "jquery.textSelection: Don't throw errors on empty collections"
Mwalker [Fri, 25 Apr 2014 18:46:41 +0000 (18:46 +0000)]
Merge "jquery.textSelection: Don't throw errors on empty collections"

10 years agoRandomize thumbnail failure key TTL a bit to avoid stampedes
Aaron Schulz [Fri, 25 Apr 2014 18:25:51 +0000 (11:25 -0700)]
Randomize thumbnail failure key TTL a bit to avoid stampedes

Change-Id: Ibf268b646a9eb2acfaa649d634c5278133091158

10 years agoAdd jquery.accessKeyLabel javascript module
umherirrender [Tue, 22 Apr 2014 12:16:45 +0000 (14:16 +0200)]
Add jquery.accessKeyLabel javascript module

Extracted the accessKey logic from mediawiki.util and moved it to it's
own module. mediawiki.util now depends on the new module,
moved the jquery.client dependency from mediawiki.util to the new
module.

Now the accesskey is also set, when no placeholder like '[x]' is set on
the title (bug 48505).
Also the label for a input or textarea (and some other elements) gets
updated (bug 63849).

Also implements support for the browsers accessKeyLabel function (bug
37239), which will give a localised accessKey string, if supported (at
the moment FireFox 8+ only)

Bug: 37239
Bug: 48505
Bug: 63849
Change-Id: I211593629ca23540dcd5a93b11834155f4f04883

10 years agojquery.textSelection: Don't throw errors on empty collections
Bartosz Dziewoński [Fri, 25 Apr 2014 13:13:56 +0000 (15:13 +0200)]
jquery.textSelection: Don't throw errors on empty collections

All jQuery functions just do nothing or return "empty" values when
called on an empty collection (e.g. `$()`), the ones defined in this
module should behave in the same way.

This came to light when a change in WikiEditor combined with lousy
coding caused this code path to be called, breaking various gadgets
and extensions like SemanticForms.

Bug: 64289
Change-Id: Ib97f47ef1d66420682bd429c9c12e66c3392e77d

10 years agoMerge "FormatJson: Skip whitespace cleanup when unnecessary"
jenkins-bot [Fri, 25 Apr 2014 07:17:27 +0000 (07:17 +0000)]
Merge "FormatJson: Skip whitespace cleanup when unnecessary"

10 years agoMerge "Fix Language::parseFormattedNumber for lzh and zh-classical"
jenkins-bot [Fri, 25 Apr 2014 07:13:29 +0000 (07:13 +0000)]
Merge "Fix Language::parseFormattedNumber for lzh and zh-classical"

10 years agoFix Language::parseFormattedNumber for lzh and zh-classical
aude [Thu, 24 Apr 2014 02:33:58 +0000 (04:33 +0200)]
Fix Language::parseFormattedNumber for lzh and zh-classical

When parsing, filter any array values that are empty string
before using strtr php function so that strtr can handle
the array.

Bug: 64347
Change-Id: I94761caa70d44febfa0999c91048a01044fc1fbe

10 years agoFormatJson: Skip whitespace cleanup when unnecessary
Kevin Israel [Mon, 14 Apr 2014 07:14:33 +0000 (03:14 -0400)]
FormatJson: Skip whitespace cleanup when unnecessary

The patch[1] for PHP bug 66021[2], which removes the same undesirable
whitespace that WS_CLEANUP_REGEX does, has been merged into php-src.
Subsequent PHP versions having the patch shouldn't have to take the
10-20% performance hit from that workaround.

[1]: https://github.com/php/php-src/commit/82a4f1a1a287
[2]: https://bugs.php.net/bug.php?id=66021

Change-Id: I717a0e164952cc6ace104f13f6236e86c4ab8b58

10 years agoMerge "Simplify LocalFile::isVolatile"
jenkins-bot [Thu, 24 Apr 2014 23:09:03 +0000 (23:09 +0000)]
Merge "Simplify LocalFile::isVolatile"

10 years agoSimplify LocalFile::isVolatile
Ori Livneh [Thu, 24 Apr 2014 22:57:09 +0000 (15:57 -0700)]
Simplify LocalFile::isVolatile

Make the logic a bit easier to follow. Follow-up to I99a39c3d2.

Change-Id: I9b815d7f0d229ef25db5b7f48f6e49ca4dac046e

10 years agoAvoid query error with odd parameter combination
Aaron Schulz [Thu, 24 Apr 2014 22:46:08 +0000 (15:46 -0700)]
Avoid query error with odd parameter combination

Change-Id: I1fc4495d665ff2c1e0cbf274ee2081a06c4e603b

10 years agoMerge "Made LocalFile::loadExtraFromDB() handle re-upload race conditions"
jenkins-bot [Thu, 24 Apr 2014 22:17:51 +0000 (22:17 +0000)]
Merge "Made LocalFile::loadExtraFromDB() handle re-upload race conditions"

10 years agoMerge "HtmlFormatter::filterContent() should always return an array"
jenkins-bot [Thu, 24 Apr 2014 22:14:48 +0000 (22:14 +0000)]
Merge "HtmlFormatter::filterContent() should always return an array"

10 years agoHtmlFormatter::filterContent() should always return an array
Max Semenik [Thu, 24 Apr 2014 22:09:34 +0000 (15:09 -0700)]
HtmlFormatter::filterContent() should always return an array

Follow-up to 6289f3c48ca8dde511d227411e16b731d3c05328

Change-Id: Iac9c1440ac19590f778fc50c75b73da04a190f59

10 years agoMade LocalFile::loadExtraFromDB() handle re-upload race conditions
Aaron Schulz [Tue, 22 Apr 2014 16:38:51 +0000 (09:38 -0700)]
Made LocalFile::loadExtraFromDB() handle re-upload race conditions

Change-Id: I99a39c3d2b5d7a227be9b11a2f23c534ea4739d9

10 years agoMerge "Pass phpcs-strict on various files in includes/"
jenkins-bot [Thu, 24 Apr 2014 21:43:28 +0000 (21:43 +0000)]
Merge "Pass phpcs-strict on various files in includes/"

10 years agoMerge "Introducing pp_sortkey."
jenkins-bot [Thu, 24 Apr 2014 21:42:07 +0000 (21:42 +0000)]
Merge "Introducing pp_sortkey."

10 years agoMerge "Pass phpcs-strict on some test files (11/11)"
jenkins-bot [Thu, 24 Apr 2014 21:14:01 +0000 (21:14 +0000)]
Merge "Pass phpcs-strict on some test files (11/11)"

10 years agoMerge "Pass phpcs-strict on some test files (10/11)"
jenkins-bot [Thu, 24 Apr 2014 21:14:00 +0000 (21:14 +0000)]
Merge "Pass phpcs-strict on some test files (10/11)"

10 years agoMerge "Pass phpcs-strict on some test files (9/11)"
jenkins-bot [Thu, 24 Apr 2014 21:13:58 +0000 (21:13 +0000)]
Merge "Pass phpcs-strict on some test files (9/11)"

10 years agoFix RevDel_RevisionItem::getAuthorNameField to work for ips
umherirrender [Sat, 12 Apr 2014 20:40:52 +0000 (22:40 +0200)]
Fix RevDel_RevisionItem::getAuthorNameField to work for ips

The user_name column in the database result is null for anon users,
that will always return null when calling getAuthorName.

The function getAuthorName is used when the log_search table is filled
for revision deletion. After this fix the value for 'target_author_ip'
will be there which allows searching for logs where edits of the ip was
suppressed (because the search field 'offender' only works for oversighter)

Change-Id: I611bc56eefac594a28ad4808fe7d9ba48c872922

10 years agoMerge "Pass phpcs-strict on some test files (8/11)"
jenkins-bot [Thu, 24 Apr 2014 21:10:49 +0000 (21:10 +0000)]
Merge "Pass phpcs-strict on some test files (8/11)"

10 years agoMerge "Pass phpcs-strict on includes/libs/"
jenkins-bot [Thu, 24 Apr 2014 20:51:09 +0000 (20:51 +0000)]
Merge "Pass phpcs-strict on includes/libs/"

10 years agoMerge "Pass phpcs-strict on includes/libs/CSSJanus.php"
jenkins-bot [Thu, 24 Apr 2014 20:51:08 +0000 (20:51 +0000)]
Merge "Pass phpcs-strict on includes/libs/CSSJanus.php"

10 years agoMerge "Pass phpcs-strict on includes/normal/"
jenkins-bot [Thu, 24 Apr 2014 20:51:06 +0000 (20:51 +0000)]
Merge "Pass phpcs-strict on includes/normal/"

10 years agoPass phpcs-strict on some test files (11/11)
Siebrand Mazeland [Thu, 24 Apr 2014 17:52:51 +0000 (19:52 +0200)]
Pass phpcs-strict on some test files (11/11)

Woo!

Change-Id: I9fc116dfdf18c2772d047adb5bb14535d0bd39ed

10 years agoPass phpcs-strict on some test files (10/11)
Siebrand Mazeland [Thu, 24 Apr 2014 17:52:34 +0000 (19:52 +0200)]
Pass phpcs-strict on some test files (10/11)

Change-Id: I5624292143fcabe890779f5095eae735d7afb176

10 years agoPass phpcs-strict on some test files (9/11)
Siebrand Mazeland [Thu, 24 Apr 2014 17:52:09 +0000 (19:52 +0200)]
Pass phpcs-strict on some test files (9/11)

Change-Id: I69f17bf2af45f03274fdb38853184880e46c3514

10 years agoPass phpcs-strict on some test files (8/11)
Siebrand Mazeland [Thu, 24 Apr 2014 17:51:33 +0000 (19:51 +0200)]
Pass phpcs-strict on some test files (8/11)

Change-Id: I138c1f9bf2c3c7e9218d5fa29365e78b309fb459

10 years agoMerge "Update formatting of includes/normal/"
jenkins-bot [Thu, 24 Apr 2014 20:43:08 +0000 (20:43 +0000)]
Merge "Update formatting of includes/normal/"

10 years agoMerge "Pass phpcs-strict on some test files (7/11)"
jenkins-bot [Thu, 24 Apr 2014 20:40:57 +0000 (20:40 +0000)]
Merge "Pass phpcs-strict on some test files (7/11)"

10 years agoMerge "SECURITY: escape sortKey in pageInfo"
Mglaser [Thu, 24 Apr 2014 20:19:10 +0000 (20:19 +0000)]
Merge "SECURITY: escape sortKey in pageInfo"

10 years agoSECURITY: escape sortKey in pageInfo
csteipp [Sat, 29 Mar 2014 05:39:57 +0000 (22:39 -0700)]
SECURITY: escape sortKey in pageInfo

DEFAULTSORT isn't escaped before being added to the action=info table.

Bug: 63251
Change-Id: I087bfde8cbc69c3507f68ee3cb6e22aba0ffa7db

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 24 Apr 2014 19:51:30 +0000 (19:51 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I3840260a569a156d6600f0be6d6f5910412c5052

10 years agoPass phpcs-strict on various files in includes/
Siebrand Mazeland [Thu, 24 Apr 2014 19:50:01 +0000 (21:50 +0200)]
Pass phpcs-strict on various files in includes/

These files have all had treatment before, and these occurrences have either
been missed or have been introduced after.

Change-Id: I06cdab4616b5bff47c85152df28f18c861730a23

10 years agoPass phpcs-strict on includes/libs/
Siebrand Mazeland [Thu, 24 Apr 2014 19:48:10 +0000 (21:48 +0200)]
Pass phpcs-strict on includes/libs/

No changes to "real" libs. They are excluded from CodeSniffer tests.

Change-Id: Ifd14c0be24014fd9629a31e9bd155b27e2c0e93d

10 years agoPass phpcs-strict on includes/libs/CSSJanus.php
Siebrand Mazeland [Thu, 24 Apr 2014 19:46:54 +0000 (21:46 +0200)]
Pass phpcs-strict on includes/libs/CSSJanus.php

Change-Id: I184a419a225d5503c5b72909bd69624eba690b0e

10 years agoPass phpcs-strict on includes/normal/
Siebrand Mazeland [Thu, 24 Apr 2014 19:44:48 +0000 (21:44 +0200)]
Pass phpcs-strict on includes/normal/

Change-Id: I71d802f264115881198832a280982c6822f3fd41

10 years agoUpdate formatting of includes/normal/
Siebrand Mazeland [Thu, 24 Apr 2014 19:33:40 +0000 (21:33 +0200)]
Update formatting of includes/normal/

Change-Id: I3b6f34c62db8dea3f5bce50a15105c8c1a769903

10 years agoMerge "Remove unneeded rc_cur_time key from RCCacheEntryFactoryTest"
jenkins-bot [Thu, 24 Apr 2014 19:30:06 +0000 (19:30 +0000)]
Merge "Remove unneeded rc_cur_time key from RCCacheEntryFactoryTest"

10 years agoRemove unneeded rc_cur_time key from RCCacheEntryFactoryTest
umherirrender [Mon, 14 Apr 2014 18:50:30 +0000 (20:50 +0200)]
Remove unneeded rc_cur_time key from RCCacheEntryFactoryTest

Was added with I873f6b86007000a94337f0c963df4bf8fec5b715,
but patch set was older than the remove from sql
in I4a9c2fa813d1f25dfb755e564f7677a212934d7b.

Change-Id: I6e938c3d0b67470225f53cc5229f7669a7cd8f0b

10 years agoPass phpcs-strict on some test files (7/11)
Siebrand Mazeland [Thu, 24 Apr 2014 16:06:46 +0000 (18:06 +0200)]
Pass phpcs-strict on some test files (7/11)

Change-Id: Ia0ceea60e7ef43959f868378f3fcd463a3adf782

10 years agoPass phpcs-strict on some test files (6/11)
Siebrand Mazeland [Thu, 24 Apr 2014 16:06:21 +0000 (18:06 +0200)]
Pass phpcs-strict on some test files (6/11)

Change-Id: I5f4bc0df8183cf338ff45cacfc7279c2cd38ee04

10 years agoPass phpcs-strict on some test files (5/x)
Siebrand Mazeland [Thu, 24 Apr 2014 15:05:10 +0000 (17:05 +0200)]
Pass phpcs-strict on some test files (5/x)

Change-Id: I690645cd8a9b1165dcc8271b201c695ea9391226

10 years agoPass phpcs-strict on some test files (4/x)
Siebrand Mazeland [Thu, 24 Apr 2014 12:50:36 +0000 (14:50 +0200)]
Pass phpcs-strict on some test files (4/x)

Change-Id: Ifdbb431a6018c514b15ae71cc0c21b653a5e466d

10 years agoPass phpcs-strict on some test files (3/x)
Siebrand Mazeland [Thu, 24 Apr 2014 12:35:05 +0000 (14:35 +0200)]
Pass phpcs-strict on some test files (3/x)

Change-Id: I44172b512cd9b6c43806dad697e449bf06897305

10 years agoMerge "Pass phpcs-strict on some test files (2/x)"
jenkins-bot [Thu, 24 Apr 2014 16:18:48 +0000 (16:18 +0000)]
Merge "Pass phpcs-strict on some test files (2/x)"

10 years agoMerge "Pass phpcs-strict on some test files (1/x)"
jenkins-bot [Thu, 24 Apr 2014 16:18:47 +0000 (16:18 +0000)]
Merge "Pass phpcs-strict on some test files (1/x)"

10 years agoMerge "Pass phpcs-strict on tests/phpunit/GlobalFunctions/"
jenkins-bot [Thu, 24 Apr 2014 16:17:42 +0000 (16:17 +0000)]
Merge "Pass phpcs-strict on tests/phpunit/GlobalFunctions/"

10 years agoPass phpcs-strict on some test files (2/x)
Siebrand Mazeland [Thu, 24 Apr 2014 10:05:52 +0000 (12:05 +0200)]
Pass phpcs-strict on some test files (2/x)

Change-Id: Ia39fd107a554206927652b6e168faa0da501b362

10 years agoPass phpcs-strict on some test files (1/x)
Siebrand Mazeland [Thu, 24 Apr 2014 09:57:41 +0000 (11:57 +0200)]
Pass phpcs-strict on some test files (1/x)

Change-Id: I7f8dee09ac734cbc369441431841f2d4aa5d7f51

10 years agoInstaller: Fix botched spaces-to-tabs conversion in en.json
Kevin Israel [Thu, 24 Apr 2014 14:50:56 +0000 (10:50 -0400)]
Installer: Fix botched spaces-to-tabs conversion in en.json

Follows-up d33c865ef377, in which two groups of four spaces were missed.

Change-Id: I8896cc575650400765753298d00ffe464c4a9d2d

10 years agoMerge "Pass phpcs-strict on tests/parser/"
jenkins-bot [Thu, 24 Apr 2014 12:07:37 +0000 (12:07 +0000)]
Merge "Pass phpcs-strict on tests/parser/"

10 years agoUpdate message "config-extension-link"
Siebrand Mazeland [Thu, 24 Apr 2014 11:35:02 +0000 (13:35 +0200)]
Update message "config-extension-link"

The extension matric is no longer maintained.

Also change spaces to tabs.

Bug: 64355
Change-Id: Iae6f308a6405c52e82a9cff880602e7be0af21b6

10 years agoPass phpcs-strict on tests/phpunit/GlobalFunctions/
Siebrand Mazeland [Thu, 24 Apr 2014 09:47:06 +0000 (11:47 +0200)]
Pass phpcs-strict on tests/phpunit/GlobalFunctions/

Change-Id: I2acc99ac96d8c738668fae2ecc9a0cee1b695f00

10 years agoPass phpcs-strict on tests/parser/
Siebrand Mazeland [Thu, 24 Apr 2014 09:15:42 +0000 (11:15 +0200)]
Pass phpcs-strict on tests/parser/

Change-Id: I8d9780e75c9310d625a0968f85638d69acfa6a64

10 years ago$maxTimeAllowed still used by tests, causing HHVM to fail
Chad Horohoe [Wed, 23 Apr 2014 21:13:44 +0000 (14:13 -0700)]
$maxTimeAllowed still used by tests, causing HHVM to fail

Change-Id: Ib1e3bc564ae1524070cf392da6cb22ac368cfe11

10 years agoMerge "New 'newimagestext' message on [[Special:NewFiles]]"
jenkins-bot [Thu, 24 Apr 2014 08:30:22 +0000 (08:30 +0000)]
Merge "New 'newimagestext' message on [[Special:NewFiles]]"

10 years agoUse slave DB connections for LocalFile cache misses
Aaron Schulz [Wed, 23 Apr 2014 00:04:10 +0000 (17:04 -0700)]
Use slave DB connections for LocalFile cache misses

* Previously LocalFile cache misses would hit the master DB
  (even for shared repos like Commons).
* Since lock() is always called before file changes, this has
  been modified to call a new markVolatile() method to track
  changing (or recently changed) files in memcached. On cache
  miss this tracking is used to decide whether to use the
  slave or the master DB.

Change-Id: I942f5e28dd9e0953b6382cc2247ca480494d5718

10 years agoIntroducing pp_sortkey.
daniel [Mon, 31 Mar 2014 11:00:28 +0000 (13:00 +0200)]
Introducing pp_sortkey.

This adds the pp_sortkey column to the page_props table.

pp_sortkeys allows for top-k queries for pages, e.g.
the 100 pages with the most language links, etc. It is also
possible to query for exact values.

For now, pp_sortkey will contain pp_value's numeric value if
the value was set to a float, int or boolean.

Associated tasks:
* create a maintenance script for populating pp_sortkey. Tricky,
because when reading from the database, all values are strings.
* create an API module for querying pages by property value.

bug: 58032
Change-Id: I217c42656fb877ff35a36eb446a22bdaf119faac

10 years agoUpdate OOjs UI to v0.1.0-pre (0a7180f468)
James D. Forrester [Thu, 24 Apr 2014 01:05:35 +0000 (18:05 -0700)]
Update OOjs UI to v0.1.0-pre (0a7180f468)

New changes:
0a7180f Scope frame CSS to not affect child frames

Change-Id: I7d8f6d102acd6877ede862876fc2f0632a6e02b2

10 years agoUpdate OOjs UI to v0.1.0-pre (497baca586)
James D. Forrester [Thu, 24 Apr 2014 00:29:04 +0000 (17:29 -0700)]
Update OOjs UI to v0.1.0-pre (497baca586)

New changes:
6eed7c7 Add demo of auto-disabling toolgroup
8f066a6 Localisation updates from https://translatewiki.net.
58021ec Add clearFlags method to FlaggableElement

Change-Id: I34569dd25ec598a850736ce0cb377f309ca97000

10 years agoMerge "Update formatting for PHP files in skins/"
jenkins-bot [Wed, 23 Apr 2014 23:29:07 +0000 (23:29 +0000)]
Merge "Update formatting for PHP files in skins/"

10 years agoMerge "Update formatting for CSS files in skins/"
jenkins-bot [Wed, 23 Apr 2014 23:28:12 +0000 (23:28 +0000)]
Merge "Update formatting for CSS files in skins/"

10 years agoMerge "Pass phpcs-strict on skins/"
jenkins-bot [Wed, 23 Apr 2014 23:15:49 +0000 (23:15 +0000)]
Merge "Pass phpcs-strict on skins/"

10 years agoMerge "Update formatting in maintenance/ (4/4)"
jenkins-bot [Wed, 23 Apr 2014 23:14:47 +0000 (23:14 +0000)]
Merge "Update formatting in maintenance/ (4/4)"

10 years agoMerge "Update formatting in maintenance/ (3/4)"
jenkins-bot [Wed, 23 Apr 2014 23:12:45 +0000 (23:12 +0000)]
Merge "Update formatting in maintenance/ (3/4)"

10 years agoMerge "Update formatting in maintenance/ (2/4)"
jenkins-bot [Wed, 23 Apr 2014 23:10:45 +0000 (23:10 +0000)]
Merge "Update formatting in maintenance/ (2/4)"

10 years agoMerge "Update formatting in maintenance/ (1/4)"
jenkins-bot [Wed, 23 Apr 2014 23:09:28 +0000 (23:09 +0000)]
Merge "Update formatting in maintenance/ (1/4)"

10 years agoNew 'newimagestext' message on [[Special:NewFiles]]
rillke [Wed, 23 Apr 2014 13:12:57 +0000 (15:12 +0200)]
New 'newimagestext' message on [[Special:NewFiles]]

There is a default message called 'newimages-summary' but its output
is in user language and not in content language. Therefore, to customize
the introduction at [[Special:NewFiles]], one has to override all trans-
lations (which in turn must be maintained).

Use cases:
* Wikimedia Commons: Wants to add links to external tools and different
  gallery styles.
  Currently [[:commons:MediaWiki:Newimages-summary]] is used, and thus
  the customization is only visible to users with English user language
  preference set.

Change-Id: I4a253847d25540c90a0708636058ca821b035b06

10 years agoMerge "Added pool counter support for all thumb.php requests"
jenkins-bot [Wed, 23 Apr 2014 21:12:52 +0000 (21:12 +0000)]
Merge "Added pool counter support for all thumb.php requests"

10 years agoAdded pool counter support for all thumb.php requests
Aaron Schulz [Wed, 23 Apr 2014 20:42:12 +0000 (13:42 -0700)]
Added pool counter support for all thumb.php requests

* This can limit how many workers work on a given file at once,
  regardless of which specific thumbnail parameters are requested.
* Also added a BagOStuff::incrWithInit() method per DRY.
* Tweaked the register_shutdown_function() callback to avoid
  File/MediaTransformOutput references, since they may involve
  TempFSFile objects.

Change-Id: Ic01461cb974ab23b179ac3b60cf6de12e36360f6

10 years agoUpdate formatting for PHP files in skins/
Siebrand Mazeland [Wed, 23 Apr 2014 19:57:13 +0000 (21:57 +0200)]
Update formatting for PHP files in skins/

This impacts HTML output, mostly leading whitespace, I think.
Not sure if that's an issue.

Change-Id: Ia0cc9612d9f5b9ea0cf191b05bf09e2d78d34268

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 23 Apr 2014 19:54:46 +0000 (19:54 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I32121ade9ff74c97d51cfaffcde240263e6a5a5b

10 years agoUpdate formatting for CSS files in skins/
Siebrand Mazeland [Wed, 23 Apr 2014 19:46:49 +0000 (21:46 +0200)]
Update formatting for CSS files in skins/

Change-Id: I42d0ef436f8869f2970d9a5ff2c170bceb2f0110

10 years agoPass phpcs-strict on skins/
Siebrand Mazeland [Wed, 23 Apr 2014 19:40:20 +0000 (21:40 +0200)]
Pass phpcs-strict on skins/

Change-Id: I2116e02445e292fdf54ac052a6b5bd82f9a79955

10 years agoResolve complex arguments to LESS helper functions
Erik Bernhardson [Wed, 23 Apr 2014 02:16:53 +0000 (19:16 -0700)]
Resolve complex arguments to LESS helper functions

The icons in Flow and the Compact Personal Bar beta feature are missing,
their generated background-image 7 is empty.

The lessphp implementation passes full data frames into the helper
functions.  Utilize the now-public compileValue method of less
to evaluate the data frame into a string.

Additionally adds a small abstraction to run pairs of less/css files
as unit tests by executing the less file and comparing it to the
equivalent css file.

Change-Id: I1704f84638d86a0e6e6b9c190972ab19180bd484

10 years agoUpdate formatting in maintenance/ (4/4)
Siebrand Mazeland [Wed, 23 Apr 2014 18:09:26 +0000 (20:09 +0200)]
Update formatting in maintenance/ (4/4)

Change-Id: I6b58d014a4bfd6600e4e6f80188fdcfce18482ca

10 years agoUpdate formatting in maintenance/ (3/4)
Siebrand Mazeland [Wed, 23 Apr 2014 18:09:13 +0000 (20:09 +0200)]
Update formatting in maintenance/ (3/4)

Change-Id: I4390c4ea12a6a626b0e6817b6446635116ca9fe3

10 years agoUpdate formatting in maintenance/ (2/4)
Siebrand Mazeland [Wed, 23 Apr 2014 18:08:42 +0000 (20:08 +0200)]
Update formatting in maintenance/ (2/4)

Change-Id: I2b791d3bff0de464b6bdaaeae0622c065389c31c

10 years agoUpdate formatting in maintenance/ (1/4)
Siebrand Mazeland [Wed, 23 Apr 2014 18:08:06 +0000 (20:08 +0200)]
Update formatting in maintenance/ (1/4)

Change-Id: I0be8111b6ff1feb9f3a4096a96a9c6a6e40feb05

10 years agoMerge "Pass phpcs-strict on resources/"
jenkins-bot [Wed, 23 Apr 2014 15:41:52 +0000 (15:41 +0000)]
Merge "Pass phpcs-strict on resources/"

10 years agoMerge "Pass phpcs-strict on mw-config/"
jenkins-bot [Wed, 23 Apr 2014 15:39:15 +0000 (15:39 +0000)]
Merge "Pass phpcs-strict on mw-config/"

10 years agoMerge "Pass phpcs-strict on maintenance/ (8/8)"
jenkins-bot [Wed, 23 Apr 2014 15:39:13 +0000 (15:39 +0000)]
Merge "Pass phpcs-strict on maintenance/ (8/8)"

10 years agoMerge "Pass phpcs-strict on maintenance/ (7/8)"
jenkins-bot [Wed, 23 Apr 2014 15:37:12 +0000 (15:37 +0000)]
Merge "Pass phpcs-strict on maintenance/ (7/8)"

10 years agoMerge "Make users API cache mode public if blockinfo is not queried"
jenkins-bot [Wed, 23 Apr 2014 13:49:38 +0000 (13:49 +0000)]
Merge "Make users API cache mode public if blockinfo is not queried"

10 years agoPass phpcs-strict on resources/
Siebrand Mazeland [Wed, 23 Apr 2014 12:26:14 +0000 (14:26 +0200)]
Pass phpcs-strict on resources/

Change-Id: I5fdd0cfebc1b840e2f6731262f0806c60971df61

10 years agoPass phpcs-strict on maintenance/ (8/8)
Siebrand Mazeland [Wed, 23 Apr 2014 11:45:13 +0000 (13:45 +0200)]
Pass phpcs-strict on maintenance/ (8/8)

Woo!

Change-Id: I6c591492db363dfab81e5ddfa4a03213347ff5cb

10 years agoPass phpcs-strict on mw-config/
Siebrand Mazeland [Wed, 23 Apr 2014 11:48:06 +0000 (13:48 +0200)]
Pass phpcs-strict on mw-config/

Change-Id: I80e5c26f4d11cfb9b702382859587438406e729c

10 years agoFollow-Ups to "Fixed some @params documentation"
umherirrender [Wed, 23 Apr 2014 11:39:49 +0000 (13:39 +0200)]
Follow-Ups to "Fixed some @params documentation"

Fix of inline comments of the following patch sets:
Follow-Up: I0056b4a8df243cfc0c5f25378de48f7a35170aca
Follow-Up: I7f605aa9e117b5fd80d9b1440864fe526d2b14a5
Follow-Up: I3622f216a2ca8ac1b5e51892be9f98665f65bc36
Follow-Up: I6627ba0e76d3577c40bf2473e0f78a5ad7368634
Follow-Up: Id75b5ecf648ca50f955b3bde3307c82c4366b102
Follow-Up: I4ca5231119f33039d91da3b57a41cd40719a576b

Change-Id: Id9bbe84b2820e9db44af5783411e955f55f643d4

10 years agoFixed some @params documentation (includes/[WebRequest.php|Xml.php])
umherirrender [Wed, 23 Apr 2014 09:37:59 +0000 (11:37 +0200)]
Fixed some @params documentation (includes/[WebRequest.php|Xml.php])

Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.

Change-Id: I4ca5231119f33039d91da3b57a41cd40719a576b

10 years agoMerge "Fixed some @params documentation (includes/[Block.php|Revision.php])"
jenkins-bot [Wed, 23 Apr 2014 10:18:45 +0000 (10:18 +0000)]
Merge "Fixed some @params documentation (includes/[Block.php|Revision.php])"

10 years agoMerge "Fixed some @params documentation (includes/WikiPage.php)"
jenkins-bot [Wed, 23 Apr 2014 10:18:44 +0000 (10:18 +0000)]
Merge "Fixed some @params documentation (includes/WikiPage.php)"