New changes:
6ae94bc Add tests for ve.instanceOfAny()
ea1ac17 Localisation updates from https://translatewiki.net.
a9a25cb Update OOjs UI to v0.1.0-pre (f1abca8e82)
ab55974 build: Update various devDependencies to latest
921d16a Localisation updates from https://translatewiki.net.
cdd2691 Use history as as global
Change-Id: I4ff70005591cac11c39e08a602457cf4e0eda9be
Follows-up Ica33de675, If505a46f54.
* The setting of 'uri' looked like a redundant local alias before
passing on to pushState, but is actually important on itself.
* Remove binding for hideLoading. It's a detachable method on
a singleton, not an instance method.
Change-Id: Ic3536caf3f42ee893124312fd5981b67336bd480
When you clicked the Back button in the browser, the URL
in the address bar would change (removing veaction=edit),
but we would not go back to read mode. This was broken
by 5c0c11753 almost a month ago but apparently no one noticed.
This is because 5c0c11753 moved the pushState() calls to
be earlier (in init init), making the replaceState() call
in the ViewPageTarget constructor (which is there
specifically for this bug) run too late in those cases.
The simplest way to fix this is to duplicate these replaceState()
calls before the pushState() calls in init init.
I feel a bit bad about copying code, but not very bad
because the code I'm copying already has a FIXME comment
about how there should be a better way :P
Change-Id: I6627a5d1d9377ae815bc58bceeb059ce9f4f19ab
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