Commit graph

16948 commits

Author SHA1 Message Date
libraryupgrader 7248ad6332 build: Updating mediawiki/mediawiki-codesniffer to 32.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
* MediaWiki.Commenting.PropertyDocumentation.WrongStyle
* MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage

Additional changes:
* Removed globals `OO`, `require`, included via `wikimedia/mediawiki` profile (T262222).

Change-Id: If161f46db0a1f35126fecec141e29d15fa4f2532
2020-10-28 17:50:11 +00:00
Bartosz Dziewoński bc56984e1c Update VE core submodule to master (a9b83ea7f)
New changes:
0972a11b1 Localisation updates from https://translatewiki.net.
c3cdbb264 Localisation updates from https://translatewiki.net.
29ce797c7 Localisation updates from https://translatewiki.net.
a9b83ea7f Localisation updates from https://translatewiki.net.

Change-Id: I2155690fd6759189adac61bfa746d0690c71872a
2020-10-27 11:52:27 +00:00
jenkins-bot ea5d1d9793 Merge "Update VE core submodule to master (29ce797c7)" 2020-10-27 01:10:23 +00:00
Translation updater bot bc00119ffb Localisation updates from https://translatewiki.net.
Change-Id: I84bdcc51a99eda9cb50fd9ad77945f61d0d20905
2020-10-26 08:32:46 +01:00
James D. Forrester 1ffae75ec9 Update VE core submodule to master (29ce797c7)
New changes:
0972a11b1 Localisation updates from https://translatewiki.net.
c3cdbb264 Localisation updates from https://translatewiki.net.
29ce797c7 Localisation updates from https://translatewiki.net.

Change-Id: Ib04dc07b0e0dd0c9bceb716d89bb1731cf978737
2020-10-23 11:48:27 -07:00
Translation updater bot bae48dfcd3 Localisation updates from https://translatewiki.net.
Change-Id: I3045c003775acd9688ef80db3f331261388bd8f4
2020-10-23 08:38:58 +02:00
Ed Sanders 3e34dbdcd0 No longer run OutputPageBeforeHTML hook now it happens in core
This partially reverts I015ac183a0c25dafb9b95c577edd4ef59c112d43.

Bug: T266195
Depends-On: I5b41251ad95ea58153fb7e32dba62d407f0844ac
Change-Id: I1d408f53c86f1d8809ee9c8a3ec48992ecd03cee
2020-10-22 14:08:06 +01:00
Translation updater bot 9768adbedb Localisation updates from https://translatewiki.net.
Change-Id: I6296c6d09e103366ba51f9afc7404936bc280578
2020-10-22 08:32:01 +02:00
Translation updater bot 714e255a4d Localisation updates from https://translatewiki.net.
Change-Id: I1adbc96c45d1655eb793652974281fef517bad16
2020-10-21 08:28:16 +02:00
Translation updater bot 5a5a6deb28 Localisation updates from https://translatewiki.net.
Change-Id: Idff525109ce1bbda0b0140962050025fabdda819
2020-10-20 08:31:48 +02:00
jenkins-bot a5cc81a630 Merge "Fix editnotice order in VisualEditor" 2020-10-19 20:15:21 +00:00
Ed Sanders 98a1c203c1 Filter empty edit notices
Bug: T265798
Change-Id: I10bc181b66288f89775566e1b06ae1e508484724
2020-10-17 16:31:27 +01:00
Translation updater bot 0a6ccea046 Localisation updates from https://translatewiki.net.
Change-Id: If31185e403e1bb5ec99f25b4fba0583537d69183
2020-10-16 08:30:07 +02:00
proc c824dc383a Fix editnotice order in VisualEditor
Bug: T263255
Change-Id: I83e6910c4886cc5a0170dc05e60459f3427aebe5
2020-10-16 01:14:21 +01:00
jenkins-bot 37cd9d77a3 Merge "Convert ve.init.mw.DesktopArticleTarget.init-vector.css to LESS" 2020-10-15 14:52:15 +00:00
jenkins-bot ed2e476525 Merge "Avoid undefined in Math.max" 2020-10-15 07:32:23 +00:00
Gergő Tisza de7c6e913b
Avoid undefined in Math.max
Math.max( undefined, x ) is NaN.

