lhc/web/wiklou.git
7 years agoMerge "registration: Support Change/RemoveCredentialsBlacklist in extension.json"
jenkins-bot [Fri, 24 Jun 2016 14:34:06 +0000 (14:34 +0000)]
Merge "registration: Support Change/RemoveCredentialsBlacklist in extension.json"

7 years agoMerge "Make deprecated TestUser properties private"
jenkins-bot [Fri, 24 Jun 2016 14:26:34 +0000 (14:26 +0000)]
Merge "Make deprecated TestUser properties private"

7 years agoMerge "Edit stash: Support CodeEditor"
jenkins-bot [Fri, 24 Jun 2016 14:22:34 +0000 (14:22 +0000)]
Merge "Edit stash: Support CodeEditor"

7 years agoregistration: Support Change/RemoveCredentialsBlacklist in extension.json
Gergő Tisza [Tue, 14 Jun 2016 21:21:02 +0000 (21:21 +0000)]
registration: Support Change/RemoveCredentialsBlacklist in extension.json

Change-Id: I4d796a46d99daa8841fcdcbe76dddf9db46af9ed

7 years agoEdit stash: Support CodeEditor
Fomafix [Thu, 23 Jun 2016 11:31:00 +0000 (11:31 +0000)]
Edit stash: Support CodeEditor

Use .textSelection( 'getContents' ) instead of .val() for '#wpTextbox1' and '#wpSummary'.

Then the normalization of line endings and dependency on 'jquery.getAttrs' is not necessary.

