lhc/web/wiklou.git
8 years agoMerge "ChangeTags: Teach updateTags() to derive log_id from rev_id (and the other...
jenkins-bot [Mon, 18 Jan 2016 00:56:26 +0000 (00:56 +0000)]
Merge "ChangeTags: Teach updateTags() to derive log_id from rev_id (and the other way)"

8 years agoMerge "Validate that $wgVariantArticlePath is absolute, too"
jenkins-bot [Mon, 18 Jan 2016 00:56:22 +0000 (00:56 +0000)]
Merge "Validate that $wgVariantArticlePath is absolute, too"

8 years agoMerge "mediawiki.mixins.rotation: Remove unnecessary @-o-keyframes"
jenkins-bot [Mon, 18 Jan 2016 00:49:24 +0000 (00:49 +0000)]
Merge "mediawiki.mixins.rotation: Remove unnecessary @-o-keyframes"

8 years agomediawiki.mixins: Correct browser support comments about Opera
Bartosz Dziewoński [Mon, 18 Jan 2016 00:31:07 +0000 (01:31 +0100)]
mediawiki.mixins: Correct browser support comments about Opera

Change-Id: I2735e102d2390e38e1de36a01507aceced06cf0e

8 years agomediawiki.mixins.rotation: Remove unnecessary @-o-keyframes
Bartosz Dziewoński [Sun, 17 Jan 2016 22:24:10 +0000 (23:24 +0100)]
mediawiki.mixins.rotation: Remove unnecessary @-o-keyframes

Opera 12, which this is meant for, understands unprefixed @keyframes.

Change-Id: Idc6c96dc343781fa894f5117869f7392c5a4aa7e

8 years agoAdd more preOutputCommit() comments
Aaron Schulz [Wed, 13 Jan 2016 17:31:39 +0000 (09:31 -0800)]
Add more preOutputCommit() comments