Change-Id: I60bde01d4fc6e9a52182753f79232045f48d1f8b
2020-10-14 23:51:02 -07:00
Translation updater bot b69212a202 Localisation updates from https://translatewiki.net.
Change-Id: Ib658ca951b2f64ca5c6fad520cfb214d3c5c7f01
2020-10-15 08:39:18 +02:00
Ed Sanders 6c36e403aa Convert ve.init.mw.DesktopArticleTarget.init-vector.css to LESS
Change-Id: I5e7c56ebf9e68706e8fc39b1bd4bf81be878ffe4
2020-10-14 13:11:48 +01:00
Translation updater bot 735ca47d64 Localisation updates from https://translatewiki.net.
Change-Id: I33b37392286ed4a741f7487ebf7d890e9461a694
2020-10-14 08:28:37 +02:00
Translation updater bot 179be50b13 Localisation updates from https://translatewiki.net.
Change-Id: I5745f9fdb85b2a5417add122a661986d0a6d3285
2020-10-13 08:44:21 +02:00
Translation updater bot aed72da1fa Localisation updates from https://translatewiki.net.
Change-Id: I407a0740b266976a51593d7a4c6636d6f8d66e9f
2020-10-12 08:36:32 +02:00
Ed Sanders 47ce47a39f Update VE core submodule to master (dccfd0824)
New changes:
26ef391b4 ToolbarDialog: log dialog-abort consistently with FragmentWindows
41baf7e7b Logging for character insertion from the special characters panel
dccfd0824 Update UnicodeJS to v13.0.1

Bug: T264146
Change-Id: Ia4cd02a96d8db4833feee6a006eac8eda2c012fb
2020-10-08 22:19:22 +01:00
David Lynch cf9d3a29df MWLinkAction: update call to window.open
Bug: T264146
Change-Id: Ie3f91cb0ca281d57976b71045f2b54ec96160068
2020-10-08 18:37:47 +00:00
Ed Sanders f0891fc174 Update VE core submodule to master (68c5f1a3c)
New changes:
c53286843 Make NodeWindow a standalone mixin
a787fbef1 Update OOUI to v0.40.4
0d74538ee Refactor dialog logging out of ui.Command into ui.WindowAction
ea55ede8d [BREAKING CHANGE] Improve structure of special character definitions

Local changes:
Fix output of fetchSpecialCharList to match new format

Bug: T264146
Bug: T264690
Change-Id: I2a28bb9c3e54cb5f9308ab361dee99bc801b467a
2020-10-08 19:09:12 +01:00
Thiemo Kreuz e13781ce1f Remove non-helpful lines of documentation
These do nothing but repeating literally what the code already
says.

Change-Id: I93c4a60f190e17a845e37e48b1c0a80bde2292c0
2020-10-07 15:24:50 +02:00
James D. Forrester 8539f75b54 MWCategoryMetaItem: Allow trailing whitespace (e.g. \n) in category names
Encountered on a page with [[d:Template:Translation_categories]].

Change-Id: Ib2df3518e3047d32626a156c32d5ef9e37ea9b3a
2020-10-06 12:17:30 -07:00
jenkins-bot 7f5da34de8 Merge "Don't set alt text if attribute was originally 'null'" 2020-10-06 00:29:02 +00:00
Translation updater bot 3012300634 Localisation updates from https://translatewiki.net.
Change-Id: Iafdce1295603d8982461de6115d0defd8902ce1c
2020-10-05 08:44:11 +02:00
Ed Sanders 9811b36fc7 Don't set alt text if attribute was originally 'null'
Bug: T264533
Change-Id: I0ae1f6e6b770f90579ea1cefa2ac564f655d43ae
2020-10-04 17:57:02 +01:00
Bartosz Dziewoński 3f40195310 Update VE core submodule to master (1a0cc7e1f)
New changes:
c8bd6c278 ve.ce.NodeFactory: Remove unused method #getNodePrimaryCommandName
a52b62f04 Move ve.ce.Node.static.primaryCommandName to ve.ce.FocusableNode
42ee1459f Allow defining delete commands for focusable nodes

Change-Id: Ic02fe10de5ae047375255d758d66644f6d51f97f
2020-10-03 01:59:52 +02:00
Ed Sanders ef18cea2c3 Update VE core submodule to master (03532b74d)
New changes:
daf2239a3 Localisation updates from https://translatewiki.net.
0adfcd9b2 Localisation updates from https://translatewiki.net.
21ce76329 FocusableNode: Check for surface after setTimeout
6d615c6a4 build: Remove Gemfile and rubocop files
c58df0121 Localisation updates from https://translatewiki.net.
d5844cec3 Inherit LanguageAnnotation from TextStyleAnnotation
03532b74d Convert <bdo> tags to LanguageAnnotation

Bug: T259632
Bug: T264439
Change-Id: I3a780ec673cc32bf39cfd4a0e2f0ee3bba37327f
2020-10-02 12:48:51 -07:00
Ed Sanders 4915cbaed4 Return language code if language name not found
A language code is better than an empty string.

