Commit graph

2601 commits

Author SHA1 Message Date
Translation updater bot fc5d8708cf Localisation updates from https://translatewiki.net.
Change-Id: I6c506371e0d864b1f4f14ef91edc0bf46fa6b38c
2021-10-29 08:22:35 +02:00
Translation updater bot 7611a9b993 Localisation updates from https://translatewiki.net.
Change-Id: Ia338b091f70850b49143b728c1484495042f99c4
2021-10-26 08:18:20 +02:00
Translation updater bot 4b1ce7c6ca Localisation updates from https://translatewiki.net.
Change-Id: I45c9c0465ef3fc76f4eb234caeac3f0714d944ca
2021-10-25 08:52:57 +02:00
libraryupgrader 1b5449e6a3 build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: Iac78325ade4c685a338df86306fa47c3b79c2fd4
2021-10-24 15:59:59 +00:00
Translation updater bot b0680dbca7 Localisation updates from https://translatewiki.net.
Change-Id: If95dcfd26b1e8cf400862f666792de84ad2147c9
2021-10-21 08:22:56 +02:00
Translation updater bot b45e353b10 Localisation updates from https://translatewiki.net.
Change-Id: I9927c7aa7376b74fa633e714ea3e54f0cee293a5
2021-10-20 08:38:08 +02:00
Translation updater bot 7cae6b916a Localisation updates from https://translatewiki.net.
Change-Id: I778e3410ecca747bcbe2c2df704757f2e188719b
2021-10-18 15:21:46 +02:00
jenkins-bot 3bcaa37303 Merge "Remove template for insert-link dialog" 2021-10-13 20:20:30 +00:00
jenkins-bot 97780d5e3e Merge "Remove 'resize' logic from jQuery UI dialogs" 2021-10-13 18:59:15 +00:00
Sam Wilson 54f3e15199 Remove out-of-date CSS
* #wikieditor-toolbar-link-int-text was removed in I17f34a8cbf72b80f3916581867e5828d9b129789
* .wikiEditor-template-dialog-fields was removed in I47119d6cfdde4b40ff5b07be0c7d327b80598142

Change-Id: If669eb3fa8e1401d640c879f808c097682c30f31
2021-10-13 11:03:32 +08:00
Sam Wilson 60be1db1d1 Remove template for insert-link dialog
The HTML template is no longer required, as all three fields are
now OOUI and so provide their own HTML.

Bug: T289214
Change-Id: Id7e02119f00e30244b8dc2048c1f694500151b25
2021-10-13 10:03:44 +08:00
Daimona Eaytoy 834632650d Remove 'resize' logic from jQuery UI dialogs
Added in https://phabricator.wikimedia.org/rSVN56198 in 2009

It seems to have no user-visible effect, and resizing is still working
as expected for the dialogs that use it.

OTOH, this logic is broken, since it doesn't account for elements hidden
via classes or anything other than inline style. For instance, if there
are OOUI text fields inside the dialog, the logic in resize() will add

  style="display:inline"

to the empty icon elements, which would then cover part of the input
field.

Bug: T293065
Change-Id: If53937dd9e80835774ef936c5aa19f78c7266ca7
2021-10-12 11:46:21 +02:00
Sam Wilson 0b14ae0666 Change insert-link radio buttons to OOUI
Add new OOUI field for the link-type radio buttons in the
insert-link dialog.

Bug: T289214
Change-Id: Idf80c533e5a17de3e9a57051c0608524b6d45098
2021-10-12 13:01:26 +08:00
Sam Wilson e3e9ebb6cb Change the (insert-link) title field to OOUI
Following-up on I9fb7e66bf925eb9a8260d6245d2a7db54a7a2fec
this converts the link-text field to OOUI.

Bug: T289214
Change-Id: I17f34a8cbf72b80f3916581867e5828d9b129789
2021-10-11 14:45:02 +00:00
Amir E. Aharoni 675dfe18c6 Fix comma splice in a message
Change-Id: Ia851143a4febdcc2d520214d52c9514f932b9dbf
2021-10-09 14:55:43 +03:00
libraryupgrader efb1157ff8 build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/1002401 (CVE-2021-3807)