Change-Id: Ia0b4c37b391b8e5e77397d21458f9638b49ebf71

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 17 Jan 2016 21:17:24 +0000 (22:17 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I11ce995617c6dd55ff4aa272dd2b1953c7baf273

8 years agoSpecialAllMessages: Remove unsupported parameter
Fomafix [Sun, 17 Jan 2016 20:46:50 +0000 (20:46 +0000)]
SpecialAllMessages: Remove unsupported parameter

Sanitizer::escapeHtmlAllowEntities does not have a second parameter.

Change-Id: I6395fe3f31f8ce6321383330fff5b6e011fef90e

8 years agoMerge "Fix caption-side for tables inside figcaptions"
jenkins-bot [Sun, 17 Jan 2016 20:06:49 +0000 (20:06 +0000)]
Merge "Fix caption-side for tables inside figcaptions"

8 years agoMerge "Set defaultValue property on tz box in Special:Preferences to fix change check"
jenkins-bot [Sun, 17 Jan 2016 17:37:10 +0000 (17:37 +0000)]
Merge "Set defaultValue property on tz box in Special:Preferences to fix change check"

8 years agoFix caption-side for tables inside figcaptions
Ed Sanders [Sun, 17 Jan 2016 17:23:42 +0000 (17:23 +0000)]
Fix caption-side for tables inside figcaptions

Bug: T75435
Change-Id: I7626f55872dc70cdb793352386d4a7d93b02b829

8 years agoMerge "SpecialMergeHistory: HTML escape link text"
jenkins-bot [Sun, 17 Jan 2016 14:40:12 +0000 (14:40 +0000)]
Merge "SpecialMergeHistory: HTML escape link text"

8 years agoSpecialMergeHistory: HTML escape link text
Fomafix [Sun, 17 Jan 2016 13:42:11 +0000 (13:42 +0000)]
SpecialMergeHistory: HTML escape link text

Linker::link expects HTML as second parameter. Text must HTML encoded.
The value null automatically use the escaped getPrefixedText() value.

Change-Id: Idb2a31ec8db92d930415a4964e955bdf1653b0de

8 years agoSpecialVersion: Escape message 'version-ext-license'
Fomafix [Sun, 17 Jan 2016 10:56:00 +0000 (10:56 +0000)]
SpecialVersion: Escape message 'version-ext-license'

Change-Id: I27fb766accba40d04a26a249f87b2f0c4cdf4ff7

8 years agoMake Special:Redirect page redirect to log events by ID
PranavK [Wed, 13 Jan 2016 16:05:47 +0000 (21:35 +0530)]
Make Special:Redirect page redirect to log events by ID

Bug: T71107
Change-Id: I48bc6ae31e9f841f1cfeed6167c0c13c58e53f4a

8 years agoRemove ParserOutput::hasCustomDataUpdates()
IoannisKydonis [Sun, 17 Jan 2016 10:28:39 +0000 (12:28 +0200)]
Remove ParserOutput::hasCustomDataUpdates()

Deprecated since 1.25, slated for removal in 1.26 but not done.

Change-Id: Ia198c3b5a55c794cfdd8a5e93521aff85468ff88

8 years agoFix typo SpecialVersion::getCreditsForExtension comments
aude [Sun, 17 Jan 2016 00:18:10 +0000 (19:18 -0500)]
Fix typo SpecialVersion::getCreditsForExtension comments

Change-Id: I069bb79e18d0c2ffc41a96d0ef71b1d90aee0b75

8 years agoSet defaultValue property on tz box in Special:Preferences to fix change check
Geoffrey Mon [Sun, 17 Jan 2016 01:16:06 +0000 (20:16 -0500)]
Set defaultValue property on tz box in Special:Preferences to fix change check

It is set client side on load, which causes changed preferences check to go off.

Bug: T122702
Change-Id: I030fd14a893373af879a51b90322dce1faa692ba

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 16 Jan 2016 20:41:41 +0000 (21:41 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Ica795c8990e377277d705bcfd58f1f806b91e127

8 years agoTitle.php: Avoid wfGetLangObj for Language objects
Fomafix [Sun, 10 Jan 2016 20:19:34 +0000 (20:19 +0000)]
Title.php: Avoid wfGetLangObj for Language objects

getPageLanguage() from ContentHandler already returns a Language object.
wfGetLangObj is not necessary.

Change-Id: I556236419e445ce549598dd1752b29f619b0ca3c

8 years agoAdd GENDER support to some MediaWiki core messages
PranavK [Mon, 4 Jan 2016 00:38:14 +0000 (06:08 +0530)]
Add GENDER support to some MediaWiki core messages

https://translatewiki.net/wiki/MediaWiki:Confirmrecreate/en
https://translatewiki.net/wiki/MediaWiki:Confirmrecreate-noreason/en
https://translatewiki.net/wiki/MediaWiki:Saveusergroups/en
https://translatewiki.net/wiki/MediaWiki:Editusergroup/en

Change-Id: Ieec383e77aa245fd0db12ea714a27540853c5054

8 years agoMerge "Special:Import: Select first subproject if first project was empty"
jenkins-bot [Sat, 16 Jan 2016 13:15:04 +0000 (13:15 +0000)]
Merge "Special:Import: Select first subproject if first project was empty"

8 years agoSpecial:Import: Select first subproject if first project was empty
georggi [Sat, 16 Jan 2016 13:00:39 +0000 (15:00 +0200)]
Special:Import: Select first subproject if first project was empty

Previously, the first subproject in alphabetical order would be
selected the first time the subproject dropdown was shown. Now,
the first subproject in the list is selected, making it easier
for common selections to be placed at the top of the list.

Change-Id: Id6b9c6076630e4dad70ebe0f1185a59015b9a01f

8 years agoMerge "Hooks: Added ImportLogInterwikiLink hook"
jenkins-bot [Sat, 16 Jan 2016 11:23:53 +0000 (11:23 +0000)]
Merge "Hooks: Added ImportLogInterwikiLink hook"

8 years agoHooks: Added ImportLogInterwikiLink hook
georggi [Sat, 16 Jan 2016 10:32:12 +0000 (12:32 +0200)]
Hooks: Added ImportLogInterwikiLink hook

ImportLogInterwikiLink. Hook to change the interwiki link used in log entries and edit summaries for transwiki imports.

Change-Id: I03e054de16d8820c0f3d2c165288e229960d6bb1

8 years agoMerge "API: Work around PHP bug 45959"
jenkins-bot [Sat, 16 Jan 2016 04:49:40 +0000 (04:49 +0000)]
Merge "API: Work around PHP bug 45959"

8 years agoAdd some new rights to grants
Brad Jorsch [Sat, 16 Jan 2016 03:26:00 +0000 (22:26 -0500)]
Add some new rights to grants

* Give changetags and applychangetags to anyone granted the ability to edit
* Give move-categorypages along with the other move-related rights

Change-Id: Ic246c5699a21d56d2050669e7b2c89136894b805

8 years agoMerge "More complete, more straightforward JobQueueMemoryTest"
jenkins-bot [Sat, 16 Jan 2016 01:02:09 +0000 (01:02 +0000)]
Merge "More complete, more straightforward JobQueueMemoryTest"

8 years agoMerge "Fix mistakes in JobQueue type documentations"
jenkins-bot [Sat, 16 Jan 2016 00:54:45 +0000 (00:54 +0000)]
Merge "Fix mistakes in JobQueue type documentations"

8 years agoFix mistakes in JobQueue type documentations
Thiemo Mättig [Fri, 15 Jan 2016 09:31:07 +0000 (10:31 +0100)]
Fix mistakes in JobQueue type documentations

The missing "bool" should be obvious.

I'm also changing type hints from the implementation to the interface.
All public methods from the JobSpecification class are also in the
interface, except for two: toSerializableArray and newFromArray.
These two are not used here.

Change-Id: I36867cdfdf012a4f3233ac4730ab46dac1edc0ab

8 years agoMerge "Remove IE8 support from mediawiki.inspect.js"
jenkins-bot [Sat, 16 Jan 2016 00:28:53 +0000 (00:28 +0000)]
Merge "Remove IE8 support from mediawiki.inspect.js"

8 years agoMerge "Remove IE8 support from mediawiki.js"
jenkins-bot [Sat, 16 Jan 2016 00:27:05 +0000 (00:27 +0000)]
Merge "Remove IE8 support from mediawiki.js"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 16 Jan 2016 00:26:02 +0000 (01:26 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I31c2271f1e2774c6de84e8094ef5efb6930a289e

8 years agoRemove IE8 support from mediawiki.inspect.js
Kunal Mehta [Mon, 11 Jan 2016 06:47:30 +0000 (22:47 -0800)]
Remove IE8 support from mediawiki.inspect.js

Change-Id: Id25caaa64f306ce02f7b40b9cc3ce4a1cd54433b

8 years agoMerge "build: Enable karma debug log and use progress reporter"
jenkins-bot [Fri, 15 Jan 2016 23:34:32 +0000 (23:34 +0000)]
Merge "build: Enable karma debug log and use progress reporter"

8 years agoRemove IE8 support from mediawiki.js
Kunal Mehta [Mon, 11 Jan 2016 06:47:16 +0000 (22:47 -0800)]
Remove IE8 support from mediawiki.js

Change-Id: Ifec1e04baa59564632881c594f8a57d8be2c8250

8 years agobuild: Enable karma debug log and use progress reporter
Antoine Musso [Mon, 21 Dec 2015 16:39:12 +0000 (17:39 +0100)]
build: Enable karma debug log and use progress reporter

Should help diagnostic of QUnit failures such as:

    Error: Pending AJAX requests: 0 (active: 1)

Change-Id: I0ed1c8f0c26d49fa13dab2d9de20181d48ee2932

8 years agomw.Upload.BookletLayout: Avoid serializing DOM to HTML and parsing it right back
Bartosz Dziewoński [Tue, 22 Dec 2015 19:59:25 +0000 (20:59 +0100)]
mw.Upload.BookletLayout: Avoid serializing DOM to HTML and parsing it right back

More changes like in 430c5bb852f735397699d90c4cc583439669d675,
slightly less trivial, that I missed the first time.

Change-Id: Ie818055aba82153d7a931b453c4d75eb30085f69

8 years agoLog multi-DB write transactions
Aaron Schulz [Wed, 6 Jan 2016 02:19:40 +0000 (18:19 -0800)]
Log multi-DB write transactions

Bug: T122387
Change-Id: I03447f8c8465775a70c6a94f24ce196973703ce3

8 years agoMerge "Remove proxyunbannable from core"
jenkins-bot [Fri, 15 Jan 2016 18:34:42 +0000 (18:34 +0000)]
Merge "Remove proxyunbannable from core"

8 years agoRemove proxyunbannable from core
cenarium [Mon, 23 Nov 2015 08:07:09 +0000 (09:07 +0100)]
Remove proxyunbannable from core

This removes the userright 'proxyunbannable' from core, because it has
no uses. It is never checked for users with 'ipblock-exempt', yet all
usergroups with 'proxyunbannable' also have 'ipblock-exempt'.

Bug: T75414
Change-Id: I1e4f6ca439c0274af89f3280fbc519df2b68312c

8 years agoMerge "Change $wgExtraGenderNamespaces to $namespaceGenderAliases"
jenkins-bot [Fri, 15 Jan 2016 17:42:36 +0000 (17:42 +0000)]
Merge "Change $wgExtraGenderNamespaces to $namespaceGenderAliases"

8 years agoChange $wgExtraGenderNamespaces to $namespaceGenderAliases
Glaisher [Fri, 15 Jan 2016 16:44:48 +0000 (21:44 +0500)]
Change $wgExtraGenderNamespaces to $namespaceGenderAliases

wmf-config is overriding $wgExtraGenderNamespaces so this does not have
any effect on Wikimedia Latvian wikis. This is also what is used on other
language config files.

Bug: T106513
Change-Id: I0a678cade5bfebd148ada7e027c2774d98a5e8e5

8 years agoMerge "API to fetch data about stashed images"
jenkins-bot [Fri, 15 Jan 2016 17:02:02 +0000 (17:02 +0000)]
Merge "API to fetch data about stashed images"

8 years agoMerge "Fix CLI installer when --dbname is not specified on command line."
jenkins-bot [Fri, 15 Jan 2016 14:02:17 +0000 (14:02 +0000)]
Merge "Fix CLI installer when --dbname is not specified on command line."

8 years agoMore complete, more straightforward JobQueueMemoryTest
Thiemo Mättig [Fri, 15 Jan 2016 09:28:30 +0000 (10:28 +0100)]
More complete, more straightforward JobQueueMemoryTest

I created a basic test yesterday to cover two bugs. Now the test covers
all public methods. I was also able to get rid of the test double.

Change-Id: I53110280e3ef7b7a72d175b11b7fc4ccf1d648b3

8 years agoAdd page_props table access class
Cindy Cicalese [Tue, 12 Jan 2016 04:29:48 +0000 (23:29 -0500)]
Add page_props table access class

Bug:T115331
Change-Id: I022b9e3ca47dc63650b8a62260603b0893a80e69

8 years agoAlso select rc_log_type if the patrolled flag is set in ApiQueryRecentChanges
Alex Monk [Fri, 15 Jan 2016 01:08:30 +0000 (01:08 +0000)]
Also select rc_log_type if the patrolled flag is set in ApiQueryRecentChanges

See If6507121

Bug: T123542
Change-Id: Ida954386facc1699537bb1f3ff24e6bf1f3ecf8d

8 years agoDistinguish read vs write mode Action classes
Aaron Schulz [Thu, 14 Jan 2016 00:06:06 +0000 (16:06 -0800)]
Distinguish read vs write mode Action classes

Bug: T123589
Change-Id: I3c8fab646d3bb8cd468e5b60c27f3c5d43f9f97c

8 years agoDefine which SpecialPage classes expect write vs read mode
Aaron Schulz [Thu, 14 Jan 2016 22:35:31 +0000 (14:35 -0800)]
Define which SpecialPage classes expect write vs read mode

Bug: T123591
Change-Id: I521ebdd5e8eb8f7f4df927dc38732170aef2ac19

8 years agoAPI: Work around PHP bug 45959
Brad Jorsch [Thu, 14 Jan 2016 21:11:44 +0000 (16:11 -0500)]
API: Work around PHP bug 45959

Sigh, PHP. You allow for an array to have string "1" as a key (e.g. when
casting from object to array), but then you do everything wrong when
trying to deal with it.

Bug: T123663
Change-Id: I49f09901a69aab39ca1519bbe9e41267bf9a1216

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 14 Jan 2016 21:04:34 +0000 (22:04 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I3d9f10dc25f77795230ffdaf3f64fa1fd7905773

8 years agoMarkpatrolledAction: Remove double space
Fomafix [Thu, 14 Jan 2016 09:24:48 +0000 (09:24 +0000)]
MarkpatrolledAction: Remove double space

Change-Id: I9d303a3cc5b7af1e1a7d61948aae64eb227b07af

8 years agoMerge "Fix typo in [[MediaWiki:Botpasswords-editexisting/en]]"
jenkins-bot [Thu, 14 Jan 2016 19:04:22 +0000 (19:04 +0000)]
Merge "Fix typo in [[MediaWiki:Botpasswords-editexisting/en]]"

8 years agoMerge "Special:Block: Disallow to add an expiry time in the past"
jenkins-bot [Thu, 14 Jan 2016 19:03:18 +0000 (19:03 +0000)]
Merge "Special:Block: Disallow to add an expiry time in the past"

8 years agoMerge "Fix protectionexpiry using the wrong page"
jenkins-bot [Thu, 14 Jan 2016 19:03:13 +0000 (19:03 +0000)]
Merge "Fix protectionexpiry using the wrong page"

8 years agoMerge "Fix undefined property notice in ChangesList"
jenkins-bot [Thu, 14 Jan 2016 18:58:00 +0000 (18:58 +0000)]
Merge "Fix undefined property notice in ChangesList"

8 years agoDo not return null reference in JobQueueMemory
Thiemo Mättig [Thu, 14 Jan 2016 11:59:23 +0000 (12:59 +0100)]
Do not return null reference in JobQueueMemory

See Ia5b7a96 and the unrelated error raised there.
https://integration.wikimedia.org/ci/job/mwext-testextension-zend/19682/consoleFull

By writing this simple test I not only found one but two issues.

Bug: T123539
Change-Id: I17ed5b69992aa98ab2384b7a6aafc96b0fcba1ce

8 years agoFix protectionexpiry using the wrong page
Jackmcbarn [Thu, 14 Jan 2016 17:10:33 +0000 (12:10 -0500)]
Fix protectionexpiry using the wrong page

Change-Id: I0d8cfd68a735fbcdd32a000ef47e6922a816968e

8 years agoFix typo in [[MediaWiki:Botpasswords-editexisting/en]]
Alangi Derick [Thu, 14 Jan 2016 13:55:51 +0000 (14:55 +0100)]
Fix typo in [[MediaWiki:Botpasswords-editexisting/en]]

The text "Edit and existing bot password" has been changed to
"Edit an existing bot password".

Bug: T123523
Change-Id: I8b76216256aee59e647fb3c210250b203a763ccf

8 years agoSpecial:Block: Disallow to add an expiry time in the past
Florian [Thu, 7 Jan 2016 16:21:57 +0000 (17:21 +0100)]
Special:Block: Disallow to add an expiry time in the past

Like the protect action, adding a block with an expiry time in the
past doesn't make any sense and should throw an error message, instead of
creating a useless block.

Bug: T123069
Change-Id: Ib168ace80ada248f0209af896ab8b8ecfac3ef29

8 years agoMerge "Add better error logging for DB getLag() calls"
Aaron Schulz [Thu, 14 Jan 2016 11:08:42 +0000 (11:08 +0000)]
Merge "Add better error logging for DB getLag() calls"

8 years agoAdd AtomicSectionUpdate deferred update class
Aaron Schulz [Wed, 13 Jan 2016 16:54:48 +0000 (08:54 -0800)]
Add AtomicSectionUpdate deferred update class

This makes it easier to have deferred atomic DB transactions

Bug: T122115
Change-Id: I67afe335f03cc21fdce78abdf3f31fa67a368419

8 years agoChinese Conversion Table Update 2015-9
Chiefwei [Sun, 6 Dec 2015 13:51:42 +0000 (21:51 +0800)]
Chinese Conversion Table Update 2015-9

Update the Chinese conversion table routinely to fix bugs reported from
https://zh.wikipedia.org/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2/%E4%BF%AE%E5%A4%8D%E8%AF%B7%E6%B1%82 .

It is only data changes and only works for Chinese WikiProjects.

Change-Id: Icb47cf7d30a9bf09d55af9e96e34b9b5c6d6c9cf

8 years agoAdd better error logging for DB getLag() calls
Aaron Schulz [Wed, 13 Jan 2016 22:33:38 +0000 (14:33 -0800)]
Add better error logging for DB getLag() calls

Bug: T32257
Change-Id: I4ea5db670fe96d20b1d593cc2d759f9c3f570790

8 years agoAdd simple JobQueueMemory class for testing
Aaron Schulz [Wed, 13 Jan 2016 05:51:09 +0000 (21:51 -0800)]
Add simple JobQueueMemory class for testing

Change-Id: I1acce43dbab3b12393d6dc4675850695c619d88a

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 13 Jan 2016 22:02:10 +0000 (23:02 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I235946c492ef0b14f162c34405d0a49033f22909

8 years agoFix undefined property notice in ChangesList
aude [Wed, 13 Jan 2016 20:24:02 +0000 (15:24 -0500)]
Fix undefined property notice in ChangesList

This comes from ApiQueryWatchlist, which calls
ChangesList::isUnpatrolled with recent change row entries.

Since If71af587, rc_log_type is now needed along with rc_patrolled.

Bug: T123542
Change-Id: If6507121e59c53df925998f383c9bdf8f2936e37

8 years agoMerge "Remove patrol config check in User::isAllowed()"
jenkins-bot [Wed, 13 Jan 2016 21:47:55 +0000 (21:47 +0000)]
Merge "Remove patrol config check in User::isAllowed()"

8 years agoRemove WikiPage::getRawText()
Florian [Wed, 13 Jan 2016 19:35:24 +0000 (20:35 +0100)]
Remove WikiPage::getRawText()

Bug: T122754
Depends-On: I29ec61c482057c5b3b1048c834aedac182174929
Depends-On: I74e57d8e76149b452a9635ad8a6eca91c3df96a9
Depends-On: Ia624ffeb2d9b1862f943f7c3103df417d90001c5
Depends-On: I4a5a0d34156f9aae09a3edbe736fd924bc74773f
Depends-On: I2355b7d4a1b831cd752cbaa88bf1878e0d5554fb
Depends-On: I02051f0c74b4db93093f171f1250c03b99f6cec6
Depends-On: Ie88d05a6534ac1d02fb79494603cea17108e6bb9
Change-Id: Ie3247a7143859bf10580e67cd5383d152540a25b

8 years agoRemove User::generateToken()
Florian [Wed, 13 Jan 2016 18:11:53 +0000 (19:11 +0100)]
Remove User::generateToken()

Bug: T122754
Depends-On: I8b46e5232b9a40390143d04577c9356fb03cf23e
Depends-On: Idcad2af992e46a1fb67ac66ca3fcbe9d6fa681a1
Change-Id: I3f125ff432d45f0fdb36076183e01954bc3f84e9

8 years agoMerge "Fix purge method used in purgePatrolFooterCache()"
jenkins-bot [Wed, 13 Jan 2016 19:20:14 +0000 (19:20 +0000)]
Merge "Fix purge method used in purgePatrolFooterCache()"

8 years agoMerge "Better guess for patrol action"
jenkins-bot [Wed, 13 Jan 2016 18:44:51 +0000 (18:44 +0000)]
Merge "Better guess for patrol action"

8 years agoFix purge method used in purgePatrolFooterCache()
Aaron Schulz [Wed, 13 Jan 2016 17:41:49 +0000 (09:41 -0800)]
Fix purge method used in purgePatrolFooterCache()

Change-Id: I62ed843ac9755e39c6693fa33594067689fd6e0f

8 years agoRemove FileRepo::getRootUrl()
Florian [Wed, 13 Jan 2016 17:30:39 +0000 (18:30 +0100)]
Remove FileRepo::getRootUrl()

Not used anymore anywhere, and deprecated since 1.20.

Bug: T122754
Change-Id: Idbfa8cedd89b1527a4eca254326e20d050175041

8 years agoBetter guess for patrol action
cenarium [Wed, 13 Jan 2016 16:43:02 +0000 (17:43 +0100)]
Better guess for patrol action

The "return to" guess of the patrol action for non-JS users now also
checks uploads, and in that case let users return to Special:NewFiles.

Change-Id: Ib8e472c16b7034524ef3b79a5eb426f7edda6ec2

8 years agoRemove pointless rollback() warnings with "flush"
Aaron Schulz [Wed, 13 Jan 2016 15:00:42 +0000 (07:00 -0800)]
Remove pointless rollback() warnings with "flush"

This would previously make log noise when rollbackMasterChangesAndLog()
is triggered for explicit transactions.

Change-Id: Ia0009bcf575ef346d3bb7354ce3fb6fb477eb95f

8 years agoRemove pointless rollback() warnings with "flush"
Aaron Schulz [Wed, 13 Jan 2016 14:44:08 +0000 (06:44 -0800)]
Remove pointless rollback() warnings with "flush"

This would previously make log noise when rollbackMasterChangesAndLog() runs

Change-Id: I36dd955a89b23ed6d1ea693cf5366c7d3ad8d3af

8 years agoFix undeclared global $wgMainStash
Aaron Schulz [Wed, 13 Jan 2016 05:56:26 +0000 (21:56 -0800)]
Fix undeclared global $wgMainStash

Change-Id: I95d4194199a064221a56e0b10b236dd2564d1855

8 years agoMerge "Use dedicated cookie for skipping CDN cache after initiating DB changes"
jenkins-bot [Wed, 13 Jan 2016 03:16:40 +0000 (03:16 +0000)]
Merge "Use dedicated cookie for skipping CDN cache after initiating DB changes"

8 years agoMerge "Make AjaxDispatcher commit transactions before responding"
jenkins-bot [Wed, 13 Jan 2016 03:08:46 +0000 (03:08 +0000)]
Merge "Make AjaxDispatcher commit transactions before responding"

8 years agoMerge "HHVM 3.3.0 is oold"
jenkins-bot [Wed, 13 Jan 2016 00:48:37 +0000 (00:48 +0000)]
Merge "HHVM 3.3.0 is oold"

8 years agoMerge "Update OOjs UI to v0.15.0"
jenkins-bot [Tue, 12 Jan 2016 23:48:23 +0000 (23:48 +0000)]
Merge "Update OOjs UI to v0.15.0"

8 years agoHHVM 3.3.0 is oold
Reedy [Tue, 12 Jan 2016 23:41:37 +0000 (23:41 +0000)]
HHVM 3.3.0 is oold

Swap to 3.6.5 or later based on WMF usage

Bug: T123436
Change-Id: Ie17783ed3985eb05d78759f9469b1a6a198ef26e

8 years agoZend don't support less than PHP 5.5...
Reedy [Tue, 12 Jan 2016 23:32:58 +0000 (23:32 +0000)]
Zend don't support less than PHP 5.5...

Change-Id: Iecc771cda2e67eeaf2b6bf27f338e698d3298e96

8 years agoUpdate OOjs UI to v0.15.0
James D. Forrester [Tue, 12 Jan 2016 23:08:50 +0000 (15:08 -0800)]
Update OOjs UI to v0.15.0

Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.15.0/History.md

Change-Id: I980336e249b34de98dd707c385714c8e5d1f2505

8 years agoAdd "bot passwords"
Brad Jorsch [Thu, 10 Dec 2015 16:09:24 +0000 (11:09 -0500)]
Add "bot passwords"

Bot passwords are something like OAuth-lite, or Google's application
passwords: the bot can use API action=login to log in with the special
username and password, and will then be allowed to use the API with a
restricted set of rights.

This is intended to provide an easy migration path for legacy bots and
for bots on wikis without OAuth, since AuthManager is going to greatly
complicate non-interactive authentication. If OAuth is available, an
owner-only consumer would be a better choice.

Bug: T121113
Change-Id: Iaa4015e00edbfbfaedcc8b2d27a2d3fd25009159
Depends-On: I7e15331efb162275c4116bcae61f19d6b884cbe3

8 years agoMove grant and IP restriction logic from OAuth to core
Brad Jorsch [Wed, 2 Dec 2015 17:10:26 +0000 (12:10 -0500)]
Move grant and IP restriction logic from OAuth to core

This also adds code to User to allow SessionProviders to apply the grant
restrictions without needing to hook UserGetRights.

Change-Id: Ida2b686157aab7c8240d6a7a5a5046374ef86d52

8 years agoAdd SessionManager
Brad Jorsch [Tue, 22 Sep 2015 14:33:24 +0000 (10:33 -0400)]
Add SessionManager

SessionManager is a general-purpose session management framework, rather
than the cookie-based sessions that PHP wants to provide us.

While fallback is provided for using $_SESSION and other PHP session
management functions, they should be avoided in favor of using
SessionManager directly.

For proof-of-concept extensions, see OAuth change Ib40b221 and
CentralAuth change I27ccabdb.

Bug: T111296
Change-Id: Ic1ffea74f3ccc8f93c8a23b795ecab6f06abca72

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 12 Jan 2016 21:27:52 +0000 (22:27 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I805d5a3c6f10d2ce0fab8aaa937fa5b06cde152f

8 years agoMake AjaxDispatcher commit transactions before responding
Aaron Schulz [Tue, 12 Jan 2016 21:23:39 +0000 (13:23 -0800)]
Make AjaxDispatcher commit transactions before responding

Some extension code appears to have sanity commit() calls
to work around this in places, which is the wrong solution.

Note that there was always the post-send commit, just not
the pre-send one that normal requests have.

Change-Id: I410a1f1097daa4f43481d1b0afbe7f467b86d254

8 years agoAPI to fetch data about stashed images
Mark Holmquist [Fri, 11 Dec 2015 17:50:35 +0000 (11:50 -0600)]
API to fetch data about stashed images

Only works for the currently logged-in user (I'm not sure how that works
with bots, if OAuth will do that correctly or whatever) but will help us
do some neat stuff with tools that use the stash - including resuming
uploads.

Bug: T85561
Change-Id: I215ac6936185563f4c7b42a4bced65e4b096fd15

8 years agoTrack memory RSS increases in JobRunner
Aaron Schulz [Mon, 11 Jan 2016 21:13:21 +0000 (13:13 -0800)]
Track memory RSS increases in JobRunner

Bug: T123284
Change-Id: Ic6b76a722cc8d1e18a42b9779f776850ae4700f4

8 years agoMerge "Refactor JobRunner::run() by breaking it up a bit"
jenkins-bot [Tue, 12 Jan 2016 20:36:25 +0000 (20:36 +0000)]
Merge "Refactor JobRunner::run() by breaking it up a bit"

8 years agoMerge "Provide short URL to file description page in imageinfo API"
jenkins-bot [Tue, 12 Jan 2016 20:32:56 +0000 (20:32 +0000)]
Merge "Provide short URL to file description page in imageinfo API"

8 years agoMerge "Update the WikiPage object with the new ID when undeleting"
jenkins-bot [Tue, 12 Jan 2016 20:27:28 +0000 (20:27 +0000)]
Merge "Update the WikiPage object with the new ID when undeleting"

8 years agoMerge "Dependency inject TransactionProfiler into DatabaseBase"
jenkins-bot [Tue, 12 Jan 2016 20:05:36 +0000 (20:05 +0000)]
Merge "Dependency inject TransactionProfiler into DatabaseBase"

8 years agoMerge "De-duplicate near match query terms when generating variants"
jenkins-bot [Tue, 12 Jan 2016 16:56:30 +0000 (16:56 +0000)]
Merge "De-duplicate near match query terms when generating variants"

8 years agoMerge "Allow parameters to be passed into skin tooltip messages"
jenkins-bot [Tue, 12 Jan 2016 14:51:35 +0000 (14:51 +0000)]
Merge "Allow parameters to be passed into skin tooltip messages"

8 years agoMerge "Remove redundant test teardown in UploadFromUrlTestSuite"
jenkins-bot [Tue, 12 Jan 2016 14:45:37 +0000 (14:45 +0000)]
Merge "Remove redundant test teardown in UploadFromUrlTestSuite"