Commit graph

2613 commits

Author SHA1 Message Date
WMDE-Fisch 89deb7ca4c Add browser tests for linking the main backlink
This also includes putting the backling tests in their
own file due to the common setup needed.

Bug: T205271
Change-Id: Ica98c31bf0fddde9eb80f9c53b3dc089cb60e30c
2018-11-20 13:21:30 +01:00
Thiemo Kreuz (WMDE) 2b34dede6c Sanitize underscores as core does, to not create broken links
Core sanitizes link targets and removes double spaces and underscores.
But the corresponding id="…" attributes are not sanitized the same
way. This results in broken links. This patch is not perfect (two
references with name="a_b" and name="a__b" will conflict), but the
best solution I can think of at the moment.

Bug: T184912
Change-Id: I9dbc916ad99269517d84c8ffb8581628d44a9f4e
2018-11-20 13:07:35 +01:00
Thiemo Kreuz (WMDE) 30c6323e82 Prefer "=== null" for consistency and readability
Change-Id: I59a7d072ec859f59ff6692d7fa79708ec184322e
2018-11-20 11:48:19 +01:00
jenkins-bot 18a53d7666 Merge "Localisation updates from https://translatewiki.net." 2018-11-19 22:23:55 +00:00
Translation updater bot 2cf53b996b Localisation updates from https://translatewiki.net.
Change-Id: If314a6b7ad16b2470688cc32ced4a5560b773cbc
2018-11-19 22:11:05 +01:00
jenkins-bot e728ef92f8 Merge "Add browser test for highlighting of jump mark symbols" 2018-11-19 17:37:15 +00:00
jenkins-bot 7b18946a8b Merge "Add first browser test" 2018-11-19 17:37:14 +00:00
Thiemo Kreuz (WMDE) 2b3a62c26b Make arrows/carets links whenever we know where the user came from
I tried to arrange the new code in a way that it is compact, but still
readable. I think it's possible to arrange it even better, but browser
tests should be added first, in my opinion.

Bug: T205271
Change-Id: I1d579ef9d2787fc43c0a8bbf61c583f602dca5d4
2018-11-19 16:27:59 +00:00
jenkins-bot 8b97f74dc9 Merge "Highlight backreference jump marks by making them bold" 2018-11-19 16:24:24 +00:00
WMDE-Fisch 9c4620966f Add browser test for highlighting of jump mark symbols
Bug: T205270
Change-Id: Ieccf2c507dafac70d287eb0fa0fff051442205da
2018-11-19 16:08:49 +00:00
Andrew Kostka 626d9d4188 Add first browser test
This adds a test which checks if the extension appears on the
Special:Version page.

This is an initial step for adding more browser tests to check
changes done in I26fe41c328157233cc5b06d38d2ba0f7b036a853

Change-Id: I9a9d1cd2a25277f2c430f4e80b51b72c1621f91b
2018-11-19 16:08:42 +00:00
Thiemo Kreuz ee8da566e3 Highlight backreference jump marks by making them bold
The separate "ext.cite.a11y" module is kept for (temporary)
compatibility with cached HTML, and should be removed in about
a month.

Browser tests will be added in a separate patch.

Bug: T205270
Change-Id: I26fe41c328157233cc5b06d38d2ba0f7b036a853
2018-11-19 16:46:08 +01:00
Thiemo Kreuz (WMDE) a8da30d4fd Remove unused parameter from two private Cite functions
The iodea is to make the code simpler and easier to read. If no
code uses this feature, all it does is making the code unnecessary
complex.

