lhc/web/wiklou.git
10 years agoMerge "Remove mergeExpected and assertResultRecursive"
jenkins-bot [Fri, 6 Dec 2013 14:36:59 +0000 (14:36 +0000)]
Merge "Remove mergeExpected and assertResultRecursive"

10 years agoMerge "Remove 3 unused movepage messages"
jenkins-bot [Fri, 6 Dec 2013 12:25:43 +0000 (12:25 +0000)]
Merge "Remove 3 unused movepage messages"

10 years agoMerge "Remove unused message 'resetpass'"
jenkins-bot [Fri, 6 Dec 2013 12:21:43 +0000 (12:21 +0000)]
Merge "Remove unused message 'resetpass'"

10 years agoRemove 3 unused allpages messages
Kevin Israel [Fri, 6 Dec 2013 07:39:32 +0000 (02:39 -0500)]
Remove 3 unused allpages messages

Follows-up r10199 (1a9a48502fff):
* allnotinnamespace
* allpagesprev
* allpagesnext

Change-Id: I1f2d0d2e7fe0719b9c6e092eae0b49d1afc4fe4f

10 years agoRemove unused message 'resetpass'
Kevin Israel [Fri, 6 Dec 2013 05:56:20 +0000 (00:56 -0500)]
Remove unused message 'resetpass'

This was (unintentionally?) replaced by 'changepassword' in r86280
(1a80d4637002), which renamed the special page from Special:ResetPass
to Special:ChangePassword.

'changepassword' was previously used in Special:Preferences until
r49790 (155ddf6de4a2) for a heading directly above the link to
Special:ResetPass.

I moved messages 'changepassword' and 'changepassword-summary' to
the correct blocks in MessagesEn.php and messages.inc and also
updated message documentation that referred to Special:ResetPass.

Change-Id: Ie5cbda5538f53c8e8d84c5e9d4d818fd745ff46c

10 years agoRemove 3 unused movepage messages
Kevin Israel [Fri, 6 Dec 2013 04:58:26 +0000 (23:58 -0500)]
Remove 3 unused movepage messages

Follows-up r4134 (751a0a35f26b):
* movedto

Follows-up r24618 (877d2bac2f0b):
* movenologin

Follows-up r35213 (c75649cf5a10):
* talkexists

Change-Id: I1db90a202f3cb0d93cecd10f6e60874d5478e50a

10 years agoMerge "Simplify ternary construction"
jenkins-bot [Fri, 6 Dec 2013 07:42:48 +0000 (07:42 +0000)]
Merge "Simplify ternary construction"

10 years agoSimplify ternary construction
Siebrand Mazeland [Thu, 5 Dec 2013 19:34:41 +0000 (20:34 +0100)]
Simplify ternary construction

Change-Id: I17872a978a5a788f10811153ea2ac9a4ef0f1f6d

10 years agoRemove function call from for loop test part in GIFMetadataExtractor::readGCT()
Siebrand Mazeland [Thu, 5 Dec 2013 19:36:51 +0000 (20:36 +0100)]
Remove function call from for loop test part in GIFMetadataExtractor::readGCT()

Change-Id: Ia19ddc32212786d7050287c6e07748ea2213ed40

10 years agoSmall doc comment fix
Aaron Schulz [Fri, 6 Dec 2013 05:35:56 +0000 (21:35 -0800)]
Small doc comment fix

Change-Id: I236379f9bcd3821df15f25df849b3eabca013c4d

10 years agoMerge "Converted html cache updates to use BacklinkJobUtils"
jenkins-bot [Fri, 6 Dec 2013 02:48:25 +0000 (02:48 +0000)]
Merge "Converted html cache updates to use BacklinkJobUtils"

10 years agoConverted html cache updates to use BacklinkJobUtils
Aaron Schulz [Thu, 28 Nov 2013 00:29:36 +0000 (16:29 -0800)]
Converted html cache updates to use BacklinkJobUtils

* De-duplicate squid purges using page_touched
* Removed excess title validity check
* Also removed broken versioning in refreshLinks jobs
* Added TODO comment about $wgMaxBacklinksInvalidate
* Other documentation tweaks

Change-Id: If91e06549e5afa2d4e27595d0e131b4d78412ad2

10 years agoMerge "Update documentation for log related classes"
jenkins-bot [Fri, 6 Dec 2013 00:28:29 +0000 (00:28 +0000)]
Merge "Update documentation for log related classes"

10 years agoMerge "Change line breaks in LocalFile::recordUpload2()"
jenkins-bot [Fri, 6 Dec 2013 00:26:34 +0000 (00:26 +0000)]
Merge "Change line breaks in LocalFile::recordUpload2()"

