lhc/web/wiklou.git
10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 5 Dec 2013 21:22:40 +0000 (21:22 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I91af046a42d410457d6ccb6ce44657a29d184434

10 years agoMerge changes Ic0eaac33,Iaa81af5b
Brian Wolff [Thu, 5 Dec 2013 20:54:06 +0000 (20:54 +0000)]
Merge changes Ic0eaac33,Iaa81af5b

* changes:
  Remove PHP4 style constructor
  Update formatting for media related classes

10 years agoMerge "Remove unused messages 'resetprefs' and 'timezoneoffset'"
jenkins-bot [Thu, 5 Dec 2013 19:19:07 +0000 (19:19 +0000)]
Merge "Remove unused messages 'resetprefs' and 'timezoneoffset'"

10 years agoMerge "Remove unused messages 'protectedpagestext' and 'protectedtitlestext'"
jenkins-bot [Thu, 5 Dec 2013 19:16:55 +0000 (19:16 +0000)]
Merge "Remove unused messages 'protectedpagestext' and 'protectedtitlestext'"

10 years agoMerge "Remove 9 unused search messages"
jenkins-bot [Thu, 5 Dec 2013 18:57:26 +0000 (18:57 +0000)]
Merge "Remove 9 unused search messages"

10 years agoRemove unused messages 'protectedpagestext' and 'protectedtitlestext'
Kevin Israel [Thu, 5 Dec 2013 18:09:03 +0000 (13:09 -0500)]
Remove unused messages 'protectedpagestext' and 'protectedtitlestext'

Change-Id: Ia9c4d3b75f52b990af965d5b16a0b834e257a4f4

10 years agoRemove unused messages 'resetprefs' and 'timezoneoffset'
Kevin Israel [Thu, 5 Dec 2013 08:25:53 +0000 (03:25 -0500)]
Remove unused messages 'resetprefs' and 'timezoneoffset'

Follows-up r49790 (155ddf6de4a2).

I would have also deleted 'searchresultshead' had it not been for the fact
that the SemanticDrilldown extension still uses it (albeit incorrectly).
So for now, I am leaving that message in, adding a note that the message
is deprecated.

Change-Id: I4485c6fbe4fc7640c9cb2d765738fbec6bee26ab

10 years agoRemove 9 unused search messages
Kevin Israel [Thu, 5 Dec 2013 06:51:39 +0000 (01:51 -0500)]
Remove 9 unused search messages

Follows-up r44773 (c4c7d7444948) and r51251 (bbc07fe77605):
* searchmenu-prefix

Follows-up r50207 (abd70a35546b):
* searchmenu-legend

Follows-up r54030 (bde3b1f926a8):
* searchresulttext
* searchsubtitle
* searchsubtitleinvalid
* notitlematches
* nonefound
* powersearch
* powersearch-field

Change-Id: Id5accd7bb66684c9fa3dacb280f7ce9b2920762e

10 years agoMerge "Optimized LocalRepo::findFiles()"
jenkins-bot [Thu, 5 Dec 2013 18:34:59 +0000 (18:34 +0000)]
Merge "Optimized LocalRepo::findFiles()"

10 years agoMerge "Capitalization: 'jQuery', not 'jquery', and 'MediaWiki', not 'mediawiki'"
jenkins-bot [Thu, 5 Dec 2013 18:31:20 +0000 (18:31 +0000)]
Merge "Capitalization: 'jQuery', not 'jquery', and 'MediaWiki', not 'mediawiki'"

10 years agoCapitalization: 'jQuery', not 'jquery', and 'MediaWiki', not 'mediawiki'
Ori Livneh [Wed, 4 Dec 2013 23:42:09 +0000 (15:42 -0800)]
Capitalization: 'jQuery', not 'jquery', and 'MediaWiki', not 'mediawiki'

Change-Id: I7b53ac1340ef5fbc36d2ba8b6b2e68328597eaee

10 years agoMerge "Remove unused local variable"
jenkins-bot [Thu, 5 Dec 2013 17:36:58 +0000 (17:36 +0000)]
Merge "Remove unused local variable"

10 years agoMerge "Corrected the spelling of language name 'cu'"
jenkins-bot [Thu, 5 Dec 2013 15:03:25 +0000 (15:03 +0000)]
Merge "Corrected the spelling of language name 'cu'"

10 years agoMerge "Show tags on deleted edits through the API"
jenkins-bot [Thu, 5 Dec 2013 14:43:49 +0000 (14:43 +0000)]
Merge "Show tags on deleted edits through the API"

10 years agoRemove PHP4 style constructor
Siebrand Mazeland [Thu, 5 Dec 2013 11:06:45 +0000 (12:06 +0100)]
Remove PHP4 style constructor

Change-Id: Ic0eaac33286deef3e1ea8078ebc25cfc1cecf422

10 years agoUpdate formatting for media related classes
Siebrand Mazeland [Thu, 5 Dec 2013 10:05:05 +0000 (11:05 +0100)]
Update formatting for media related classes

Change-Id: Iaa81af5b65a650222fa65bf8c368e4f1ec3ce9c0

10 years agoFix Call to a member function getCacheTime() on a non-object in RefreshLinksJob.php
Reedy [Thu, 5 Dec 2013 05:16:16 +0000 (05:16 +0000)]
Fix Call to a member function getCacheTime() on a non-object in RefreshLinksJob.php

PHP Fatal error:  Call to a member function getCacheTime() on a non-object
in /www/translatewiki.net/w/includes/job/jobs/RefreshLinksJob.php on line 144

Change-Id: Ie30956823c8537bb2d459062c7719d1a59e26867

10 years agoMerge "Add OOJS v1.0.5 to core"
jenkins-bot [Thu, 5 Dec 2013 02:44:34 +0000 (02:44 +0000)]
Merge "Add OOJS v1.0.5 to core"

10 years agoAdd OOJS v1.0.5 to core
Roan Kattouw [Tue, 3 Dec 2013 19:48:24 +0000 (11:48 -0800)]
Add OOJS v1.0.5 to core

Just adding code for now, not actually used for anything yet outside
of extensions.

Note that OOJS does not work in older browsers and will
actually cause JS errors when loaded in browsers that don't support
ES5. We'll resolve this by adding an ES5 shim later.

Change-Id: Ifea6405c24778486bb9b310398b82ffb28ddbfcd

10 years agoMerge "Improve ApiQueryTestBase::assertResult"
jenkins-bot [Thu, 5 Dec 2013 01:04:30 +0000 (01:04 +0000)]
Merge "Improve ApiQueryTestBase::assertResult"

10 years agoMerge "Update documentation for DatabaseBase::selectRow()"
jenkins-bot [Wed, 4 Dec 2013 23:18:01 +0000 (23:18 +0000)]
Merge "Update documentation for DatabaseBase::selectRow()"

10 years agoMerge "Satisfy code analyzer by ensuring $urls is defined"
jenkins-bot [Wed, 4 Dec 2013 22:39:53 +0000 (22:39 +0000)]
Merge "Satisfy code analyzer by ensuring $urls is defined"

10 years agoShow tags on deleted edits through the API
Jackmcbarn [Wed, 4 Dec 2013 22:38:24 +0000 (17:38 -0500)]
Show tags on deleted edits through the API

Add support for viewing and filtering by tags in list=deletedrevs in the
API. This code is mostly copied from the prop=revisions code. To avoid
bug #45619 reoccuring here, no index is specified.

Change-Id: I53a1e0479bc6bafe2a1115de875548519e5b3b59

10 years agoMerge "Group public and private properties"
jenkins-bot [Wed, 4 Dec 2013 22:36:30 +0000 (22:36 +0000)]
Merge "Group public and private properties"

10 years agoMerge "Update documentation for file repo related classes"
jenkins-bot [Wed, 4 Dec 2013 22:33:06 +0000 (22:33 +0000)]
Merge "Update documentation for file repo related classes"

10 years agoSatisfy code analyzer by ensuring $urls is defined
Siebrand Mazeland [Wed, 4 Dec 2013 16:22:01 +0000 (17:22 +0100)]
Satisfy code analyzer by ensuring $urls is defined

Change-Id: I0f399edfca51c8949f0d0ce02c7a84f0890db92f

10 years agoGroup public and private properties
Siebrand Mazeland [Wed, 4 Dec 2013 16:20:22 +0000 (17:20 +0100)]
Group public and private properties

Change-Id: I2e399ee311ba44ae9652e75ee210663c3b28614b

10 years agoUpdate documentation for file repo related classes
Siebrand Mazeland [Wed, 4 Dec 2013 16:18:05 +0000 (17:18 +0100)]
Update documentation for file repo related classes

Change-Id: I626d972f92934afc9349e11d3a5550c4044dcb53

10 years agoRELEASE-NOTES entry for Ia0bd2531
Brad Jorsch [Wed, 4 Dec 2013 20:56:31 +0000 (15:56 -0500)]
RELEASE-NOTES entry for Ia0bd2531

Bug: 57637
Change-Id: I90f72ca02e9471f9ac790df17b03f81a65fec3a1

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 4 Dec 2013 20:29:19 +0000 (20:29 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ic4c5e76d04630a9da5bde0590db09b55d30132ec

10 years agoMerge "Update documentation for MediaHandler::getPageDimensions()"
jenkins-bot [Wed, 4 Dec 2013 17:56:30 +0000 (17:56 +0000)]
Merge "Update documentation for MediaHandler::getPageDimensions()"

10 years agoRemove change_tag_tag_id index forcing from API too
Brad Jorsch [Wed, 4 Dec 2013 17:26:24 +0000 (12:26 -0500)]
Remove change_tag_tag_id index forcing from API too

Change I6b8f35bd removed the forcing of the change_tag_tag_id index in
the UI code paths, but didn't do the same for the API like it probably
should have.

Change-Id: Ie3a00b3a0ad194169a026370510f3e21c3abc079

10 years agoImprove ApiQueryTestBase::assertResult
Brad Jorsch [Wed, 4 Dec 2013 16:52:32 +0000 (11:52 -0500)]
Improve ApiQueryTestBase::assertResult

It really shouldn't be printing output in the middle of the phpunit
progress indicator; this output should be included in the final output
instead.

This rewrites the function to make use of PHPUnit's data structure
diffing support.

Bug: 57974
Change-Id: Ia4b66182922005da8e2bc173794d712492ad13fa

10 years agoUpdate documentation for MediaHandler::getPageDimensions()
Siebrand Mazeland [Wed, 4 Dec 2013 16:14:01 +0000 (17:14 +0100)]
Update documentation for MediaHandler::getPageDimensions()

Change-Id: Ic41bfe20a322afd391517e733c090bb9185d1962

10 years agoUpdate documentation for DatabaseBase::selectRow()
Siebrand Mazeland [Wed, 4 Dec 2013 16:12:22 +0000 (17:12 +0100)]
Update documentation for DatabaseBase::selectRow()

Change-Id: I3b2f1224b1dc41bbd96ef10dbb9a8744511186e3

10 years agoMerge "Update documentation for IndexPager::formatRow()"
jenkins-bot [Wed, 4 Dec 2013 14:48:46 +0000 (14:48 +0000)]
Merge "Update documentation for IndexPager::formatRow()"

10 years agoMerge "Add deprecation warnings for log related methods"
jenkins-bot [Wed, 4 Dec 2013 14:42:07 +0000 (14:42 +0000)]
Merge "Add deprecation warnings for log related methods"

10 years agoMerge "Remove unneeded else{} in LogEventsList::userCanBitfield()"
jenkins-bot [Wed, 4 Dec 2013 14:40:10 +0000 (14:40 +0000)]
Merge "Remove unneeded else{} in LogEventsList::userCanBitfield()"

10 years agoRemove unused local variable
Siebrand Mazeland [Wed, 4 Dec 2013 09:40:57 +0000 (10:40 +0100)]
Remove unused local variable

Change-Id: I7d94987da8d8c476e7b648e132baff9f7206fac8

10 years agoMerge "Set visibility on class properties in LocalFile.php"
jenkins-bot [Wed, 4 Dec 2013 09:20:19 +0000 (09:20 +0000)]
Merge "Set visibility on class properties in LocalFile.php"

10 years agoSet visibility on class properties in LocalFile.php
Siebrand Mazeland [Sat, 23 Nov 2013 22:21:10 +0000 (23:21 +0100)]
Set visibility on class properties in LocalFile.php

Change-Id: Ibab58651bb147433bd99046013e11f8c773bef70

10 years agoMerge "Update ternary notation"
jenkins-bot [Wed, 4 Dec 2013 09:04:14 +0000 (09:04 +0000)]
Merge "Update ternary notation"

10 years agoUpdate ternary notation
Siebrand Mazeland [Wed, 4 Dec 2013 08:52:51 +0000 (09:52 +0100)]
Update ternary notation

Change-Id: I553dd1d42477326848e6e40b824058b6790e2eb5

10 years agoMerge "Set visibility on class properties of UnregisteredLocalFile"
jenkins-bot [Wed, 4 Dec 2013 08:38:55 +0000 (08:38 +0000)]
Merge "Set visibility on class properties of UnregisteredLocalFile"

10 years agoMerge "mw.language.convertPlural: Check if matching form exists"
jenkins-bot [Wed, 4 Dec 2013 08:34:43 +0000 (08:34 +0000)]
Merge "mw.language.convertPlural: Check if matching form exists"

10 years agoMerge "Remove unused messages 'edit-externally' and 'edit-externally-help'"
jenkins-bot [Wed, 4 Dec 2013 08:10:05 +0000 (08:10 +0000)]
Merge "Remove unused messages 'edit-externally' and 'edit-externally-help'"

10 years agoMerge "Remove unused message 'wrong_wfQuery_params'"
jenkins-bot [Wed, 4 Dec 2013 08:06:59 +0000 (08:06 +0000)]
Merge "Remove unused message 'wrong_wfQuery_params'"

10 years agoMerge "Remove unused message 'qbspecialpages'"
jenkins-bot [Wed, 4 Dec 2013 08:04:40 +0000 (08:04 +0000)]
Merge "Remove unused message 'qbspecialpages'"

10 years agoRemove unused message 'qbspecialpages'
Kevin Israel [Wed, 4 Dec 2013 07:24:26 +0000 (02:24 -0500)]
Remove unused message 'qbspecialpages'

Follows-up d445cb730123.

Change-Id: I49a80fd1dcdbe393d47307fd3a199d76c305fff5

10 years agoRemove unused message 'wrong_wfQuery_params'
Kevin Israel [Wed, 4 Dec 2013 06:40:49 +0000 (01:40 -0500)]
Remove unused message 'wrong_wfQuery_params'

Follows-up r63241 (7220add43edf).

Change-Id: I76738264971fed87fe4bedd2854c2a8f801acff2

10 years agoOptimized LocalRepo::findFiles()
Aaron Schulz [Wed, 27 Nov 2013 18:39:50 +0000 (10:39 -0800)]
Optimized LocalRepo::findFiles()

Change-Id: Icea9c416c973a6b83c53e5bc201aed4528e9dd34

10 years agoRemove unused messages 'edit-externally' and 'edit-externally-help'
Kevin Israel [Wed, 4 Dec 2013 06:28:35 +0000 (01:28 -0500)]
Remove unused messages 'edit-externally' and 'edit-externally-help'

Follows-up 4be62363520d.

Change-Id: Id178a79da5f72f3fae21072c91a49ae9a89f8a38

10 years agoMake explicit plural forms work for Russian
Santhosh Thottingal [Wed, 4 Dec 2013 04:58:07 +0000 (10:28 +0530)]
Make explicit plural forms work for Russian

Russian has overridden convertPlural method, that was not
taking care of explicit plural forms.

Follow up: I2a9f93567087babb896999f1214d3c56afc67c96

Bug: 54514
Change-Id: Ia977fa544b1d0e40222c7296b7145dcd6f93ecc2

10 years agoMerge "resourceloader: Make sure hashmtime cache key is different by language"
jenkins-bot [Wed, 4 Dec 2013 01:05:21 +0000 (01:05 +0000)]
Merge "resourceloader: Make sure hashmtime cache key is different by language"

10 years agoresourceloader: Make sure hashmtime cache key is different by language
Timo Tijhof [Wed, 4 Dec 2013 00:26:16 +0000 (01:26 +0100)]
resourceloader: Make sure hashmtime cache key is different by language

We were continuously invalidating the cache for the
ResourceLoaderLanguageDataModule every time a request for a langauge
other than the previous request came in as they all resulted in
the same cache key.

This could be resolved by adding $context->getLang() to the key
(which would be enough for langdata module, but not enough for
other uses of hashmtime), or by adding $context->getHash() (which
will fragment it for all possible context factor combinations,
slightly overkill for most cases, but would work).

Instead resolving it the same way we did in d3bdda3 for a similar
issue in #getDefinitionMtime: by adding the hash itself to the
key. That way it will solve the problem, including two nice things:
* Not fragment anymore than necessary (if it doesn't vary by
  skin, it won't vary by skin, and same for language etc.).
* Always separate keys when the value is different (if something
  can very based on other factors, e.g. LocalSettings globals or
  whatever untracked method may exist for influencing anything,
  it will all work as expected).
* Don't keep alternating and incrementing the timestamp while a
  multi-server infrastructure is syncing code (e.g. old code and
  new code for the same request context will not result in the
  same key and each old/new server alternatingly increasing the
  timestamp, instead the first new server will make the new key
  and the other servers will gradually start finding the new key
  with the timestamp of when it was first seen).

Change-Id: Ifa9088c11c388ca6c912e62efc43494e91702603

10 years agoAdded support to img_auth.php for non-repo containers
Aaron Schulz [Wed, 13 Nov 2013 23:25:37 +0000 (15:25 -0800)]
Added support to img_auth.php for non-repo containers

* This adds a new $wgImgAuthUrlPathMap config variable
* Also fixed ImgAuthBeforeStream hook msg formatting

bug: 51136
Change-Id: I77528f92b20670e3b09adc79c49e62060f1614f3

10 years agoImprove UI for page protection with $wgNamespaceProtection
Brad Jorsch [Fri, 28 Jun 2013 20:49:47 +0000 (16:49 -0400)]
Improve UI for page protection with $wgNamespaceProtection

Right now, if you set $wgNamespaceProtection, the protection interface
is confusing: it will allow you to apply "useless" protection levels for
any namespace except MediaWiki, where it will refuse to let you set any
protection at all.

The fix is to find which restriction levels are more restrictive than
the $wgNamespaceProtection restriction (i.e. where there is at least one
group that can pass $wgNamespaceProtection but not the level from
$wgRestrictionLevels), and use only those in the protection form. If
there are no such levels, we can skip showing the "protect" tab
entirely.

Change-Id: I9e2b29ade566abcd008ea2ad1e2f9818e315bb32

10 years agoAdd deprecation warnings for log related methods
Siebrand Mazeland [Tue, 3 Dec 2013 21:47:43 +0000 (22:47 +0100)]
Add deprecation warnings for log related methods

* LogEventsList::getDisplayTitle() was deprecated in 1.20.
* LogPage::logHeader() was deprecated in 1.19.
* LogPage::logName() was deprecated in 1.19.

No remaining uses in core.

Change-Id: I073f11a7776f6e3809d20d50e61e57486b77f494

10 years agoRemove unneeded else{} in LogEventsList::userCanBitfield()
Siebrand Mazeland [Tue, 3 Dec 2013 21:49:59 +0000 (22:49 +0100)]
Remove unneeded else{} in LogEventsList::userCanBitfield()

Change-Id: I85c0db0637edb87eec7ec5b335e88113a3d8ebe2

10 years agoUpdate documentation for IndexPager::formatRow()
Siebrand Mazeland [Tue, 3 Dec 2013 21:50:59 +0000 (22:50 +0100)]
Update documentation for IndexPager::formatRow()

Change-Id: Ifae56ee598a22e0066bcd51bb80bfc054cda9c68

10 years agoMerge "Change CdbException to subclass Exception"
jenkins-bot [Tue, 3 Dec 2013 21:30:48 +0000 (21:30 +0000)]
Merge "Change CdbException to subclass Exception"

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Tue, 3 Dec 2013 20:58:16 +0000 (20:58 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 3 Dec 2013 20:53:40 +0000 (20:53 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I5fe5f8015d44550ad334d67536ad6728fc838db6

10 years agoMerge "Fixes to RedisBagOStuff"
jenkins-bot [Tue, 3 Dec 2013 20:48:20 +0000 (20:48 +0000)]
Merge "Fixes to RedisBagOStuff"

10 years agoMerge "Revert "filebackend: cleaned up the FileBackend constructor""
jenkins-bot [Tue, 3 Dec 2013 20:46:05 +0000 (20:46 +0000)]
Merge "Revert "filebackend: cleaned up the FileBackend constructor""

10 years agoRevert "filebackend: cleaned up the FileBackend constructor"
Aaron Schulz [Tue, 3 Dec 2013 20:40:24 +0000 (20:40 +0000)]
Revert "filebackend: cleaned up the FileBackend constructor"

Actually this messes with the implicit backend made for things like Math (when unconfigured), which uses the "new" operator.

This reverts commit 1f129a22cbc8546b89dd4b49b2f567c1f758a968.

Change-Id: I4c72c4f7c8b82e38df5496cf2b90fc9e19c40334

10 years agoMerge "filebackend: cleaned up the FileBackend constructor"
jenkins-bot [Tue, 3 Dec 2013 20:22:10 +0000 (20:22 +0000)]
Merge "filebackend: cleaned up the FileBackend constructor"

10 years agoMerge "Set $wgNoFollowLinks to false iff "Authorized editors only" selected"
jenkins-bot [Tue, 3 Dec 2013 20:17:36 +0000 (20:17 +0000)]
Merge "Set $wgNoFollowLinks to false iff "Authorized editors only" selected"

10 years agoMerge "Document future removal of action=parse&prop=languageshtml"
jenkins-bot [Tue, 3 Dec 2013 20:13:03 +0000 (20:13 +0000)]
Merge "Document future removal of action=parse&prop=languageshtml"

10 years agoFixes to RedisBagOStuff
Aaron Schulz [Thu, 21 Nov 2013 18:22:48 +0000 (10:22 -0800)]
Fixes to RedisBagOStuff

* Avoid serializing scalars like the memcached client does.
  This means incr/decr can be fast and preserve the TTL.
* Properly call unwatch() in the cas() method.
* Made the expiry set on add() actually atomic.
* Also cleaned up the profiling calls.

bug: 56069
Change-Id: I3e0d1c4888062544c54aef32085f8ce608ff5423

10 years agoAdded MapCacheLRU class, a simpler cousin to ProcessCacheLRU
Aaron Schulz [Sat, 5 Oct 2013 03:47:33 +0000 (20:47 -0700)]
Added MapCacheLRU class, a simpler cousin to ProcessCacheLRU

Change-Id: Ibe1b44c8e168a086afb3481b4bb7660dc7d31ae7

10 years agoMerge changes I14044f14,Idd9eff2f,I6535467e
jenkins-bot [Tue, 3 Dec 2013 19:44:13 +0000 (19:44 +0000)]
Merge changes I14044f14,Idd9eff2f,I6535467e

* changes:
  Break long lines in logging related classes
  Localise brackets in log entry
  Update formatting for log related classes

10 years agoCorrected the spelling of language name 'cu'
Amir E. Aharoni [Tue, 3 Dec 2013 18:02:08 +0000 (20:02 +0200)]
Corrected the spelling of language name 'cu'

Reported upstream at
https://github.com/santhoshtr/AutonymFont/issues/44

The new spelling is used in the Wikipedia in this language as well.

Change-Id: Ifbe7f637499db2195f60dee3910b52e269edebec

10 years agoMake sure $content is always defined
Aaron Schulz [Tue, 3 Dec 2013 17:24:15 +0000 (09:24 -0800)]
Make sure $content is always defined

* Fixes 48a77e1

bug: 57916
Change-Id: I3cc0f36467da31a668bf27d5033555fa59e43c39

10 years agoMerge "Update some documentation"
jenkins-bot [Tue, 3 Dec 2013 17:10:21 +0000 (17:10 +0000)]
Merge "Update some documentation"

10 years agoMerge "Fixed field name"
jenkins-bot [Tue, 3 Dec 2013 17:07:08 +0000 (17:07 +0000)]
Merge "Fixed field name"

10 years agoMerge "Remove unused local variable"
jenkins-bot [Tue, 3 Dec 2013 17:04:24 +0000 (17:04 +0000)]
Merge "Remove unused local variable"

10 years agoFixed field name
Aaron Schulz [Tue, 3 Dec 2013 16:56:48 +0000 (08:56 -0800)]
Fixed field name

Change-Id: Ic7fd20309c0160b600a93913ddc5290d2be5f07c

10 years agoMerge "ExternalStoreDB: update for PHP 5"
jenkins-bot [Tue, 3 Dec 2013 16:54:07 +0000 (16:54 +0000)]
Merge "ExternalStoreDB: update for PHP 5"

10 years agoMerge "Fix comment"
jenkins-bot [Tue, 3 Dec 2013 16:26:24 +0000 (16:26 +0000)]
Merge "Fix comment"

10 years agoMerge "Break long lines and suppress false posive"
jenkins-bot [Tue, 3 Dec 2013 16:16:29 +0000 (16:16 +0000)]
Merge "Break long lines and suppress false posive"

10 years agoBreak long lines in logging related classes
Siebrand Mazeland [Tue, 3 Dec 2013 14:58:51 +0000 (15:58 +0100)]
Break long lines in logging related classes

Also:
* Take function call out of for loop test part.
* Suppress CodeSniffer warnings for unavoidable long lines.

Change-Id: I14044f14b30d494d910541a1dac50921254a7398

10 years agoMerge "Show minor edits and tags in Special:Undelete"
jenkins-bot [Tue, 3 Dec 2013 14:50:17 +0000 (14:50 +0000)]
Merge "Show minor edits and tags in Special:Undelete"

10 years agoLocalise brackets in log entry
Siebrand Mazeland [Tue, 3 Dec 2013 14:46:51 +0000 (15:46 +0100)]
Localise brackets in log entry

Change-Id: Idd9eff2f09f8764dbc8cc958a0165f1a94983cc6

10 years agoUpdate formatting for log related classes
Siebrand Mazeland [Tue, 3 Dec 2013 14:36:21 +0000 (15:36 +0100)]
Update formatting for log related classes

Change-Id: I6535467ed9b22d61b7c5caf3f18067a988871751

10 years agoRemove unused local variable
Siebrand Mazeland [Tue, 3 Dec 2013 14:00:43 +0000 (15:00 +0100)]
Remove unused local variable

Change-Id: I5f13b3bf7e769d0b0960b44e15b9c2454d9eb165

10 years agoUpdate some documentation
Siebrand Mazeland [Tue, 3 Dec 2013 13:59:09 +0000 (14:59 +0100)]
Update some documentation

Change-Id: I6a75964d2048de451e9b01a08f87cfe1ebd842ba

10 years agoFix comment
Siebrand Mazeland [Tue, 3 Dec 2013 13:38:39 +0000 (14:38 +0100)]
Fix comment

Change-Id: Icb52c2d236827d78eb420be9a1bcee9664d3bc4e

10 years agojquery.spinner: Wrestling with JSDuck
Bartosz Dziewoński [Tue, 3 Dec 2013 13:39:41 +0000 (14:39 +0100)]
jquery.spinner: Wrestling with JSDuck

See comments on Ib06344c1. Hopefully this will work.

Change-Id: I7faeadab90db7a533f777f2ef523d0b1608898e4

10 years agoBreak long lines and suppress false posive
Siebrand Mazeland [Tue, 3 Dec 2013 13:31:04 +0000 (14:31 +0100)]
Break long lines and suppress false posive

Change-Id: I14c61d8060cd3a3a2a15193f6721e7f87b783538

10 years agoMerge "Handle explicit plural forms in custom convertPlural in language classes"
jenkins-bot [Tue, 3 Dec 2013 13:23:42 +0000 (13:23 +0000)]
Merge "Handle explicit plural forms in custom convertPlural in language classes"

10 years agoHandle explicit plural forms in custom convertPlural in language classes
Pavel Selitskas [Tue, 3 Dec 2013 08:37:14 +0000 (14:07 +0530)]
Handle explicit plural forms in custom convertPlural in language classes

A new protected method looks for explicitly defined forms.
Every overriden language class is required to use this method.

Includes tests.

Redoing old patch I6dc759e3dfb05d6673209ba00da6592a384d5300

Bug: 46422
Change-Id: I2a9f93567087babb896999f1214d3c56afc67c96

10 years agoMerge "jquery.spinner: Improve documentation formatting"
jenkins-bot [Tue, 3 Dec 2013 11:47:25 +0000 (11:47 +0000)]
Merge "jquery.spinner: Improve documentation formatting"

10 years agoAdded wfProfileOut for early returns in ResourceLoaderModule::getDefinitionMtime
Ori Livneh [Tue, 3 Dec 2013 06:10:44 +0000 (22:10 -0800)]
Added wfProfileOut for early returns in ResourceLoaderModule::getDefinitionMtime

I added the profiling calls in PS13 of I00cf086c9 but forgot to add
wfProfileOuts for the early returns.

Change-Id: Ibcd22daba8da0e087376553bca271796e0d207e5

10 years agoresourceloader: Add definition hashing to improve cache invalidation
Timo Tijhof [Fri, 18 Oct 2013 13:34:50 +0000 (15:34 +0200)]
resourceloader: Add definition hashing to improve cache invalidation

Currently we invalidate module caches based on timestamps from
various places (including message blob, file mtimes and more).

This meant that when a module changes such that the maximum
detectable timestamp is still the same, the cache would not
invalidate.

Module classes can now implement a method to build a summary.
In most cases this should be (a normalised version of) the
definition array originally given to ResourceLoader::register
(such as $wgResourceModules items).

The most common scenarios this addresses:

* File lists (scripts, styles) being re-ordered.
* Files being removed when more recently changed files remain
  part of the module (e.g. removing an older file).
* Files or messages being added to a module while other more
  recently changed things are already part of the module.
  E.g. you create a message and use it in a js file, but forget
  to add the message to the module. Then later you add the msg
  key. This last update would be ignored, because the mtime of
  the message is no newer than the total which already included
  the (same) mtime of the js file added in the previous update.
* Change the concatenation order of pages in a Gadget definition.

Bug: 37812
Change-Id: I00cf086c981a84235623bf58fb83c9c23aa2d619

10 years agoExternalStoreDB: update for PHP 5
Tim Starling [Tue, 3 Dec 2013 03:50:32 +0000 (14:50 +1100)]
ExternalStoreDB: update for PHP 5

Support for PHP 4 was dropped in 2006, so the ampersands are no longer
needed. I guess this code doesn't get looked at very often.

Change-Id: I344043d17061014d4370d8f68b3bc86b8c4f9453

10 years agoChange the reset button text in Special: PasswordReset to 'Reset Password'
Alex Ivanov [Mon, 2 Dec 2013 23:45:16 +0000 (01:45 +0200)]
Change the reset button text in Special: PasswordReset to 'Reset Password'

This change is due to the fact that in some languages the text of the button overflows.

Bug: 56194
Change-Id: I16ef4851921365c5a93503fe2d9cd0a4e15a021b

10 years agoMerge "Revert "Add $robotPolicy parameter to SpecialPage::setHeaders()""
jenkins-bot [Mon, 2 Dec 2013 21:27:16 +0000 (21:27 +0000)]
Merge "Revert "Add $robotPolicy parameter to SpecialPage::setHeaders()""

10 years agoRevert "Add $robotPolicy parameter to SpecialPage::setHeaders()"
Parent5446 [Mon, 2 Dec 2013 21:20:11 +0000 (21:20 +0000)]
Revert "Add $robotPolicy parameter to SpecialPage::setHeaders()"

This reverts commit 8c7541da3b12d4727743ed1d3447f6ac6c3b6846.

Bug: 57883
Change-Id: I582088528286ff34da164fa4457dd203f11df7ef

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 2 Dec 2013 20:32:58 +0000 (20:32 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I5c7c2cde9b44ccfd3edd8101d677e2d8f1797982