Volker E [Wed, 29 Jun 2016 13:01:32 +0000 (15:01 +0200)]
mediawiki.ui: Improve focus states of primary buttons
Follow-up to T137658 in OOjs UI. Improving `:focus` states of primary
buttons to be more harmonious with normal buttons. Also normalizing
`padding` in Firefox, removing obsolete comment and minor clean-up.
Change-Id: I584644c47be73a9770ac487b2b738d0f8bdf69d1
Gergő Tisza [Wed, 29 Jun 2016 11:35:24 +0000 (11:35 +0000)]
Run maintenance/generateLocalAutoload.php
Change-Id: I0cf208b927d28a09a8603604fdfe0a6c1e9beb6b
jenkins-bot [Wed, 29 Jun 2016 09:07:44 +0000 (09:07 +0000)]
Merge "Refactor database-related code in ApiQueryWatchlist"
jenkins-bot [Wed, 29 Jun 2016 08:47:20 +0000 (08:47 +0000)]
Merge "autocomplete: fix duplicate/missing tracking events"
jenkins-bot [Wed, 29 Jun 2016 08:42:53 +0000 (08:42 +0000)]
Merge "js suggest: better keyup/keydown handling"
Leszek Manicki [Tue, 19 Apr 2016 09:34:31 +0000 (11:34 +0200)]
Refactor database-related code in ApiQueryWatchlist
This moves generating of a complex Watchlist and RecentChanges
related query to a WatchedItemQueryService class.
ApiQueryWatchlist class no longer contains any database-related
code.
Bug: T132565
Change-Id: I5a5cda13f8091baa430ac1a8e2176e0efd1ae192
Timo Tijhof [Mon, 27 Jun 2016 20:37:47 +0000 (21:37 +0100)]
jquery.accessKeyLabel: Avoid needless mw.Message#parser in updateTooltip()
When calling mw.util.addPortletLink(), Chrome on a MacBook Pro spends 3ms
in mw.Message#parser for each link that doesn't even have a title.
> addPortletLink: updateTooltipAccessKeys: updateTooltip: msg: mw.Message.parser
Change-Id: Id6c26e31eb2c1431fe9725e608813bdf40069207
Translation updater bot [Tue, 28 Jun 2016 20:09:49 +0000 (22:09 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I6a1e0bab0d201e631b0c6434fd6839245f6dc0c1
jenkins-bot [Tue, 28 Jun 2016 19:57:20 +0000 (19:57 +0000)]
Merge "skins: Minor code clean up"
jenkins-bot [Tue, 28 Jun 2016 18:15:05 +0000 (18:15 +0000)]
Merge "mediawiki.ui: Align `.mw-ui-input:focus` to design spec"
jenkins-bot [Tue, 28 Jun 2016 17:36:10 +0000 (17:36 +0000)]
Merge "Allow Message::newFromSpecifier to handle ApiMessages"
Brad Jorsch [Tue, 21 Jun 2016 15:12:53 +0000 (11:12 -0400)]
Allow Message::newFromSpecifier to handle ApiMessages
Instead of constructing a new Message from the Message as
a MessageSpecifier, just clone the existing Message which will preserve
subclass data.
Also, make use of this to simplify the logic in ApiBase::parseMsg().
Change-Id: I9545acb8da752c0c21e16d8b1d37d8802fcb329d
jenkins-bot [Tue, 28 Jun 2016 15:52:34 +0000 (15:52 +0000)]
Merge "ApiQuerySiteInfo: Expose wgFixArabicUnicode and wgFixMalayalamUnicode"
jenkins-bot [Tue, 28 Jun 2016 07:26:56 +0000 (07:26 +0000)]
Merge "mediawiki.js: Correct a typo in documentation"
Brad Jorsch [Mon, 27 Jun 2016 23:31:56 +0000 (19:31 -0400)]
UsageException: Validate that $codestr is a non-empty string
Current theory on T138585 is that something is passing in false, so
let's throw an InvalidArgumentException that should log a backtrace for
us.
Bug: T138585
Change-Id: Iba0dad424c56340b8bc73322bb1a7ae6d4de314a
Yusuke Matsubara [Sun, 26 Jun 2016 12:38:17 +0000 (21:38 +0900)]
ApiQuerySiteInfo: Expose wgFixArabicUnicode and wgFixMalayalamUnicode
These variables control how MediaWiki normalizes page titles.
Clients need to know these settings to not be surprised by such normalization.
See T94826.
Change-Id: Id77f584b8c3a3d9c065993bd74525f166112b20c
Bartosz Dziewoński [Mon, 27 Jun 2016 22:54:04 +0000 (00:54 +0200)]
mediawiki.js: Correct a typo in documentation
Change-Id: I03808e49d67c5d412929472d3e0cde2390e1a8e1
jenkins-bot [Mon, 27 Jun 2016 20:36:25 +0000 (20:36 +0000)]
Merge "Fix misleading comment about svg filtering."
jenkins-bot [Mon, 27 Jun 2016 20:26:01 +0000 (20:26 +0000)]
Merge "mediawiki.api.edit: Add edit() and create() methods"
Translation updater bot [Mon, 27 Jun 2016 20:18:30 +0000 (22:18 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I41d9dca5b60db89e21609a1eff34494298daf6f3
Timo Tijhof [Mon, 27 Jun 2016 16:08:34 +0000 (17:08 +0100)]
mediawiki.api.edit: Add edit() and create() methods
Doing edits "The Right Way" is non-trivial due there being mulitple strict options that
need to be known and enabled. By default, the API encourages bad behaviour:
* Edit is unexpectedly saved as anon after session becomes invalid.
* Other edits are silently overwritten.
* Accidentally re-creates a deleted page.
* Accidentally creates a new page when an edit was intended (eg. if title was wrong).
Implement abstraction methods for edit and create that handle all this.
Thus guarding JS edits with the same protections as EditPage.
Change-Id: Ic6a35902cbae262971c704b9b8127e54733dac79
jenkins-bot [Mon, 27 Jun 2016 15:28:21 +0000 (15:28 +0000)]
Merge "Expose $wgMaxArticleSize in siteinfo query api"
Florian [Sat, 25 Jun 2016 16:43:23 +0000 (18:43 +0200)]
Expose $wgMaxArticleSize in siteinfo query api
Currently, an user of the api has to try to save a page to see,
if it's too big, or not. A much saner way would be, that the api user
reads the siteinfo of the target wiki to know the maximum size of a
page and trim the edit to not exceed this limit.
This commit exposes the value of the configuration variable, which
handles the maximum article size.
Bug: T138669
Change-Id: I25a4c1b9013f98e5b0a263a637c8b006dccfd5ad
Timo Tijhof [Mon, 27 Jun 2016 12:32:02 +0000 (14:32 +0200)]
skins: Minor code clean up
* Make Skin::initPage visibility explicit.
* Make Skin::preloadExistence protected (not used outside this class).
* Remove use of empty().
* Avoid empty if-block.
Change-Id: I85bac34ded3414af5b998af614d554402ce92f21
Brian Wolff [Mon, 27 Jun 2016 09:47:21 +0000 (05:47 -0400)]
Fix misleading comment about svg filtering.
Follow-up
551d79a3e6754. See also Bug T122653.
Change-Id: I0662dc6618596bb3a3bad345de45b054b6f7f968
Volker E [Sun, 26 Jun 2016 12:37:48 +0000 (14:37 +0200)]
mediawiki.ui: Align `.mw-ui-input:focus` to design spec
Aligning `.mw-ui-input:focus` to design specification
https://phabricator.wikimedia.org/M101
Change-Id: I4e4d20d38047e9b2e069a84a073fc57480303452
Prateek Saxena [Sun, 26 Jun 2016 12:11:58 +0000 (17:41 +0530)]
Follow-up
9e45850: Temporarily duplicate styles back to shared.css
Per Bartosz and Timo's comments on
Ifd90292fc54875403d871429ce6e5020036d4797
Change-Id: I90940d3f67780af6f1efb8507a0bc038e0496220
Translation updater bot [Sun, 26 Jun 2016 08:48:14 +0000 (10:48 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ib334b266f7a061203444ca34e6b3fa5add2d9d22
jenkins-bot [Sat, 25 Jun 2016 14:23:01 +0000 (14:23 +0000)]
Merge "Follow-up
ebe7205c: Edit stash: Unbreak jQuery selectors"
Fomafix [Sat, 25 Jun 2016 09:40:51 +0000 (09:40 +0000)]
Follow-up
ebe7205c: Edit stash: Unbreak jQuery selectors
Change-Id: I4d72948ba62cb5c1cc29277f30363c29e42fa25b
Translation updater bot [Sat, 25 Jun 2016 12:09:10 +0000 (14:09 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I8526fd44dca56b8cbd902e909936137a1b108c1f
jenkins-bot [Sat, 25 Jun 2016 10:03:57 +0000 (10:03 +0000)]
Merge "Mock Http in MediaWikiPageNameNormalizerTest and add more test cases"
Timo Tijhof [Fri, 24 Jun 2016 13:51:27 +0000 (15:51 +0200)]
Restore load position override for 'site.styles' module
Follows-up
93ed259 which changed the module to be 'site.styles', but
the override was still looking for a module called 'site' (which isn't
listed in that queue anymore).
Bug: T138586
Change-Id: I3052a2e378f804d0d4d117f8ed446fe9b4b59f99
James D. Forrester [Thu, 23 Jun 2016 16:44:17 +0000 (18:44 +0200)]
Mark the APIEditBeforeSave hook as deprecated
Bug: T137832
Depends-On: I9d0b7e7713c805ebc7bf59f55456e69c6491e265 (AbuseFilter)
Depends-On: I27f244631e9dcd160bffff70349e5034f2a537ea (ConfirmEdit)
Depends-On: I7b0e1d125b196379dd5bf26658ff642d32ba832a (ProofreadPage)
Depends-On: I97f6a3c20476f1a42e3fadc701df5870a30c790c (SpamBlacklist)
Change-Id: I6947d5373aa33224141f8d21cf3a1ee1f641d952
Marius Hoch [Fri, 24 Jun 2016 15:24:10 +0000 (17:24 +0200)]
Mock Http in MediaWikiPageNameNormalizerTest and add more test cases
Bug: T138570
Change-Id: Ia156ba61afb90c9a3b1a2e1e0bf967056bd87fc8
jenkins-bot [Fri, 24 Jun 2016 18:21:21 +0000 (18:21 +0000)]
Merge "Chinese Conversion Table Update 2016-4"
jenkins-bot [Fri, 24 Jun 2016 17:59:28 +0000 (17:59 +0000)]
Merge "Extended login: Don't use a $wg config variable, add UserName"
jenkins-bot [Fri, 24 Jun 2016 15:48:15 +0000 (15:48 +0000)]
Merge "build: Bump grunt-stylelint to v0.4.0 and make pass"
jenkins-bot [Fri, 24 Jun 2016 14:34:06 +0000 (14:34 +0000)]
Merge "registration: Support Change/RemoveCredentialsBlacklist in extension.json"
jenkins-bot [Fri, 24 Jun 2016 14:26:34 +0000 (14:26 +0000)]
Merge "Make deprecated TestUser properties private"
jenkins-bot [Fri, 24 Jun 2016 14:22:34 +0000 (14:22 +0000)]
Merge "Edit stash: Support CodeEditor"
James D. Forrester [Fri, 10 Jun 2016 09:24:45 +0000 (10:24 +0100)]
build: Bump grunt-stylelint to v0.4.0 and make pass
Change-Id: I00e469cf9b484c9d4d4ad145480fa6e66dd7e8cc
Gergő Tisza [Tue, 14 Jun 2016 21:21:02 +0000 (21:21 +0000)]
registration: Support Change/RemoveCredentialsBlacklist in extension.json
Change-Id: I4d796a46d99daa8841fcdcbe76dddf9db46af9ed
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
Translation updater bot [Fri, 24 Jun 2016 08:17:40 +0000 (10:17 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I5105d0a0b0e35fdafbe9604122a49ae692cabe5a
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
jenkins-bot [Thu, 23 Jun 2016 18:46:54 +0000 (18:46 +0000)]
Merge "mw.jqueryMsg: Add support for {{PAGENAME}} and {{PAGENAMEE}}"
Matthew Flaschen [Wed, 22 Jun 2016 16:36:16 +0000 (18:36 +0200)]
Extended login: Don't use a $wg config variable, add UserName
CentralAuth needs 'User' as well for this to work. However, this
shows the exact cookie names are an implementation detail that should
not be exposed as a 'wg'.
Instead, use a function in the CookieSessionProvider. That way,
CentralAuth can override it properly without requiring users to change
$wg's.
I also added UserName. provideSessionInfo will fail to return
session info if UserID and UserName are both set and don't match.
Also, the UserID<->UserName mapping is public, so there is no
additional privacy issue. Thus, it seems we should expire them
the same time.
Bug: T68699
Change-Id: Ia3259846433980408f79d44f665e17e15670e8ee
jenkins-bot [Thu, 23 Jun 2016 15:38:46 +0000 (15:38 +0000)]
Merge "Count subject and talk page conflict separately"
jenkins-bot [Thu, 23 Jun 2016 15:22:24 +0000 (15:22 +0000)]
Merge "search: did you mean should always go to SERP"
jenkins-bot [Thu, 23 Jun 2016 14:32:28 +0000 (14:32 +0000)]
Merge "Remove unused MediaWikiPageLinkRenderer class and interface"
jenkins-bot [Thu, 23 Jun 2016 14:28:01 +0000 (14:28 +0000)]
Merge "SpecialLinkSearch: Use LinkRenderer instead of MediaWikiPageLinkRenderer"
addshore [Fri, 20 May 2016 10:26:53 +0000 (11:26 +0100)]
Count subject and talk page conflict separately
Bug: T136547
Change-Id: If8b3dcd1d97f72058d281602242d2c44c38a48d0
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
Kunal Mehta [Tue, 24 May 2016 02:16:55 +0000 (19:16 -0700)]
SpecialLinkSearch: Use LinkRenderer instead of MediaWikiPageLinkRenderer
Change-Id: Ib117e4db841327c302f9ceaa97aaa52b6391b093
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
jenkins-bot [Thu, 23 Jun 2016 12:58:22 +0000 (12:58 +0000)]
Merge "SpecialCategories: Use LinkRenderer instead of MediaWikiPageLinkRenderer"
Chiefwei [Thu, 23 Jun 2016 12:57:11 +0000 (20:57 +0800)]
Chinese Conversion Table Update 2016-4
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: I69a61766a9a1aa2cdb58d55434606afabba0e9b9
jenkins-bot [Thu, 23 Jun 2016 12:53:07 +0000 (12:53 +0000)]
Merge "SpecialNewpages: 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()"
jenkins-bot [Thu, 23 Jun 2016 12:46:50 +0000 (12:46 +0000)]
Merge "SpecialBotPasswords: 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()"
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
Kunal Mehta [Wed, 1 Jun 2016 03:46:13 +0000 (20:46 -0700)]
SpecialNewpages: Use LinkRenderer instead of Linker::link()
Change-Id: I78403b7c24253ba44c256f307559400923cc16a6
jenkins-bot [Thu, 23 Jun 2016 12:20:30 +0000 (12:20 +0000)]
Merge "SpecialUnusedtemplates: 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
Kunal Mehta [Wed, 1 Jun 2016 03:38:10 +0000 (20:38 -0700)]
SpecialBotPasswords: Use LinkRenderer instead of Linker::link()
Change-Id: I939c3d639d8efc0a2f838cf12ff18c9e9795f114
jenkins-bot [Thu, 23 Jun 2016 12:12:44 +0000 (12:12 +0000)]
Merge "Add SpecialPage::getLinkRenderer()"
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
jenkins-bot [Thu, 23 Jun 2016 11:58:52 +0000 (11:58 +0000)]
Merge "installer: Allow specifying where LocalSettings.php should be saved"
jenkins-bot [Thu, 23 Jun 2016 11:23:25 +0000 (11:23 +0000)]
Merge "Re-word action-createpage and action-createtalk in singular"
jenkins-bot [Thu, 23 Jun 2016 11:19:35 +0000 (11:19 +0000)]
Merge "Switch EditForm to using editRevId in place of edittimestamp"
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"
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
jenkins-bot [Thu, 23 Jun 2016 10:13:17 +0000 (10:13 +0000)]
Merge "Fix phpdoc in IP.php (ipv4&6)"
jenkins-bot [Thu, 23 Jun 2016 10:06:17 +0000 (10:06 +0000)]
Merge "Fix phpdoc of User::isIP"
addshore [Thu, 23 Jun 2016 09:59:00 +0000 (10:59 +0100)]
Fix phpdoc in IP.php (ipv4&6)
Change-Id: I6b362107195794a26b87310cb058ddb811884cbc
addshore [Thu, 23 Jun 2016 09:57:48 +0000 (10:57 +0100)]
Fix phpdoc of User::isIP
Change-Id: I0990e91ca70cb6fab7e7023917d6eb0d6fd2ff31
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
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
Translation updater bot [Thu, 23 Jun 2016 06:36:56 +0000 (08:36 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I5b2124b67ee3606a8fbe98ef3fc66eaff8a39d3d
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"
Kunal Mehta [Wed, 1 Jun 2016 03:32:43 +0000 (20:32 -0700)]
SpecialUnusedtemplates: Use LinkRenderer instead of Linker::link()
Change-Id: If54de97106a71d330a0193f61d7eac9d7bb7ad12
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
jenkins-bot [Wed, 22 Jun 2016 19:29:59 +0000 (19:29 +0000)]
Merge "mediawiki.action.edit.stash: Restore dependency to 'jquery.getAttrs'"
jenkins-bot [Wed, 22 Jun 2016 18:00:42 +0000 (18:00 +0000)]
Merge "Move changeslist CSS classes from mediawiki.legacy.shared"
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
jenkins-bot [Wed, 22 Jun 2016 16:38:18 +0000 (16:38 +0000)]
Merge "resourceloader: remove redundant mw.loader type-checks"
jenkins-bot [Wed, 22 Jun 2016 16:34:54 +0000 (16:34 +0000)]
Merge "resourceloader: Simplify CSS loading by removing IE8 hacks"
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
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
jenkins-bot [Wed, 22 Jun 2016 15:48:46 +0000 (15:48 +0000)]
Merge "Remove uses of deprecated TestUser properties"
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
addshore [Fri, 6 May 2016 15:06:46 +0000 (16:06 +0100)]
Remove uses of deprecated TestUser properties
Change-Id: Ib44c66492e27516dfe205a5e428ebfd6b0fcdfd9
jenkins-bot [Wed, 22 Jun 2016 15:08:43 +0000 (15:08 +0000)]
Merge "SpecialSearch: 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
jenkins-bot [Wed, 22 Jun 2016 13:41:59 +0000 (13:41 +0000)]
Merge "Update namespaces for Konkani gom-deva"
jenkins-bot [Wed, 22 Jun 2016 10:37:33 +0000 (10:37 +0000)]
Merge "Simplify translatewiki.net links from Special:AllMessages"
jenkins-bot [Wed, 22 Jun 2016 10:03:55 +0000 (10:03 +0000)]
Merge "Add ą, č, ę, ė, į, š, ų, ū, ž to linkTrail for lt language"
Translation updater bot [Tue, 21 Jun 2016 20:42:23 +0000 (22:42 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Id5fb2d3cd7946e8557d2368ffa182a04b937f8c3