10 years agoMerge "Add more type hints in comments for static code analysis"
jenkins-bot [Thu, 5 Dec 2013 23:49:13 +0000 (23:49 +0000)]
Merge "Add more type hints in comments for static code analysis"

10 years agoMerge changes Id5e7b3d2,I4338caad,I95785992
jenkins-bot [Thu, 5 Dec 2013 23:34:08 +0000 (23:34 +0000)]
Merge changes Id5e7b3d2,I4338caad,I95785992

* changes:
  Declare visibility on class property of FormatExif
  Declare visibility on class properties of GIFMetadataExtractor
  Declare visibility on class property of MediaHandler

10 years agoMerge "Declare visibility on class props of MediaTransformOutput and MediaTransformError"
jenkins-bot [Thu, 5 Dec 2013 23:32:18 +0000 (23:32 +0000)]
Merge "Declare visibility on class props of MediaTransformOutput and MediaTransformError"

10 years agoMerge "Set saner default for parameters of LogEventsList::showOptions()"
jenkins-bot [Thu, 5 Dec 2013 23:29:25 +0000 (23:29 +0000)]
Merge "Set saner default for parameters of LogEventsList::showOptions()"

10 years agoAdd more type hints in comments for static code analysis
Siebrand Mazeland [Thu, 5 Dec 2013 09:13:28 +0000 (10:13 +0100)]
Add more type hints in comments for static code analysis

This resolves a little over 100 "undefined method" warnings on
includes/filerepo/.

Change-Id: I87b6d875a4304d7beadfbc26a66e9a3f358707e6

10 years agoRemove mergeExpected and assertResultRecursive
saper [Thu, 5 Dec 2013 09:46:18 +0000 (10:46 +0100)]
Remove mergeExpected and assertResultRecursive

These ApiQueryBasicTest methods are no longer used
and we have a better alternatives in the parent ApiQueryTestBase.

Change-Id: I7a81ad3dd6e880be151c1901037bab4018493bcf

10 years agoUpdate documentation for log related classes
Siebrand Mazeland [Tue, 3 Dec 2013 18:26:59 +0000 (19:26 +0100)]
Update documentation for log related classes

Change-Id: I4e00cda46cc7bbcbd17ac2d3d025a76281ee84b6

10 years agoMerge "Updates for Interwiki.php"
jenkins-bot [Thu, 5 Dec 2013 22:57:56 +0000 (22:57 +0000)]
Merge "Updates for Interwiki.php"

10 years agoMerge "Update documentation for File::getMetadata()"
jenkins-bot [Thu, 5 Dec 2013 22:34:32 +0000 (22:34 +0000)]
Merge "Update documentation for File::getMetadata()"

10 years agoChange line breaks in LocalFile::recordUpload2()
Siebrand Mazeland [Wed, 4 Dec 2013 16:43:20 +0000 (17:43 +0100)]
Change line breaks in LocalFile::recordUpload2()

Change-Id: Ib27e381106d048bb0a24286a877c85f0e62408cf

10 years agoMerge "Remove 6 unused revdelete messages"
jenkins-bot [Thu, 5 Dec 2013 22:30:32 +0000 (22:30 +0000)]
Merge "Remove 6 unused revdelete messages"

10 years agoMerge "Do not access MediaTransformOutput->url directly in Linker"
jenkins-bot [Thu, 5 Dec 2013 22:16:13 +0000 (22:16 +0000)]
Merge "Do not access MediaTransformOutput->url directly in Linker"

10 years agoUpdate documentation for File::getMetadata()
Siebrand Mazeland [Thu, 5 Dec 2013 19:09:38 +0000 (20:09 +0100)]
Update documentation for File::getMetadata()

Change-Id: I24711e009f42303774b3c79ad65c38081c7c0982

10 years agoMerge "Declare visibility for class properties of PNGMetadataExtractor"
jenkins-bot [Thu, 5 Dec 2013 22:12:37 +0000 (22:12 +0000)]
Merge "Declare visibility for class properties of PNGMetadataExtractor"

10 years agoMerge "Ignore CodeSniffer warning where unavoidable in media classes"
jenkins-bot [Thu, 5 Dec 2013 22:08:11 +0000 (22:08 +0000)]
Merge "Ignore CodeSniffer warning where unavoidable in media classes"

10 years agoMerge "Remove function calls from for loop test part in media classes"
jenkins-bot [Thu, 5 Dec 2013 22:06:35 +0000 (22:06 +0000)]
Merge "Remove function calls from for loop test part in media classes"

10 years agoMerge "Break long lines in media related classes"
jenkins-bot [Thu, 5 Dec 2013 22:05:05 +0000 (22:05 +0000)]
Merge "Break long lines in media related classes"