The string would be used in the LanguageContext to
describe an annotation like <span lang="en-fakeVariant">.

Change-Id: Ibc18c238d6216927447ca26f336e9d973c6b93eb
2020-10-02 14:54:19 +01:00
Translation updater bot bc0347259b Localisation updates from https://translatewiki.net.
Change-Id: Idd9b3e693227d40f8e888ed5032550651e84239d
2020-10-02 08:25:25 +02:00
jenkins-bot 05ec421073 Merge "Don't navigate back immediately when trying to teardown" 2020-10-02 00:22:23 +00:00
jenkins-bot e247a605d2 Merge "Fix cancelled browser-back on desktop" 2020-10-02 00:22:19 +00:00
Translation updater bot af6bed0144 Localisation updates from https://translatewiki.net.
Change-Id: Iebb35cc12c2adaa4fc269058353c9e7ffbf179b1
2020-09-28 08:30:41 +02:00
Ed Sanders 5c84f0cd88 Rewrite EducationPopup so it isn't a mixin
Reference images are moved to Cite and used by Citoid.

Bug: T170919
Bug: T171292
Depends-On: I02041246dda1b3d3ad1bcc0b014fa022e8259b62
Change-Id: Id97659ed1fa64a1223a8957fefaf2a149edd0e9c
2020-09-24 21:33:50 +01:00
Translation updater bot 4fa844c2e6 Localisation updates from https://translatewiki.net.
Change-Id: I854f464a872ebb44b9452d3f767e80644cef3b0b
2020-09-24 08:30:05 +02:00
Bartosz Dziewoński 4e32949594 Update VE core submodule to master (0a5e284c7)
New changes:
f51552d68 Restore check for getSelectionRects returning null
0a5e284c7 Revert "ve.ce.Surface: Debounce onModelDocumentUpdate"

Bug: T261522
Bug: T263607
Change-Id: I47ec5a5445728447996689df548d9f4d6b0c253b
2020-09-23 21:10:29 +02:00
Translation updater bot e64a1c5f08 Localisation updates from https://translatewiki.net.
Change-Id: I981b6532bdfc60f827bef4c8f2a18dc97f54d305
2020-09-23 08:25:39 +02:00
libraryupgrader 5af52f1298 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Change-Id: I1a6f66ae2613faa2f337e5d42e6817ac7ff7f596
2020-09-23 00:14:12 +00:00
James D. Forrester 2a7f31b5b9 Update VE core submodule to master (95f9f5681)
New changes:
cb4613044 FindAndReplace: Always highlight results when opening
cf480dbb6 ElementLinearData: Remap annotations on nodes too when sanitizing pastes
705743230 ElementLinearData: Remap annotations on moved meta nodes too
16be2c262 ElementLinearData: Remove moved metadata too when removing metadata
6d51882e2 ElementLinearData: Deduplicate annotations when sanitizing pastes

Bug: T191487
Bug: T259730
Bug: T262877
Change-Id: I0918ad9833c15998b1696ec40c1681c0d8f14236
2020-09-22 18:56:17 +02:00
Translation updater bot 56a3a09a34 Localisation updates from https://translatewiki.net.
Change-Id: Ib5c4ce1da86399ba89894c1839819e90c4df5f12
2020-09-22 08:35:50 +02:00
Ed Sanders 27e19025a4 Fix cancelled browser-back on desktop
Bug: T263464
Change-Id: I808f7effffca5fbe9d8416d447df61dde57776c3
2020-09-21 16:23:18 +01:00
Ed Sanders 587dc1a3c8 Don't navigate back immediately when trying to teardown
Let MobileFrontend deal with all the history management.

Bug: T247171
Change-Id: I666b31285761c80407b4f0fe65c48f76b3e72bf2
2020-09-21 15:21:24 +01:00
Translation updater bot e8ed2e0acb Localisation updates from https://translatewiki.net.
Change-Id: Icfddef4ffa80cfa1fed2810f7c8a149ea9632bf5
2020-09-21 08:30:55 +02:00
jenkins-bot 0a33657622 Merge "Fix PSR12.Properties.ConstantVisibility.NotFound" 2020-09-19 18:43:57 +00:00
Reedy 4ad2800088 Fix PSR12.Properties.ConstantVisibility.NotFound
Bug: T253169
Change-Id: Ie8eaf5eb9a687fa575d6237b01ae502b3ae2ede3
2020-09-19 17:16:59 +00:00
jenkins-bot 30e06502c1 Merge "Fixes: Error: Bad constructor arguments" 2020-09-18 16:52:11 +00:00