Just like DOM interfaces such as document and location. And JS
constructors like Object.prototype, and libs like jQuery.
No need for the window host object.
Change-Id: Ie39aaea2ca17bdec5fb3afe32a4e6c9f751bd0c6
The location object is a global, just like document.
Using it via 'window' needlessly adds complexity and, for example,
makes it harder to catch typos in static analysis.
Standardise on location.href in place of the many different
variants for accessing and assinging the full url:
location =
location.href =
location.assign() =
And each with 'window', 'document' and without host object.
Change-Id: If88515bd88fc5b93ebacd4ec41fce02fec540f18
mw.msg can return things with <br />, which we want to be interpreted as HTML
rather than just escaped as text.
Bug: 73571
Change-Id: I7861432d9361e01f9def0578c342e60715c3d764
grunt-jscs: 0.7.1 -> 0.8.1
No-op; note that this switches us from jscs 1.6.0 to 1.7.2, which provides
some new options (unused in the Wikimedia preset).
Change-Id: I1d0db2568ff673ff8b8bba9549b06c005eb7186b
New changes:
4d00221 Move hasSignificantWhitespace and handlesOwnChildren abstracts to ve.Node.
3889f14 Don't always use updateDimensionsDebounced
ea59d25 Safari copy-paste fix
537478d Make changes to comment node before apply staging stack
6dea745 Apply comment changes using fragment
20e928d Update OOjs to v1.1.3
98bbe75 Don't allow dropping inside a handlesOwnChildren node
9e87ccb Move mobile ContextItemWidget hacks into separate class
5d98528 Replace ve.getProp() and ve.setProp() with OO aliases
Change-Id: I7eb0d0eac311d9a220e7a0ce2f920788a3a2ec3c
New changes:
81e2135 Remove upstreamed ve.contains function
77166d7 Update RangeFix library 0.1.0 -> 0.1.1
6fe9405 Give table overlay width so row context positions correctly in RTL
a2001e2 Fix getDirectionFromSelection to work with table selections
ca75f05 Make table inserts directional
7ce4a63 Follow-up 2075a46: Fix RTL image build by embedding after flipping
5068bcd Restore original rowspan/colspan rather than normalizing or overwriting with NaN
e1bff77 Localisation updates from https://translatewiki.net.
a92012e Use strict comparison for insertionAnnotationsChange
39f7b91 Localisation updates from https://translatewiki.net.
b5e1130 Localisation updates from https://translatewiki.net.
c577aeb Initialize mobile context as visible
Change-Id: I113250f8caec07f9a7e59116417eb582ea0e7ae5
ApiEditPage can give us 'nochange' instead of the
'oldrevid'/'newrevid'/'newtimestamp' keys if we gave it a null edit.
Bug: 73463
Change-Id: Ic22597dfed11de3823471673404090a9bce12928
* put the shared step in shared_steps.rb
* replace "onfocus" with simple "click"
* update RSpec while we're at it
Change-Id: I77754abdbeba1314758f5fe10601f6601e8783bd
New changes:
0736e17 Localisation updates from https://translatewiki.net.
31eab5b tests: RuboCop checks .docs/CustomTags.rb
bf19679 Move FragmentInspector initialization to initialize
68f7798 Allow <meta> tags in GeneratedContentNodes
6c71f56 Localisation updates from https://translatewiki.net.
d77c436 Use .super in nodes, annotations, meta and lineardata implementations
1582bab Initialize context's $element as hidden
d3fc6d7 AUTHORS.txt: Credit libraries as well as direct contributors
091f781 [BREAKING CHANGE] Remove the ve.bind function
9b578f1 Localisation updates from https://translatewiki.net.
0a42f21 Update OOjs UI to v0.1.0-pre (fe4076af75)
Change-Id: Ie849ef2179989881356a245bc6431e7d9ad1a665