Change-Id: I54be830d2119b232f59045bfb2b87dfe321a303c
2021-10-09 09:07:37 +00:00
jenkins-bot c3d4bfcd2e Merge "Allow a free-text string 'title' field when adding characters" 2021-10-08 22:24:07 +00:00
Sam Wilson 6384498d75 Switch to OOUI TitleInputWidget for the link-inserter
In order to get a better look-up experience (images, description,
redirects, and disambigutation pages listed last), swich from
a custom title-autocomplete input (that used jquery.suggestions)
to OOUI's standard one (which is used in a bunch of other places
in MediaWiki).

This means a fair bit of code can be deleted from
jquery.wikiEditor.dialogs.config.js, and some of it moved to
the new OOUI classes.

This patch aims to be the minimum required, and so leaves a few
things for subsequent patches (such as converting the other parts
of the insert-link dialog to OOUI).

Bug: T289214
Change-Id: I9fb7e66bf925eb9a8260d6245d2a7db54a7a2fec
2021-10-08 12:43:55 +00:00
Translation updater bot 4023b7af82 Localisation updates from https://translatewiki.net.
Change-Id: I8901d598a51327a719d64d0b466f23f6767456f5
2021-10-05 08:30:14 +02:00
Inductiveload b87612d937 Allow a free-text string 'title' field when adding characters
When adding characters to the WikiEditor toolbar, it's possible to set
titleMsg, but it's not possible to set a free-form string title. This is
rather limiting for personal or site-local scripts which might wish to
use a title tooltip but not be able to set a MediaWiki message.

This commit adds the ability to pass a 'title' field of a character
definition object. If both 'title' and 'titleMsg' are defined, 'titleMsg'
is used.

Bug: T292434
Change-Id: I00775d5e4690c0fd45c20639a122c39dc756135e
2021-10-04 15:48:55 +01:00
Sam Wilson 8a57d552bf Remove out-of-date version requirement from README
The required version is already documented in extension.json and
doesn't need to be repeated in README (where it gets forgotten
and not updated).

Change-Id: I667c9a00c0df381c506c877b5ea2786604ec05e8
2021-10-04 10:34:13 +08:00
Translation updater bot 1b84b98f20 Localisation updates from https://translatewiki.net.
Change-Id: Ie02fa2bcaade00ac363b22c7a98ae10f02d24dff
2021-09-29 09:02:25 +02:00
Translation updater bot ac7b7c1785 Localisation updates from https://translatewiki.net.
Change-Id: I6231009cc00cb16f638a2dd573f1b60eab257704
2021-09-28 08:19:22 +02:00
Translation updater bot 1dcc0ffd6b Localisation updates from https://translatewiki.net.
Change-Id: Ib3f67e6c210687cd0049d97df400b87e3be781bb
2021-09-27 08:35:56 +02:00
Translation updater bot b55a4fc9e3 Localisation updates from https://translatewiki.net.
Change-Id: I51c6f76b6e1971a6ce0ac993ec9004748f82c2b3
2021-09-24 08:26:34 +02:00
jenkins-bot 50f1b7593e Merge "Revert "Support colon link escapes for categories and files"" 2021-09-22 14:38:18 +00:00
Translation updater bot 8f97450d4b Localisation updates from https://translatewiki.net.
Change-Id: Ide748aef8d335956d3c5a603d0f86d0c330dda3d
2021-09-22 08:11:16 +02:00
Ammarpad 2affca03b3 Revert "Support colon link escapes for categories and files"
This reverts commit e76eba6b96.

