Commit graph

2093 commits

Author SHA1 Message Date
Alexander Jones 2075d6d2dc Pre-fill fields in image dialog when image code is selected in editor
This commit adds a function to parse image syntax selected in the
editor and uses the parsed data to automatically fill the fields
of the WikiEditor image dialog. Surrounding whitespace in the
selected wikitext is now included in the result. This causes an
issue with the ownline option in line 840, which appends an extra
line regardless of the post text.

Bug: T40829
Change-Id: Ib117a2e6350400f9298d4892a00981ac41f3dbbf
2019-08-01 00:34:06 -05:00
Translation updater bot e839d44662 Localisation updates from https://translatewiki.net.
Change-Id: I74fc244ae42c04f9f858fcc793c47cf66dc0d092
2019-07-29 09:16:27 +02:00
Translation updater bot dc2128ecf8 Localisation updates from https://translatewiki.net.
Change-Id: I1c12bca36342dea34660b1a377a28db60abe5457
2019-07-27 09:32:03 +02:00
Fomafix 3a306ff7fb Use lightweight mw.util.getParamValue() instead of mw.Uri()
Change-Id: I27eea6544a7dfe503d0cac1e24228eca9834ca95
2019-07-17 17:41:23 +02:00
libraryupgrader 2bdd0aa08c build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* lodash: 4.17.11 → 4.17.14
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* set-value: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* union-value: 1.0.0 → 1.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* mixin-deep: 1.3.1 → 1.3.2
  * https://npmjs.com/advisories/1013
  * CVE-2019-10746

Change-Id: I5f3648d07b489123b29fcf92b1d514cef5d24e54
2019-07-16 05:06:19 +00:00
Translation updater bot 774d3422f3 Localisation updates from https://translatewiki.net.
Change-Id: I47fb3443efb355d00a7d6146174cb201b9daeedd
2019-07-12 08:45:06 +02:00
jenkins-bot 145379966b Merge "Add arrow-up as indicator for the pinned menu" 2019-07-11 22:56:59 +00:00
James D. Forrester bc3c7cb634 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I51e3b37fb1fb858262a89a9a7754d30e51231517
2019-07-09 14:21:07 -07:00
Translation updater bot 355eae3909 Localisation updates from https://translatewiki.net.
Change-Id: I09cbc1b4735595e37ed70d2f6e583926563924ed
2019-07-07 22:42:03 +02:00
jenkins-bot 483bea4939 Merge "Log editor switches to visualeditorfeatureuse" 2019-07-04 19:30:48 +00:00
David Lynch 7bbbf1a886 Log editor switches to visualeditorfeatureuse
Also, avoid distorting the logging of abort when VE is switched to from
WikiEditor. Log it immediately, rather than waiting until the end of the VE
session triggers a page-unload.

Bug: T221191
Change-Id: I3ddccd8df973a289f3bcdc4cdc42df1ab23ce6a4
2019-07-03 23:36:23 -05:00
Translation updater bot 473940b4ad Localisation updates from https://translatewiki.net.
Change-Id: I54443869e01d659a5ddaf803f7549366cc744f65
2019-07-03 22:46:59 +02:00
Translation updater bot da3e4d9b88 Localisation updates from https://translatewiki.net.
Change-Id: Iedd81581f832d7e851116dd83887ceb0239c1060
2019-06-30 22:40:16 +02:00
Translation updater bot b48a1b9331 Localisation updates from https://translatewiki.net.
Change-Id: I7a440aa9370e1ab8871d838b9f2f338687695676
2019-06-24 08:40:34 +02:00
Fomafix d2e683f230 Add arrow-up as indicator for the pinned menu
Change-Id: I9a8afd8ec8f17c867f81889524a64b96b1d10568
2019-06-18 18:09:25 +02:00
Translation updater bot 73b346b432 Localisation updates from https://translatewiki.net.
Change-Id: Ie1b1e1cf05c6b127e08fe20f3668b067e1c0ed20
2019-06-16 22:36:59 +02:00
Translation updater bot ef4eeaf259 Localisation updates from https://translatewiki.net.
Change-Id: I82b43f50a4605bc39aa42a63b2ca897f13dee1cd
2019-06-13 22:40:59 +02:00
Translation updater bot f103fb1fce Localisation updates from https://translatewiki.net.
Change-Id: Idc6387d72a1924a55d63c2f383201f60d75b2672
2019-06-10 22:56:14 +02:00
libraryupgrader 0ff2d51f50 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: Ia57a2ddd64f210613d51c0e11634c5d43a3e279a
2019-06-10 12:43:24 +00:00
libraryupgrader a1277d9175 build: Updating npm dependencies for security issues
* Updated stylelint-config-wikimedia to 0.6.0, addressing:
  * https://npmjs.com/advisories/786

Committed package-lock.json (T179229) too.

