Commit graph

2488 commits

Author SHA1 Message Date
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
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
Translation updater bot 27af9b4b0b Localisation updates from https://translatewiki.net.
Change-Id: I98f464b5e69a045e7e6ecf4adf72d9e27b6cc69d
2021-07-30 08:28:11 +02:00
Translation updater bot cfe2d051f0 Localisation updates from https://translatewiki.net.
Change-Id: I5fcfb025d23c2aa2442088f2863cc4d6b34e1156
2021-07-29 08:45:28 +02:00
Translation updater bot 48c843c53d Localisation updates from https://translatewiki.net.
Change-Id: Ia7bdf54324026eb4955787ae339e158228bfe3e3
2021-07-26 08:12:54 +02:00
libraryupgrader 3e513a33da build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* glob-parent: 5.1.0 → 5.1.2
  * https://npmjs.com/advisories/1751 (CVE-2020-28469)

Change-Id: I36248754dc80ac37571745e3e466f1214ce6eb05
2021-07-23 14:23:49 +00:00
Translation updater bot e6f0eeab88 Localisation updates from https://translatewiki.net.
Change-Id: I3a86be85f00dd9b5942836ed008849d9888c5299
2021-07-22 08:13:42 +02:00
Translation updater bot 2f240f1954 Localisation updates from https://translatewiki.net.
Change-Id: Ica3347c63370d347ef4a0f5602762914d673e426
2021-07-14 08:03:13 +02:00
Translation updater bot 87cf291522 Localisation updates from https://translatewiki.net.
Change-Id: I5c79bc0925a32fdaa873ef84e90b5d0acfb9d7a3
2021-07-13 08:12:11 +02:00
Translation updater bot ca4c04343f Localisation updates from https://translatewiki.net.
Change-Id: I8cd41a050d9c363fd4fe5bd1af43bf90d661aaa1
2021-07-05 08:07:31 +02:00
Translation updater bot 3a557e3484 Localisation updates from https://translatewiki.net.
Change-Id: Iec5fa8a696c76545d8ccd8d4ce6db34fc28745eb
2021-06-24 08:27:28 +02:00
Translation updater bot 0c75afb8a9 Localisation updates from https://translatewiki.net.
Change-Id: I0535fb4ed46468f667637c7379f16b56802a15eb
2021-06-18 08:21:26 +02:00
jenkins-bot faa1c10b8a Merge "Move var declarations inline" 2021-06-15 16:32:13 +00:00
Ed Sanders 344da9de80 Move var declarations inline
Change-Id: I841ed46dfde9a6e2a5927e49ac3383d6e17bda66
2021-06-15 15:45:13 +01:00
Ed Sanders b3dbb96cf3 Update stylelint-config-wikimedia
Change-Id: Ib7c44812e8adc159ff2c1d634712e05cc8511078
2021-06-15 15:14:04 +01:00