Bug: T290818
Change-Id: I88f86935f0686b98105ddb49ede4b773d5e6de54
2021-09-21 18:12:25 +01:00
Translation updater bot 6a9a559794 Localisation updates from https://translatewiki.net.
Change-Id: Iea8db21ce80868e64f633742ed85d45616c36dc4
2021-09-20 08:19:51 +02:00
Translation updater bot 14f1598c1d Localisation updates from https://translatewiki.net.
Change-Id: I3b3925964743850d555aa391c0a2683db7e79fce
2021-09-15 08:15:01 +02:00
Translation updater bot 84be8ad42a Localisation updates from https://translatewiki.net.
Change-Id: Ic670bf1485047ea92ea9f5e6df6d70bb9d16f1bf
2021-09-13 08:30:34 +02:00
libraryupgrader 3ffcdfd1f2 build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I7060b1fbea13ad7683107d58beee01c76490d35a
2021-09-10 11:51:00 +00:00
Translation updater bot 95327cac54 Localisation updates from https://translatewiki.net.
Change-Id: I1e19d2e91bec9bcb5c37ae459e0d5f401aff50a3
2021-09-10 08:16:09 +02:00
Translation updater bot fd5354f5fe Localisation updates from https://translatewiki.net.
Change-Id: I94a2474c10fc758dc3522ff5cbc38723725f16f1
2021-09-09 08:18:18 +02:00
Translation updater bot 1466354e0e Localisation updates from https://translatewiki.net.
Change-Id: I231e9fba493e3b9fcc356bc0aa11d16c0e2f76b1
2021-09-06 08:21:29 +02:00
Translation updater bot fbf299f18c Localisation updates from https://translatewiki.net.
Change-Id: I7b7803c38082121057fdf84e306b5695353702b9
2021-09-03 08:15:30 +02:00
Translation updater bot 7fe81e705f Localisation updates from https://translatewiki.net.
Change-Id: I1b12838127487dc724384dfb32e80561ecb32ea5
2021-09-02 08:26:58 +02:00
Sam Wilson b0904ce4f1 Remove unused image: insert-link-error.png
This image appears to have never been used, according to Git log searching.

Bug: T289214
Change-Id: I230db9ea85e0b3305c9bcc84531db21e93fecf4e
2021-09-01 16:29:05 +08:00
Translation updater bot 3f35099bc7 Localisation updates from https://translatewiki.net.
Change-Id: I86a3c063e5b69dcaef780d57a9bb2445d32a7904
2021-08-26 08:37:11 +02:00
Translation updater bot 85e46c6c43 Localisation updates from https://translatewiki.net.
Change-Id: Id74f18ab55eb2847009312cc7c825eccae4a8ee8
2021-08-23 09:04:35 +02:00
Translation updater bot afa4f0718b Localisation updates from https://translatewiki.net.
Change-Id: I2462d03013068d9d14cedf14cfe60c98861656ac
2021-08-19 08:14:04 +02:00
Bartosz Dziewoński edbdc7f9e6 Add runes to special characters
Depends-On: I6c736563068a83f56990729ac6ef3be6c8a0f621
Change-Id: Ia5c43f5973ab512cc5f9e674063d47833eb9a6fc
2021-08-17 18:19:32 +02:00
Translation updater bot 99bf9a6b38 Localisation updates from https://translatewiki.net.
Change-Id: I87b3e8a19fe696218b37d80597f0577d8a96c159
2021-08-16 08:17:03 +02:00
libraryupgrader 141103e832 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: Iebbc1c77a305ddf223fbbda67e9f1c4952525436
2021-08-12 14:14:47 +00:00
Translation updater bot 53631447f1 Localisation updates from https://translatewiki.net.
Change-Id: Id7f6653898a023ff041975ab27b8d0880553f7f5
2021-08-11 08:19:45 +02:00
Translation updater bot 52da3450c0 Localisation updates from https://translatewiki.net.
Change-Id: Ieb8ccd3f729eea4c2dfef81d958e9a3d4276be58
2021-08-10 08:07:13 +02:00
jenkins-bot 07b3d66c0b Merge "Support colon link escapes for categories and files" 2021-08-09 21:48:03 +00:00
Translation updater bot 2384ce4cb8 Localisation updates from https://translatewiki.net.
Change-Id: I9c10f33b2607a160a0fa816fde91aa83e86189a5
2021-08-09 08:25:33 +02:00
Translation updater bot 1681a1f05d Localisation updates from https://translatewiki.net.
Change-Id: Ic5cd9d31a6c4596ff660b84d02e8e27fc58348be
2021-08-02 08:37:42 +02:00
Alexander Jones e76eba6b96 Support colon link escapes for categories and files
This commit adds bidirectional support for prefixed colons in
internal link targets, such as the ones required by links to files
and categories. It automatically adds a colon to links targeting
pages in the File and Category namespaces (as determined by mw.Title)
and allows an optional colon prefix for all internal links after
the optional whitespace.

Bug: T38227
Change-Id: Ie2801c42da4238555ad7c6544a8412610a528597
2021-07-30 21:59:20 -05:00