Change-Id: I22747712a691443a29b57831d3a6926275ad986b
2018-11-19 16:28:24 +01:00
Translation updater bot 7ecdec713d Localisation updates from https://translatewiki.net.
Change-Id: I9cf5306d453310e154c2f49df23f1be6348200de
2018-11-18 22:48:21 +01:00
Translation updater bot 9deb4d476e Localisation updates from https://translatewiki.net.
Change-Id: Icd283ec309f0f89624a49eecf1b241396b36e24f
2018-11-17 22:19:38 +01:00
Bartosz Dziewoński fd19cd76c1 ve.ui.MWReferencesListDialog: Disable 'Apply' button until changes are made
Bug: T209660
Change-Id: I2c998cce812b63d1f5656ba38470a77ac5a0fd45
2018-11-16 00:49:08 +01:00
libraryupgrader 8cac9f4aee build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: Ie7785a40557446e40db079b147610ba29b135ba4
2018-11-14 08:53:25 +00:00
Ed Sanders e0781b0c58 Fix typo in documentation
Change-Id: I25407db3025dace825afd0ca083eba4fc600955d
2018-11-13 23:42:35 +00:00
jenkins-bot 82c75661ee Merge "Remove obsolete aliases from closures" 2018-11-13 22:59:20 +00:00
Ed Sanders a589dbe636 Remove obsolete aliases from closures
Bug: T208951
Change-Id: Idd6bc36b116af81827b4440b4c8ec3da94e1486f
2018-11-13 14:43:45 -08:00
Translation updater bot 664b178c3d Localisation updates from https://translatewiki.net.
Change-Id: I6aae842e9a5d4a8a036ed6107222e9bc84ac57b9
2018-11-12 22:12:39 +01:00
Translation updater bot e61ab2c8f6 Localisation updates from https://translatewiki.net.
Change-Id: Iade9e083c123e608dfac57f8e27f4fbbf65e9932
2018-11-11 22:33:37 +01:00
Translation updater bot a9ae168208 Localisation updates from https://translatewiki.net.
Change-Id: Ib3be93269095ae9b86e407aab89d353b5530b56b
2018-11-10 22:28:03 +01:00
Translation updater bot 86bf110048 Localisation updates from https://translatewiki.net.
Change-Id: I0d4260c2bd9121a41ad9598f57edb6001748e186
2018-11-07 22:21:58 +01:00
Bartosz Dziewoński ec55fa3ce8 Use changed ve.dm.Selection interface
Bug: T208228
Bug: T208913
Change-Id: Ifb1a77a5f07b9e257c6e0477e23316f80c7a4791
2018-11-07 16:51:51 +01:00
Translation updater bot 774e301300 Localisation updates from https://translatewiki.net.
Change-Id: Ia5f2da9fb4166a5c53f681705ece9591b99f4b9c
2018-11-04 22:42:03 +01:00
Translation updater bot 5e9add6454 Localisation updates from https://translatewiki.net.
Change-Id: Ic2dc4045f2baa1467329bd4619f59e846a5118c4
2018-11-03 11:02:43 +01:00
Pipix 978816149c Convert HTTP Links To HTTPS
1 link to www.mediawiki.org is converted from http:// to https://