Change-Id: I7d5d8521d32fd28228a6bb6630d7f6d83510c481
2019-06-09 04:32:34 +00:00
Translation updater bot c9c6887334 Localisation updates from https://translatewiki.net.
Change-Id: I0af0b90402ae92750032b368e76bd9aa437de758
2019-06-06 22:49:23 +02:00
Translation updater bot 5993f0ab7c Localisation updates from https://translatewiki.net.
Change-Id: I10e39df15b669d74ef24b11f0250c6f8cc0dd291
2019-06-02 22:31:20 +02:00
Translation updater bot ebcd67c199 Localisation updates from https://translatewiki.net.
Change-Id: I2669347bd6e6582b95eab239e6b43ae7d3bc2008
2019-05-30 22:54:46 +02:00
Translation updater bot f44c65c1ab Localisation updates from https://translatewiki.net.
Change-Id: I5847cea6e2cebb0f15d4e76f164a3c146acf11f0
2019-05-26 22:23:50 +02:00
Translation updater bot bd6755f796 Localisation updates from https://translatewiki.net.
Change-Id: Ie3cfa7b3c2328b3371d0afa5cc0870b601fa8ae6
2019-05-22 22:32:23 +02:00
Translation updater bot f7b26e9d65 Localisation updates from https://translatewiki.net.
Change-Id: I4430aad74b1c28cc3df66019507d0632038ba27d
2019-05-20 22:31:35 +02:00
jenkins-bot 7c75285577 Merge "Search: Add option to search whole words" 2019-05-19 18:21:54 +00:00
James D. Forrester 1a39fb8135 build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: Id645c6beaefc79741af276f2f508e45d1eaa7532
2019-05-19 13:40:41 +02:00
Derk-Jan Hartman f501cdc9c6 Search: Add option to search whole words
Bug: T24478
Change-Id: Idb47ac392b0f8b1425053c6916db8f25c11c9762
2019-05-15 22:03:54 +02:00
jenkins-bot afc974e1d2 Merge "Remove mentions of schema.* ResourceLoader modules" 2019-05-15 08:42:09 +00:00
Translation updater bot 9aa22c92fd Localisation updates from https://translatewiki.net.
Change-Id: Ifd3636da394169b6794590ab926fc7cc388731c7
2019-05-15 09:15:20 +02:00
Dan Andreescu 7d61121793 Remove mentions of schema.* ResourceLoader modules
These modules are deprecated and will be removed, see parent task for
details and deprecation information.

Bug: T223286
Change-Id: I72a1ab68f94842b2fa9bcd84c21ea736a48e0614
2019-05-14 21:19:34 -04:00
Translation updater bot ef6b6b70be Localisation updates from https://translatewiki.net.
Change-Id: Ia3324e468eadb4a6b87dc210a4435f071e7e4914
2019-05-12 22:34:33 +02:00
James D. Forrester b374d6beed build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: I4c82af69580292b91177fb1021908613292de5da
2019-05-07 11:30:32 -07:00
Translation updater bot d1ad4ec5d4 Localisation updates from https://translatewiki.net.
Change-Id: I2782de3ddb6a375c1b97be7a8c0aa5a49d4b25c6
2019-05-01 22:30:38 +02:00
Translation updater bot 83ce639456 Localisation updates from https://translatewiki.net.
Change-Id: I193d7a3424250b54cddbc85629e9709f34186a86
2019-04-29 22:16:32 +02:00
Translation updater bot da749a3175 Localisation updates from https://translatewiki.net.
Change-Id: I43181982d7fba4b0ece7d9d00a5ca30790711500
2019-04-26 22:28:43 +02:00
jenkins-bot 5d4674d46b Merge "Remove tests/phan/issue from .gitignore" 2019-04-26 15:59:00 +00:00
Translation updater bot 772f461eb4 Localisation updates from https://translatewiki.net.
Change-Id: Ia220f43ea756818874031c870d62e1e4571ed5ab
2019-04-23 22:46:21 +02:00
Translation updater bot b365dbba27 Localisation updates from https://translatewiki.net.
Change-Id: I0a8e77b1b0f1e89606e0029133e1c7dc29df2f06
2019-04-22 09:24:25 +02:00
Umherirrender 26a00c7a9d Remove tests/phan/issue from .gitignore
Not needed since mediawiki/mediawiki-phan-config 0.4.0

Change-Id: I721ac490b66b9d8358307abe7730d886f2450535
2019-04-21 11:17:42 +02:00
Translation updater bot f9854b3726 Localisation updates from https://translatewiki.net.
Change-Id: I76d284225347c809421ea91df5d93aeb5ad2f7cb
2019-04-19 09:54:31 +02:00
Translation updater bot 576bf12faa Localisation updates from https://translatewiki.net.
Change-Id: I7c04d35f9cbca72e902058af3767ff983e8970ab
2019-04-17 22:13:28 +02:00
Translation updater bot dd84970417 Localisation updates from https://translatewiki.net.
Change-Id: I1daf3abae39687d39be8423d1590b4182bc1c43f
2019-04-15 22:54:55 +02:00
Translation updater bot 831ae35d1b Localisation updates from https://translatewiki.net.
Change-Id: I5e584e601a8450ead437b0c15da86addb8e67ea5
2019-04-14 22:31:00 +02:00
Translation updater bot 95072db701 Localisation updates from https://translatewiki.net.
Change-Id: I70df3b2c618caaf27e21bf17dd70eecaf2ce040d
2019-04-12 08:32:45 +02:00
Translation updater bot e051a4b8d6 Localisation updates from https://translatewiki.net.
Change-Id: I396aa614be870157d5868a40aeb46d8224360ad3
2019-04-10 09:23:43 +02:00
Translation updater bot 7fe7b0212d Localisation updates from https://translatewiki.net.
Change-Id: I00ad8df994fa32c95d1face8468087a4f106e0c4
2019-04-08 08:39:27 +02:00
Translation updater bot 198ecc8ac3 Localisation updates from https://translatewiki.net.
Change-Id: Idef3470e28ff208fc2c0ba70be508054bac06475
2019-04-05 22:27:54 +02:00
Translation updater bot ab2881211e Localisation updates from https://translatewiki.net.
Change-Id: I6450db366dda23a93cf48a0d16d5cf9475d7319a
2019-04-04 14:55:23 +02:00