Bug: T137861
Change-Id: I26f7021a2a02cf719c9e5f44787b95cfc3239959

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 24 Jun 2016 08:17:40 +0000 (10:17 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I5105d0a0b0e35fdafbe9604122a49ae692cabe5a

7 years agoFix unit tests running on non-DB environment
Stanislav Malyshev [Thu, 23 Jun 2016 22:38:15 +0000 (15:38 -0700)]
Fix unit tests running on non-DB environment

Bug: T138551
Change-Id: Ie1d3c8b24e5271d4e12f4190400531cbe606bfd4

7 years agoMerge "mw.jqueryMsg: Add support for {{PAGENAME}} and {{PAGENAMEE}}"
jenkins-bot [Thu, 23 Jun 2016 18:46:54 +0000 (18:46 +0000)]
Merge "mw.jqueryMsg: Add support for {{PAGENAME}} and {{PAGENAMEE}}"

7 years agoMerge "Count subject and talk page conflict separately"
jenkins-bot [Thu, 23 Jun 2016 15:38:46 +0000 (15:38 +0000)]
Merge "Count subject and talk page conflict separately"

7 years agoMerge "search: did you mean should always go to SERP"
jenkins-bot [Thu, 23 Jun 2016 15:22:24 +0000 (15:22 +0000)]
Merge "search: did you mean should always go to SERP"

7 years agoMerge "Remove unused MediaWikiPageLinkRenderer class and interface"
jenkins-bot [Thu, 23 Jun 2016 14:32:28 +0000 (14:32 +0000)]
Merge "Remove unused MediaWikiPageLinkRenderer class and interface"

7 years agoMerge "SpecialLinkSearch: Use LinkRenderer instead of MediaWikiPageLinkRenderer"
jenkins-bot [Thu, 23 Jun 2016 14:28:01 +0000 (14:28 +0000)]
Merge "SpecialLinkSearch: Use LinkRenderer instead of MediaWikiPageLinkRenderer"

7 years agoCount subject and talk page conflict separately
addshore [Fri, 20 May 2016 10:26:53 +0000 (11:26 +0100)]
Count subject and talk page conflict separately

Bug: T136547
Change-Id: If8b3dcd1d97f72058d281602242d2c44c38a48d0

7 years agoRemove unused MediaWikiPageLinkRenderer class and interface
Kunal Mehta [Tue, 24 May 2016 02:19:14 +0000 (19:19 -0700)]
Remove unused MediaWikiPageLinkRenderer class and interface

The MediaWikiPageLinkRenderer interface was introduced with TitleValue
in 1.23, but was barely used outside of two special pages in MediaWiki
core. It has now been superceded by MediaWiki\Linker\LinkRenderer and
should be removed in favor of that.

Change-Id: Ib56d5731d4803aa417942aced7f3dedf2104bbde

7 years agoSpecialLinkSearch: Use LinkRenderer instead of MediaWikiPageLinkRenderer
Kunal Mehta [Tue, 24 May 2016 02:16:55 +0000 (19:16 -0700)]
SpecialLinkSearch: Use LinkRenderer instead of MediaWikiPageLinkRenderer

Change-Id: Ib117e4db841327c302f9ceaa97aaa52b6391b093

7 years agoParser: Use LinkRenderer for building ISBN magic links
Kunal Mehta [Tue, 24 May 2016 07:37:36 +0000 (00:37 -0700)]
Parser: Use LinkRenderer for building ISBN magic links

Instead of manually building the <a> tag, use LinkRenderer to create it.

Change-Id: Iaefe85527307a8399e9f52dde58fb2c24c4753c2

7 years agoMerge "SpecialCategories: Use LinkRenderer instead of MediaWikiPageLinkRenderer"
jenkins-bot [Thu, 23 Jun 2016 12:58:22 +0000 (12:58 +0000)]
Merge "SpecialCategories: Use LinkRenderer instead of MediaWikiPageLinkRenderer"

7 years agoMerge "SpecialNewpages: Use LinkRenderer instead of Linker::link()"
jenkins-bot [Thu, 23 Jun 2016 12:53:07 +0000 (12:53 +0000)]
Merge "SpecialNewpages: Use LinkRenderer instead of Linker::link()"

7 years agoMerge "SpecialMovepage: Use LinkRenderer instead of Linker::link()"
jenkins-bot [Thu, 23 Jun 2016 12:48:21 +0000 (12:48 +0000)]
Merge "SpecialMovepage: Use LinkRenderer instead of Linker::link()"

7 years agoMerge "SpecialBotPasswords: Use LinkRenderer instead of Linker::link()"
jenkins-bot [Thu, 23 Jun 2016 12:46:50 +0000 (12:46 +0000)]
Merge "SpecialBotPasswords: Use LinkRenderer instead of Linker::link()"

7 years agoMerge "SpecialListredirects: Use LinkRenderer instead of Linker::link()"
jenkins-bot [Thu, 23 Jun 2016 12:44:52 +0000 (12:44 +0000)]
Merge "SpecialListredirects: Use LinkRenderer instead of Linker::link()"

7 years agoSpecialCategories: Use LinkRenderer instead of MediaWikiPageLinkRenderer
Kunal Mehta [Tue, 24 May 2016 02:16:27 +0000 (19:16 -0700)]
SpecialCategories: Use LinkRenderer instead of MediaWikiPageLinkRenderer

And use TitleValue in one place that we can. While it is technically not
equivalent since Title::makeTitleSafe() can return null, since it is
coming directly out of the database, it should be safe to not require
validation.

Change-Id: I97bc0fd8e86f212414487ec88fbb2d7600bdacb6

7 years agoSpecialNewpages: Use LinkRenderer instead of Linker::link()
Kunal Mehta [Wed, 1 Jun 2016 03:46:13 +0000 (20:46 -0700)]
SpecialNewpages: Use LinkRenderer instead of Linker::link()

Change-Id: I78403b7c24253ba44c256f307559400923cc16a6

7 years agoMerge "SpecialUnusedtemplates: Use LinkRenderer instead of Linker::link()"
jenkins-bot [Thu, 23 Jun 2016 12:20:30 +0000 (12:20 +0000)]
Merge "SpecialUnusedtemplates: Use LinkRenderer instead of Linker::link()"

7 years agoSpecialMovepage: Use LinkRenderer instead of Linker::link()
Kunal Mehta [Wed, 1 Jun 2016 03:41:22 +0000 (20:41 -0700)]
SpecialMovepage: Use LinkRenderer instead of Linker::link()

Change-Id: I3b50354e62f47557a3a8ab1ec19a28f687887810

7 years agoSpecialBotPasswords: Use LinkRenderer instead of Linker::link()
Kunal Mehta [Wed, 1 Jun 2016 03:38:10 +0000 (20:38 -0700)]
SpecialBotPasswords: Use LinkRenderer instead of Linker::link()

Change-Id: I939c3d639d8efc0a2f838cf12ff18c9e9795f114

7 years agoMerge "Add SpecialPage::getLinkRenderer()"
jenkins-bot [Thu, 23 Jun 2016 12:12:44 +0000 (12:12 +0000)]
Merge "Add SpecialPage::getLinkRenderer()"

7 years agoSpecialListredirects: Use LinkRenderer instead of Linker::link()
Kunal Mehta [Wed, 1 Jun 2016 03:36:10 +0000 (20:36 -0700)]
SpecialListredirects: Use LinkRenderer instead of Linker::link()

And avoid passing null to LinkBatch::addObj() while we're at it.

Change-Id: I57abaa7c640eb97a3b17be99c8ab898fafb82634

7 years agoMerge "installer: Allow specifying where LocalSettings.php should be saved"
jenkins-bot [Thu, 23 Jun 2016 11:58:52 +0000 (11:58 +0000)]
Merge "installer: Allow specifying where LocalSettings.php should be saved"

7 years agoMerge "Re-word action-createpage and action-createtalk in singular"
jenkins-bot [Thu, 23 Jun 2016 11:23:25 +0000 (11:23 +0000)]
Merge "Re-word action-createpage and action-createtalk in singular"

7 years agoMerge "Switch EditForm to using editRevId in place of edittimestamp"
jenkins-bot [Thu, 23 Jun 2016 11:19:35 +0000 (11:19 +0000)]
Merge "Switch EditForm to using editRevId in place of edittimestamp"

7 years agoMerge "Only attempt to calculate the TTL in Language::sprintfDate if needed"
jenkins-bot [Thu, 23 Jun 2016 10:49:17 +0000 (10:49 +0000)]
Merge "Only attempt to calculate the TTL in Language::sprintfDate if needed"

7 years agoOnly attempt to calculate the TTL in Language::sprintfDate if needed
Marius Hoch [Thu, 23 Jun 2016 10:01:59 +0000 (12:01 +0200)]
Only attempt to calculate the TTL in Language::sprintfDate if needed

Change-Id: Ifd24c9206be05bb4fd2277efc574c9d1018e1957

7 years agoMerge "Fix phpdoc in IP.php (ipv4&6)"
jenkins-bot [Thu, 23 Jun 2016 10:13:17 +0000 (10:13 +0000)]
Merge "Fix phpdoc in IP.php (ipv4&6)"

7 years agoMerge "Fix phpdoc of User::isIP"
jenkins-bot [Thu, 23 Jun 2016 10:06:17 +0000 (10:06 +0000)]
Merge "Fix phpdoc of User::isIP"

7 years agoFix phpdoc in IP.php (ipv4&6)
addshore [Thu, 23 Jun 2016 09:59:00 +0000 (10:59 +0100)]
Fix phpdoc in IP.php (ipv4&6)

Change-Id: I6b362107195794a26b87310cb058ddb811884cbc

7 years agoFix phpdoc of User::isIP
addshore [Thu, 23 Jun 2016 09:57:48 +0000 (10:57 +0100)]
Fix phpdoc of User::isIP

Change-Id: I0990e91ca70cb6fab7e7023917d6eb0d6fd2ff31

7 years agoRe-word action-createpage and action-createtalk in singular
Amire80 [Thu, 23 Jun 2016 09:01:15 +0000 (11:01 +0200)]
Re-word action-createpage and action-createtalk in singular

This usually refers to a single page.
The bug suggests writing a conditional message
for the case of a user who cannot create any pages at all,
but simply saying "create this page" seems enough.

More discussion at
https://en.wikipedia.org/wiki/MediaWiki_talk:Action-createpage

Bug: T61200
Change-Id: Ie192bee99a48ca0f2e3230ae1ccd80fb57c52eb9

7 years agomw.jqueryMsg: Add support for {{PAGENAME}} and {{PAGENAMEE}}
Bartosz Dziewoński [Thu, 23 Jun 2016 08:48:44 +0000 (10:48 +0200)]
mw.jqueryMsg: Add support for {{PAGENAME}} and {{PAGENAMEE}}

Bug: T115259
Change-Id: I40146e9db5e0b1c171a0fb43b68e28f83c8a590a

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 23 Jun 2016 06:36:56 +0000 (08:36 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I5b2124b67ee3606a8fbe98ef3fc66eaff8a39d3d

7 years agoMerge "RELEASE-NOTES: Don't imply that HHVM 3.1 is supported"
jenkins-bot [Wed, 22 Jun 2016 23:08:55 +0000 (23:08 +0000)]
Merge "RELEASE-NOTES: Don't imply that HHVM 3.1 is supported"

7 years agoSpecialUnusedtemplates: Use LinkRenderer instead of Linker::link()
Kunal Mehta [Wed, 1 Jun 2016 03:32:43 +0000 (20:32 -0700)]
SpecialUnusedtemplates: Use LinkRenderer instead of Linker::link()

Change-Id: If54de97106a71d330a0193f61d7eac9d7bb7ad12

7 years agoAdd SpecialPage::getLinkRenderer()
Kunal Mehta [Wed, 22 Jun 2016 21:30:30 +0000 (23:30 +0200)]
Add SpecialPage::getLinkRenderer()

And SpecialPage::setLinkRenderer(), so the Parser can pass on its
LinkRenderer instance for when special pages are being included in a
page.

Change-Id: If9a9c648ab670b824ce534e7cf0d20d41e1bfd12

7 years agoMerge "mediawiki.action.edit.stash: Restore dependency to 'jquery.getAttrs'"
jenkins-bot [Wed, 22 Jun 2016 19:29:59 +0000 (19:29 +0000)]
Merge "mediawiki.action.edit.stash: Restore dependency to 'jquery.getAttrs'"

7 years agoMerge "Move changeslist CSS classes from mediawiki.legacy.shared"
jenkins-bot [Wed, 22 Jun 2016 18:00:42 +0000 (18:00 +0000)]
Merge "Move changeslist CSS classes from mediawiki.legacy.shared"

7 years agoRemove references to AdminSettings.php
Siebrand Mazeland [Wed, 22 Jun 2016 14:54:16 +0000 (16:54 +0200)]
Remove references to AdminSettings.php

The use of this file is no longer possible. The few remaining strings
haven't been updated in a long time, and these references just had to be
removed now.

Bug: T138313
Change-Id: I06f66c0ca7abd4679136151bcb1d8a97d4f6a651

7 years agoMerge "resourceloader: remove redundant mw.loader type-checks"
jenkins-bot [Wed, 22 Jun 2016 16:38:18 +0000 (16:38 +0000)]
Merge "resourceloader: remove redundant mw.loader type-checks"

7 years agoMerge "resourceloader: Simplify CSS loading by removing IE8 hacks"
jenkins-bot [Wed, 22 Jun 2016 16:34:54 +0000 (16:34 +0000)]
Merge "resourceloader: Simplify CSS loading by removing IE8 hacks"

7 years agoresourceloader: remove redundant mw.loader type-checks
Ori Livneh [Sun, 19 Jun 2016 04:34:38 +0000 (21:34 -0700)]
resourceloader: remove redundant mw.loader type-checks

I searched Google and could not find any indication that anyone has encountered
these error messages in the wild since their introduction, half a decade go.
In my opinion they hurt readability substantially by displacing the main body
of the function away from its declaration.

Change-Id: Ifd33974b0c63f3d7ea44f1b0728de4b8b8dde099

7 years agoresourceloader: Simplify CSS loading by removing IE8 hacks
Ori Livneh [Sat, 18 Jun 2016 22:48:45 +0000 (15:48 -0700)]
resourceloader: Simplify CSS loading by removing IE8 hacks

* Remove 'isIEto9'. Since we blacklist anything before 9, isIE9 is enough.

* Set the content of style tags and the href attribute of link tags before
  inserting them into the DOM. Previously, we did DOM insertion first, due
  to T35305. I verified that IE9 is not affected.

* Use document.head instead of document.getElementsByTagName( 'head' )[ 0 ].

* Set / extend the contents of link tags via
  node.appendChild( document.createTextNode( ... ) ) this works in IE9, and
  adding CSS in this way does not strip @media queries in the way that
  repeat node.styleSheet.cssText += '...' operations will. This means the
  workarounds put in place to mitigate T108727 can be removed.
  quirksmode confirms that document.createTextNode() is supported in IE9,
  and mentions the issue with style tags as IE8-specific:
  http://quirksmode.org/dom/core/#t01

I created a test page with all the behaviors here:
https://people.wikimedia.org/~ori/If51f8303b/index.html

It loads correctly in IE9:
https://people.wikimedia.org/~ori/If51f8303b/screenshot.png

Change-Id: If51f8303b74fdc8001cfa20ea8b016fdc210b1b1

7 years agoMerge "Remove uses of deprecated TestUser properties"
jenkins-bot [Wed, 22 Jun 2016 15:48:46 +0000 (15:48 +0000)]
Merge "Remove uses of deprecated TestUser properties"

7 years agoMake deprecated TestUser properties private
addshore [Fri, 6 May 2016 15:11:08 +0000 (16:11 +0100)]
Make deprecated TestUser properties private

Change-Id: I18d6299bad773d16c04b6ea79331c81af8f538bc
Depends-On: I5317616f99f1344557fd818d0b00073a82197d05
Depends-On: I15be3de63b2ce13e0ea07b235efd7756c97cebfc
Depends-On: I80a50e50493ad04f20cab3a1e094a5c3ecb1c19f

7 years agoRemove uses of deprecated TestUser properties
addshore [Fri, 6 May 2016 15:06:46 +0000 (16:06 +0100)]
Remove uses of deprecated TestUser properties

Change-Id: Ib44c66492e27516dfe205a5e428ebfd6b0fcdfd9

7 years agoMerge "SpecialSearch: simplify CSS selectors"
jenkins-bot [Wed, 22 Jun 2016 15:08:43 +0000 (15:08 +0000)]
Merge "SpecialSearch: simplify CSS selectors"

7 years agoSpecialSearch: simplify CSS selectors
Derk-Jan Hartman [Fri, 27 May 2016 22:43:41 +0000 (00:43 +0200)]
SpecialSearch: simplify CSS selectors

The CSS specificity in `Special:Search` is probably mostly from when
this was still in the skins. It's about time to clean it up.

Change-Id: Ic100a4b33560c14afc9ad2bfac162d1494b1b5bc

7 years agoMerge "Update namespaces for Konkani gom-deva"
jenkins-bot [Wed, 22 Jun 2016 13:41:59 +0000 (13:41 +0000)]
Merge "Update namespaces for Konkani gom-deva"

7 years agoMerge "Simplify translatewiki.net links from Special:AllMessages"
jenkins-bot [Wed, 22 Jun 2016 10:37:33 +0000 (10:37 +0000)]
Merge "Simplify translatewiki.net links from Special:AllMessages"

7 years agoMerge "Add ą, č, ę, ė, į, š, ų, ū, ž to linkTrail for lt language"
jenkins-bot [Wed, 22 Jun 2016 10:03:55 +0000 (10:03 +0000)]
Merge "Add ą, č, ę, ė, į, š, ų, ū, ž to linkTrail for lt language"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 21 Jun 2016 20:42:23 +0000 (22:42 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Id5fb2d3cd7946e8557d2368ffa182a04b937f8c3

7 years agoinstaller: Allow specifying where LocalSettings.php should be saved
Kunal Mehta [Mon, 20 Jun 2016 17:22:51 +0000 (10:22 -0700)]
installer: Allow specifying where LocalSettings.php should be saved

This allows software packages to specify where the LocalSettings.php
file should be saved to when the user is downloading it from the web
installer.

Bug: T123151
Change-Id: I06ded602be9aac0a10773e9d85c4d1585a70933b

7 years agoAdd ą, č, ę, ė, į, š, ų, ū, ž to linkTrail for lt language
Brian Wolff [Tue, 21 Jun 2016 13:42:06 +0000 (09:42 -0400)]
Add ą, č, ę, ė, į, š, ų, ū, ž to linkTrail for lt language

Per request on bug by Durininkas.

Bug: T138293
Change-Id: I3d0a8dcb384a28261d6a97da1957623ac4b389f9

7 years agomediawiki.action.edit.stash: Restore dependency to 'jquery.getAttrs'
Fomafix [Tue, 21 Jun 2016 10:10:22 +0000 (10:10 +0000)]
mediawiki.action.edit.stash: Restore dependency to 'jquery.getAttrs'

mediawiki.action.edit.stash.js uses .serializeObject().
jQuery.fn.serializeObject is defined in module 'jquery.getAttrs'.
The dependency to 'jquery.getAttrs' was removed in 9bec479f.

* Follow-up 9bec479f.

Change-Id: I73bf1a29d76ab97a690b729a7e658048b011c680

7 years agoMerge "Add 'ApiMakeParserOptions' hook"
jenkins-bot [Mon, 20 Jun 2016 22:13:18 +0000 (22:13 +0000)]
Merge "Add 'ApiMakeParserOptions' hook"

7 years agoMerge "Add statsd logging of DeferredUpdates"
jenkins-bot [Mon, 20 Jun 2016 21:14:17 +0000 (21:14 +0000)]
Merge "Add statsd logging of DeferredUpdates"

7 years agoregistration: Add support for $wgGrantPermissions & $wgGrantPermissionGroups
Kunal Mehta [Fri, 10 Jun 2016 20:10:27 +0000 (13:10 -0700)]
registration: Add support for $wgGrantPermissions & $wgGrantPermissionGroups

Change-Id: If336aa351ee5dc4dc07f63cfac2a5d236e501718

7 years agoMerge "Show request id in Exception pages even if $wgShowExceptionDetails is false"
jenkins-bot [Mon, 20 Jun 2016 20:09:45 +0000 (20:09 +0000)]
Merge "Show request id in Exception pages even if $wgShowExceptionDetails is false"

7 years agoMerge "Provide CategoryAfterPageRemoved hook handlers with deleted page IDs"
jenkins-bot [Mon, 20 Jun 2016 20:02:41 +0000 (20:02 +0000)]
Merge "Provide CategoryAfterPageRemoved hook handlers with deleted page IDs"

7 years agoShow request id in Exception pages even if $wgShowExceptionDetails is false
Glaisher [Wed, 8 Jun 2016 17:04:48 +0000 (22:04 +0500)]
Show request id in Exception pages even if $wgShowExceptionDetails is false

Bug: T137277
Change-Id: I5ff7e4ce0336616f8a9bcc39031a0a032bd9a931

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 20 Jun 2016 19:54:50 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I3445e2be17bfe12e63d79bf8b5c5d74258b67e51

7 years agoProvide CategoryAfterPageRemoved hook handlers with deleted page IDs
Aaron Schulz [Fri, 17 Jun 2016 02:56:42 +0000 (19:56 -0700)]
Provide CategoryAfterPageRemoved hook handlers with deleted page IDs

Since this updates happens post-send or via the job queue, the
page object will be for a non-existing or newer page/redirect.

Change-Id: I20b583948157dccceca6eb1fbd25121822bf1b2f

7 years agoMerge "Fix documentation of the dir parameter of list=watchlistraw API action"
jenkins-bot [Mon, 20 Jun 2016 18:38:55 +0000 (18:38 +0000)]
Merge "Fix documentation of the dir parameter of list=watchlistraw API action"

7 years agoAdd 'ApiMakeParserOptions' hook
Brad Jorsch [Mon, 20 Jun 2016 15:58:53 +0000 (11:58 -0400)]
Add 'ApiMakeParserOptions' hook

This allows extensions (e.g. TemplateSandbox in I77a9aa5a) to better
interact with the ApiParse and ApiExpandTemplates modules.

Change-Id: I72d5cf8e0b86e4250af1459219dc3b42d7adbbb8

7 years agoMerge "Rephrase 'upload-foreign-cant-load-config' for clarity"
jenkins-bot [Mon, 20 Jun 2016 18:14:25 +0000 (18:14 +0000)]
Merge "Rephrase 'upload-foreign-cant-load-config' for clarity"

7 years agoMerge "Fix LegacyHookPreAuthenticationProvider::testUserForCreation"
jenkins-bot [Mon, 20 Jun 2016 17:31:22 +0000 (17:31 +0000)]
Merge "Fix LegacyHookPreAuthenticationProvider::testUserForCreation"

7 years agoMerge "Add $options parameter for testUserForCreation()"
jenkins-bot [Mon, 20 Jun 2016 17:30:13 +0000 (17:30 +0000)]
Merge "Add $options parameter for testUserForCreation()"

7 years agoMerge "Use GenderCache service in ApiQueryWatchlistIntegrationTest"
jenkins-bot [Mon, 20 Jun 2016 15:41:12 +0000 (15:41 +0000)]
Merge "Use GenderCache service in ApiQueryWatchlistIntegrationTest"

7 years agoFix LegacyHookPreAuthenticationProvider::testUserForCreation
Brad Jorsch [Thu, 16 Jun 2016 21:44:44 +0000 (17:44 -0400)]
Fix LegacyHookPreAuthenticationProvider::testUserForCreation

Simply testing shouldn't call AbortNewAccount, we only want to do that
when the account is actually being created.

Change-Id: Icb3d1ce63a2691aa232b4564ed88fee6d50d7ab7

7 years agoAdd $options parameter for testUserForCreation()
Brad Jorsch [Thu, 16 Jun 2016 21:43:12 +0000 (17:43 -0400)]
Add $options parameter for testUserForCreation()

This will allow providers to know whether the call is just for testing
(from ApiQueryUsers) or for actual creation, and skip duplicate work
when testForAccountCreation() is going to be called.

Change-Id: Id3ef713fd377135d78f66e5100dedd4689293b59
Depends-On: I4af8b3b692f60c42f8685b90be5936da7ba4e2e2
Depends-On: Ie9639a15d04b387be0e72754301eb6d91cd8adc2
Depends-On: I063cbdfbd9a223bf2391fce2b714ab82ddd3272f
Depends-On: I7c67512634f6e72251911238f083857da9fd3f84

7 years agoAdd tests for ApiQueryWatchlistRaw
Leszek Manicki [Thu, 16 Jun 2016 14:47:40 +0000 (16:47 +0200)]
Add tests for ApiQueryWatchlistRaw

This includes tests that originally were part of
I875a92074b52c00ac11db1fa05615abbf5262ab1

Change-Id: I9c07aa237607143985f0efe20ed0065d2bde27e4

7 years agoMerge "Handle session reset errors in invalidateSessionsForUser.php"
jenkins-bot [Mon, 20 Jun 2016 14:27:55 +0000 (14:27 +0000)]
Merge "Handle session reset errors in invalidateSessionsForUser.php"

7 years agoFix documentation of the dir parameter of list=watchlistraw API action
Leszek Manicki [Mon, 20 Jun 2016 12:11:04 +0000 (14:11 +0200)]
Fix documentation of the dir parameter of list=watchlistraw API action

Bug: T138213
Change-Id: I26709b03dd9b64c6f1231f3bfc3064c63c8f0c21

7 years agoMove changeslist CSS classes from mediawiki.legacy.shared
Prateek Saxena [Mon, 20 Jun 2016 09:18:35 +0000 (14:48 +0530)]
Move changeslist CSS classes from mediawiki.legacy.shared

Bug: T89981
Change-Id: Ifd90292fc54875403d871429ce6e5020036d4797

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 19 Jun 2016 19:58:25 +0000 (21:58 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ic37b73b22a6bf310319fe91b09d9a729419b61f2

7 years agoRender bad images in wikitext as links
Jackmcbarn [Thu, 8 Jan 2015 17:53:33 +0000 (12:53 -0500)]
Render bad images in wikitext as links

In galleries, bad images are rendered as links. This causes the same behavior
to occur in wikitext, rather than the current behavior of not rendering
anything.

Change-Id: I1a074bff7cb661b5b4e6db9503eb6a5de702ee2f

7 years agoMerge "Deprecate Parser::disableCache"
jenkins-bot [Sat, 18 Jun 2016 20:04:33 +0000 (20:04 +0000)]
Merge "Deprecate Parser::disableCache"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 18 Jun 2016 19:56:05 +0000 (21:56 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I468bbcade78dcf0b9843b3bd6370cc3cabdf2e22

7 years agoDeprecate Parser::disableCache
Aaron Schulz [Wed, 15 Jun 2016 01:25:36 +0000 (18:25 -0700)]
Deprecate Parser::disableCache

Few maintained extensions still rely on this and it is
bad practice to use this for handling cache correctness.

Change-Id: I2de481198bbff5c4f3dd81fc6d1b137e4c37b93f

7 years agoAdd statsd logging of DeferredUpdates
Aaron Schulz [Sat, 18 Jun 2016 18:24:01 +0000 (11:24 -0700)]
Add statsd logging of DeferredUpdates

Bug: T137326
Change-Id: Icce439210c6412c1824d8d5c411880825bb05643

7 years agoHandle session reset errors in invalidateSessionsForUser.php
Gergő Tisza [Fri, 17 Jun 2016 00:12:38 +0000 (00:12 +0000)]
Handle session reset errors in invalidateSessionsForUser.php

Also, do not skip session reset if the user does not exist locally.

Change-Id: I5a55e4a6f2d296576ee76e212ed379225251e128

7 years agoImprove edit stashing when vary-revision is used
Aaron Schulz [Fri, 17 Jun 2016 23:16:27 +0000 (16:16 -0700)]
Improve edit stashing when vary-revision is used

At least avoid the first parse in doEditContent()/filters which
never has the revision set either. The second parse cannot be
avoided in doEditUpdates() however.

Bug: T136678
Change-Id: I12d2c3bbe1b21ad2ed9a484745d976ad62475e0d

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 17 Jun 2016 19:53:33 +0000 (21:53 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I99bcec90e06d89ea9a6e80ee24ef026bdfacf551

7 years agoRemove no-longer needed backported class from phpunit
Kunal Mehta [Fri, 17 Jun 2016 01:55:25 +0000 (18:55 -0700)]
Remove no-longer needed backported class from phpunit

Since we finally upgraded our phpunit version, we no longer need a copy
of this phpunit matcher.

Change-Id: I9bf3db344a2e8789a264a453e4e6d87fedc4dc49

7 years agoMerge "DumpUploads: output local path instead of mwstore path"
jenkins-bot [Fri, 17 Jun 2016 02:12:27 +0000 (02:12 +0000)]
Merge "DumpUploads: output local path instead of mwstore path"

7 years agoSplit off basic styles from the JavaScript module 'mediawiki.action.history'
Bartosz Dziewoński [Thu, 16 Jun 2016 12:25:02 +0000 (14:25 +0200)]
Split off basic styles from the JavaScript module 'mediawiki.action.history'

Since d629541076c the .updatedmarker element was styled via a JavaScript
module - which caused a flash of unstyled content on the history page
for most users, and was left unstyled for noscript users.

Bug: T137383
Change-Id: I362abacf51160a8305b2b0013f65e89deb2ffc93

7 years agoMerge "mediawiki.action.edit: Merge with mediawiki.action.edit.stash"
jenkins-bot [Thu, 16 Jun 2016 21:47:55 +0000 (21:47 +0000)]
Merge "mediawiki.action.edit: Merge with mediawiki.action.edit.stash"

7 years agotest: basic test for ApiStashEdit
Antoine Musso [Thu, 16 Jun 2016 20:25:58 +0000 (22:25 +0200)]
test: basic test for ApiStashEdit

At least execute the main entry point.

Change-Id: I0788c9a7bf93b5365f4e510dff4e11fe6ffa3558

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 16 Jun 2016 19:54:08 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ic811056a74b4f7bff1494288258016d8e8d76a8d

7 years agomediawiki.action.edit: Merge with mediawiki.action.edit.stash
Timo Tijhof [Thu, 9 Jun 2016 19:59:55 +0000 (20:59 +0100)]
mediawiki.action.edit: Merge with mediawiki.action.edit.stash

This module isn't used anywhere else. It was probably put into a
separate module due to the conditional loading. Though that can
be done client-side just as easily.

If we want to make it loaded conditionally, we could make the
module composition conditionally (which is straight-forward since
the condition doesn't vary on anything within the wiki).

* Follow-up 3a6c9d36: Remove 'jquery.getAttrs' from dependencies (unused).

Change-Id: Ic32da6f9b1c85eb106394b412fab9b22e0928323

7 years agoMerge "Fix handling of error messages from the 'SpecialPasswordResetOnSubmit' hook"
jenkins-bot [Thu, 16 Jun 2016 16:58:29 +0000 (16:58 +0000)]
Merge "Fix handling of error messages from the 'SpecialPasswordResetOnSubmit' hook"

7 years agoMerge "Add invalidateUserSessions.php maintenance script"
Dpatrick [Thu, 16 Jun 2016 16:04:40 +0000 (16:04 +0000)]
Merge "Add invalidateUserSessions.php maintenance script"