Bug: T189687
Change-Id: I24e08db41b4d46abea356cd05c37916f740a1d7a
2018-10-30 20:10:17 +08:00
Ed Sanders 4df9bf5f69 Fix wikitext paste test
Bug: T204007
Depends-On: I97a92512d7b114ed46bc48d3d416eebc86df13f7
Change-Id: I06177cb4428798f62b78f5dc48f545a6cb6884fc
2018-10-29 21:39:40 +00:00
Translation updater bot 9ee0d799a7 Localisation updates from https://translatewiki.net.
Change-Id: Ib0be56800d53b316fb4f473c8ab2940b5cac1dd7
2018-10-28 22:21:44 +01:00
Translation updater bot f99e841595 Localisation updates from https://translatewiki.net.
Change-Id: I98eea39834c94aa8c33b40af5a0ffd3440c2f38e
2018-10-27 22:59:39 +02:00
Translation updater bot 09964ca80d Localisation updates from https://translatewiki.net.
Change-Id: I1a74c35bbb16714cbe0777e6eb2305585644ccf7
2018-10-26 22:24:05 +02:00
James D. Forrester 05c006abd6 i18n: Use &lt; rather than <nowiki>< for security testing sanity
Change-Id: I260669a240b7c3a661928140ac2e540ffe064c35
2018-10-25 15:22:05 -07:00
Translation updater bot d7abcdea98 Localisation updates from https://translatewiki.net.
Change-Id: Ic6dc3591f9ec88fa6bc2d19d394811ad5f82c1fe
2018-10-25 22:38:41 +02:00
Translation updater bot 9ba05318fd Localisation updates from https://translatewiki.net.
Change-Id: Ibe1df91706b639030e79c205005d9cdcb5e20cf1
2018-10-18 22:34:07 +02:00
Translation updater bot c9ff3c836f Localisation updates from https://translatewiki.net.
Change-Id: I790e0207e282c378bb98d641c018c1bf907a74de
2018-10-16 22:17:17 +02:00
jenkins-bot 7d7756e53f Merge "Unstrip <ref> contents before comparing" 2018-10-15 16:25:42 +00:00
Gergő Tisza b8efcb0e1a Unstrip <ref> contents before comparing
When used as {{#tag:ref|...}}, references can contain strip markers,
and different strip markers can hide the same text, so unstrip before
comparing to avoid false warnings.

Bug: T205803
Change-Id: I059fd853d1eea07aa06cc85f80e463dd97fd171a
2018-10-15 12:10:59 -04:00
Translation updater bot a08297ee92 Localisation updates from https://translatewiki.net.
Change-Id: I88ed6da413e9396b283e5ff6cd59b2c6990848a0
2018-10-14 22:25:09 +02:00
Translation updater bot 3e3c7fc2b1 Localisation updates from https://translatewiki.net.
Change-Id: Icb7f2e358b56be2430e5ffd95653ff59660aad87
2018-10-13 10:19:13 +02:00
Translation updater bot 05e4d5bcfb Localisation updates from https://translatewiki.net.
Change-Id: Ic3deaa69b49671465650d2bb23ba108d79e68e1a
2018-10-11 22:37:14 +02:00
jenkins-bot afe903fe3d Merge "Localisation updates from https://translatewiki.net." 2018-10-11 17:53:13 +00:00
Translation updater bot 8bd52101e9 Localisation updates from https://translatewiki.net.
Change-Id: Ia207dfa8b578ba2f4c00cd48fde2a00210596bec
2018-10-10 22:24:20 +02:00
James D. Forrester 022293fe4b i18n: Put tags on Special:Version in <code> tags, like other extensions
Change-Id: Ic238e17ce578168ef8fbbdc209245bd2dc13a423
2018-10-09 14:01:38 -07:00
Translation updater bot 64bb87d017 Localisation updates from https://translatewiki.net.
Change-Id: I42a21867fd1226268ec2e00cdbe54c5808513917
2018-10-08 23:19:36 +02:00
Translation updater bot 1daa5234b4 Localisation updates from https://translatewiki.net.
Change-Id: Icb276a9e5e4d7d8a4e7bcdf4f71efaf3b73212ac
2018-10-07 22:30:03 +02:00
Translation updater bot 4af353f400 Localisation updates from https://translatewiki.net.
Change-Id: I0f933da5e746bc62403e714efa23ff3dedc16464
2018-10-06 22:35:16 +02:00
jenkins-bot ecb9c147f9 Merge "Avoid jQuery in ve.dm.Model.static.describeChange(s)" 2018-09-28 16:19:26 +00:00
Ed Sanders 817bfbfa54 Avoid jQuery in ve.dm.Model.static.describeChange(s)
Change-Id: If30d12289eff66470044931ea5b38d2b81d04075
2018-09-28 10:55:45 +01:00
jenkins-bot cf5a06984b Merge "i18n: Drop unnecessary overwrites of en defaults from all languages" 2018-09-26 17:54:58 +00:00