Roan Kattouw
bb45d984ca
dm.MWInternalLinkAnnotation: Fix href normalization for special characters
...
<a href="Foo%3F"> would dirty-diff to <a href="Foo?"> and also render
as such, pointing to the wrong page.
We also called decodeURIComponent() on the href twice, which can't
have been good.
Move URI decoding and underscore normalization into
getTargetDataFromHref(), and add rawTitle for callers that need it.
Put rawTitle in the origTitle attribute, so that equivalence
comparisons (decode(origTitle) === title) work as intended.
Bug: T145978
Change-Id: I29331a4ab0f8f7ef059c109f6813fa670a2c7390
2016-09-22 09:10:41 -07:00
David Lynch
5bc54fd036
dm.MWInternalLinkAnnotation: Add some test cases
...
Change-Id: Ie338d5538959ea2cc296886b623e9dc2cd84fa8f
2016-09-21 09:57:45 -07:00
Ed Sanders
4c8a97f9e8
Temporarily override broken toolbar border colour
...
Will be fixed in the next OOUI release via I91862c2e609.
Change-Id: I741bb8d5396bed256ee1907eaa4ba86e4697f325
2016-09-20 22:51:02 -07:00
Alex Monk
2b8cd0fa13
Pass document to preview through PST
...
Change-Id: I2712c26c94cf62f8ec8e68a9912e6a557f41f6a4
2016-09-20 18:11:42 -07:00
Alex Monk
8a80b5bbc3
Split isAvailable from visual-specific checks
...
Not fully tested
Bug: T146182
Change-Id: I5d7ae6e49991660ecdc2daf46b319947f83a1018
2016-09-20 23:53:53 +01:00
jenkins-bot
089e22ff6c
Merge "(attempt to) make NWE work with SET"
2016-09-20 22:45:14 +00:00
Alex Monk
63fcefcfcd
Education popup: Put localStorage check inside try/catch
...
Bug: T146139
Change-Id: I5faf5f4fce2f3161ad62d3617d1bb1d750a44728
2016-09-20 22:04:53 +01:00
Translation updater bot
7888fd05e5
Localisation updates from https://translatewiki.net .
...
Change-Id: I3a2e09923e60fecf9d3b57f01ad00585bd6e7b17
2016-09-20 22:41:42 +02:00
jenkins-bot
80e2b62c69
Merge "Simplify and fix category popup widget checks"
2016-09-20 01:00:17 +00:00
jenkins-bot
f6b7c64e92
Merge "Open meta dialog to edit categories when user clicks on the category footer"
2016-09-20 00:58:29 +00:00
Volker E
ecab9df8bb
Update progressive
color to WCAG 2.0 level AA compliant color palette
...
Aligning instances of `progressive` color to WCAG 2.0 level AA compliant
color palette similar to changes in
I6fdb90af8b9dc5e5e026eb0c1bd13138c73da4cd
Change-Id: I2eda190f0a68de6dc8aa33724f2c8975327a061f
2016-09-19 15:25:45 -07:00
Translation updater bot
7c3021dc88
Localisation updates from https://translatewiki.net .
...
Change-Id: I1fd2d120d3d595d4b1ce63e055fb61b82ed60273
2016-09-19 23:02:54 +02:00
Alex Monk
0c07caafc7
Open meta dialog to edit categories when user clicks on the category footer
...
Bug: T145267
Change-Id: Ie88c4d9c6327baffdb83c1affbc0515a68c0fc03
2016-09-19 21:35:45 +01:00
jenkins-bot
376a4520ea
Merge "Use correct switch type when opening welcome dialog on NWE"
2016-09-19 18:16:59 +00:00
jenkins-bot
29ff6c43ef
Merge "DesktopArticleTarget: Save scroll position before transformPage"
2016-09-19 17:00:00 +00:00
Translation updater bot
3af6091a58
Localisation updates from https://translatewiki.net .
...
Change-Id: I651c1febf65af00a07103806f428aacc4ef00648
2016-09-17 23:23:29 +02:00
Roan Kattouw
cc8ca8e738
DesktopArticleTarget: Save scroll position before transformPage
...
transformPage() makes significant changes to the DOM, so measuring the
scroll position synchronously right after that results in a slow forced reflow.
Instead, measure the scroll position before reorganizing half the DOM.
Change-Id: I3baee5c11ca228696ddbfb30789745f5f0faa20a
2016-09-17 00:12:39 -07:00
Alex Monk
edf5b60368
(attempt to) make NWE work with SET
...
Ugh.
Bug: T143578
Change-Id: I71e08508eb0914be9d624202b13a4369df512b80
2016-09-17 03:36:47 +01:00
Željko Filipin
f3f432e722
Disable failing Selenium tests
...
The tests are failing with RSpec::Expectations::ExpectationNotMetError
for 2-3 days in a row.
Bug: T145861
Change-Id: Ieec2a67857b90033cdd0ddf63025d2af9de504a5
2016-09-16 13:12:02 +02:00
Translation updater bot
d4177b929d
Localisation updates from https://translatewiki.net .
...
Change-Id: I5caaa5d69075922483a3c354d921ceb34517b9bd
2016-09-15 23:05:10 +02:00
Alex Monk
926212dbae
Use correct switch type when opening welcome dialog on NWE
...
Bug: T145225
Change-Id: I032652733576d1a9797cc3dbb3dd24ca69cb30e5
2016-09-15 01:30:01 +01:00
Translation updater bot
1d297d8bc1
Localisation updates from https://translatewiki.net .
...
Change-Id: I0c5603dd7f98780c10fb58a4a357a3bbc5f702b6
2016-09-14 22:38:50 +02:00
jenkins-bot
f0a819455e
Merge "Load icons where we can via RLIM"
2016-09-13 21:21:22 +00:00
Translation updater bot
ce77acda5a
Localisation updates from https://translatewiki.net .
...
Change-Id: I6d8b7495b94acacad438abb949d5c8573bd80ea4
2016-09-13 22:58:14 +02:00
Alex Monk
7888c688b7
Simplify and fix category popup widget checks
...
Bug: T86357
Change-Id: I9a85267f6da0077e2167a92f25a8dc41074e6548
2016-09-13 04:17:20 +01:00
jenkins-bot
9721998763
Merge "Provide the new wikitext editor as a beta feature"
2016-09-13 00:56:48 +00:00
Translation updater bot
049d059b50
Localisation updates from https://translatewiki.net .
...
Change-Id: I8aace5f4a8d6b59dd9d58ec01ead7397f2a98d61
2016-09-12 23:10:02 +02:00
jenkins-bot
645c947359
Merge "Move image-paste blocking to transfer handler match function"
2016-09-12 15:55:19 +00:00
Translation updater bot
590e144686
Localisation updates from https://translatewiki.net .
...
Change-Id: Ied64da27763dd6c9ad790c0c0a28ce4648bc6e1d
2016-09-11 22:53:57 +02:00
Translation updater bot
0f7fb468fa
Localisation updates from https://translatewiki.net .
...
Change-Id: Icc3cb3d9ca0628e21ef2855f268caf3e7895bd61
2016-09-10 23:31:58 +02:00
James D. Forrester
da422b18d5
Load icons where we can via RLIM
...
This gets us the variants (which we need for OOUI 0.17.9); note that I've
cheated and used 0.17.9's colour for the MediaWiki theme's progressive flag
rather than 0.17.8's value of 347bff.
Change-Id: Ic436970e9298ea31f48c6cfdd04b80847aaebbee
2016-09-09 18:10:56 -07:00
Translation updater bot
0d0f13f429
Localisation updates from https://translatewiki.net .
...
Change-Id: Ida1853cd7f0da6d3da7bcf19091932c62e3e2f8e
2016-09-09 23:00:32 +02:00
L10n-bot
229bd7de08
Merge "Localisation updates from https://translatewiki.net ."
2016-09-08 21:49:00 +00:00
Translation updater bot
c994dc216f
Localisation updates from https://translatewiki.net .
...
Change-Id: I3605539ec3980896387c2413e71dd0a6c0237884
2016-09-08 23:49:06 +02:00
James D. Forrester
feeb2c3906
ve.init.mw.Target: Drop <noscript> tags on serialisation
...
These aren't in the Parsoid HTML spec., so there's no valid way that they would
be in the original document from upstream, and we don't—at least intentionally—
allow users to insert them, so we can safely assume that they're resulting from
browser extensions and other items inserting content into anything that sort-of
looks like an HTML page.
Bug: T144891
Change-Id: I330ae05cd53eee5c18b18ad744ea0ec7b2eb09cc
2016-09-08 14:13:11 -07:00
James D. Forrester
1d64e3280c
Provide the new wikitext editor as a beta feature
...
Still needs to be de-feature-flagged later.
Bug: T142644
Change-Id: I8e2588909ff95085b5a4d58f4394d9bc805f5598
2016-09-08 00:38:08 +00:00
Ed Sanders
5e22ef30fe
Add show preview to save dialog when in NWE
...
Bug: T142642
Change-Id: I679eaddfe9037dcf258d3ff7d1eaa44214f0e730
2016-09-07 21:35:49 +00:00
jenkins-bot
8ff3ea60ec
Merge "Cleanup getDocToSave API and use in source mode"
2016-09-07 21:31:19 +00:00
Translation updater bot
22875eaa27
Localisation updates from https://translatewiki.net .
...
Change-Id: I83408d6d2009cc39f4d1a1c3bc89ec201046d645
2016-09-07 22:47:09 +02:00
Ed Sanders
d0bb5511a5
Cleanup getDocToSave API and use in source mode
...
Instead of getting wikitext from the HTML, which is probably
slower and leads to issues with the whitespace stripping hack,
override getDocToSave and get text from the linmod directly.
Bug: T144621
Change-Id: I6b6cf16ee8f3720398ba8f5c85e7715c2e68329f
2016-09-07 12:09:41 -07:00
jenkins-bot
4fbe06a15c
Merge "Fix parent constructor call"
2016-09-07 02:50:03 +00:00
Ed Sanders
7a80fa57bc
Fix parent constructor call
...
Got broken in switch to using 'super'.
Change-Id: Icea95b49ad48849af857bfa3b301d3bcf6039036
2016-09-06 19:16:24 -07:00
Ed Sanders
3c25f3aede
Switch from NWE to VE using 'Edit' tab
...
Bug: T143577
Change-Id: I19d942c879c9ccf70e95beb5f8de589eb6363039
2016-09-06 17:23:24 -07:00
Translation updater bot
ed54a4b676
Localisation updates from https://translatewiki.net .
...
Change-Id: I9ba021a347e63a3d9c923c5bec79d6ddeaabef9b
2016-09-06 22:47:45 +02:00
jenkins-bot
255fedba60
Merge "Search all RDFa attributes when looking for type"
2016-09-06 16:42:28 +00:00
jenkins-bot
06ca8ea7ba
Merge "Disable veaction=editsource if NWE is disabled"
2016-09-06 15:52:27 +00:00
jenkins-bot
c0b49e728f
Merge "Make VE<->NWE switching progress bars non-cancellable and labelled"
2016-09-05 21:51:53 +00:00
Translation updater bot
620e073853
Localisation updates from https://translatewiki.net .
...
Change-Id: I1ea0ab3e8a05c69021aaf4875b4d50b9cf6e780a
2016-09-05 22:46:29 +02:00
Translation updater bot
fa74ca1b12
Localisation updates from https://translatewiki.net .
...
Change-Id: I59d000170b0edce2f8e09ea5e99619517df3401c
2016-09-04 22:34:11 +02:00
Translation updater bot
7d733ff49c
Localisation updates from https://translatewiki.net .
...
Change-Id: Iff76313d140f15e3e1c5f0e0b38a6a8baa49f90f
2016-09-04 00:25:40 +02:00