10 years agoMerge "Define 'MW_UPDATER' when running update.php"
jenkins-bot [Thu, 5 Dec 2013 21:59:32 +0000 (21:59 +0000)]
Merge "Define 'MW_UPDATER' when running update.php"

10 years agoMerge "Removed "Disable search suggestions" from Mediawiki Preference"
jenkins-bot [Thu, 5 Dec 2013 21:55:22 +0000 (21:55 +0000)]
Merge "Removed "Disable search suggestions" from Mediawiki Preference"

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 agoRemove 6 unused revdelete messages
Kevin Israel [Thu, 5 Dec 2013 03:11:10 +0000 (22:11 -0500)]
Remove 6 unused revdelete messages

Follows-up r51279 (bc35951c93df):
* revdelete-nologtype-title
* revdelete-nologtype-text
* revdelete-nologid-title
* revdelete-nologid-text

Follows-up r91346 (1c71a6f02aec) and e93fa029e2d6:
* revdel-restore-deleted
* revdel-restore-visible

Change-Id: I4276c0244076e49a62e7542eef8c662fba01d439

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 agoDeclare visibility on class property of FormatExif
Siebrand Mazeland [Thu, 5 Dec 2013 13:58:02 +0000 (14:58 +0100)]
Declare visibility on class property of FormatExif

Change-Id: Id5e7b3d29035946e44a0dd5939b9daec2e99aad0

10 years agoDeclare visibility on class properties of GIFMetadataExtractor
Siebrand Mazeland [Thu, 5 Dec 2013 13:45:15 +0000 (14:45 +0100)]
Declare visibility on class properties of GIFMetadataExtractor

Change-Id: I4338caadaf69471084f3365ba9ce96f652d77374

10 years agoDeclare visibility on class property of MediaHandler
Siebrand Mazeland [Thu, 5 Dec 2013 13:25:25 +0000 (14:25 +0100)]
Declare visibility on class property of MediaHandler

Change-Id: I95785992372a0f189b4543345ec1c040a4a7f7e4

10 years agoDeclare visibility on class props of MediaTransformOutput and MediaTransformError
Siebrand Mazeland [Thu, 5 Dec 2013 13:08:49 +0000 (14:08 +0100)]
Declare visibility on class props of MediaTransformOutput and MediaTransformError

Change-Id: I5d8561a4e0d502037bcf0a5188272f49177f8e45

10 years agoDo not access MediaTransformOutput->url directly in Linker
Siebrand Mazeland [Thu, 5 Dec 2013 12:55:04 +0000 (13:55 +0100)]
Do not access MediaTransformOutput->url directly in Linker

Use the available getUrl(). Also update parameter documentation.

This will allow setting MediaTransformOutput::$url to protected in a
following patch.

Change-Id: I54dfbbc845d1fccd106afc7de1f06fa6e06f6a48

10 years agoDeclare visibility for class properties of PNGMetadataExtractor
Siebrand Mazeland [Thu, 5 Dec 2013 12:27:23 +0000 (13:27 +0100)]
Declare visibility for class properties of PNGMetadataExtractor

Also rename the variables to match the (apparently informal) naming
conventions.

Change-Id: I8ae96117253db88fbff94927689e21a5a67a6571

10 years agoIgnore CodeSniffer warning where unavoidable in media classes
Siebrand Mazeland [Thu, 5 Dec 2013 11:37:21 +0000 (12:37 +0100)]
Ignore CodeSniffer warning where unavoidable in media classes

Change-Id: I270b3d2b1257ab8fd0b50eb83f7582e865d5d14f

10 years agoRemove function calls from for loop test part in media classes
Siebrand Mazeland [Thu, 5 Dec 2013 11:36:30 +0000 (12:36 +0100)]
Remove function calls from for loop test part in media classes

Change-Id: Ic9a677e9c678da873d936bad62dddbce7891dd07

10 years agoBreak long lines in media related classes
Siebrand Mazeland [Thu, 5 Dec 2013 11:33:18 +0000 (12:33 +0100)]
Break long lines in media related classes

Change-Id: I94653b4cde14f75180dae795d1fdaa1b073ec1d1

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 agoRemoved "Disable search suggestions" from Mediawiki Preference
tonythomas01 [Wed, 4 Dec 2013 17:23:54 +0000 (22:53 +0530)]
Removed "Disable search suggestions" from Mediawiki Preference

It's rarely used and provide more interface clutter and code complexity than
any benefit it provides.

Bug: 52812
Change-Id: I4b1d243b1b1a9da484147c4a682f44aa08a22803

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