Commit graph

4216 commits

Author SHA1 Message Date
Ed Sanders fb6146053a Convert highlighter.css to less
Change-Id: I41f6d9536a589b6423f4fc619d5058335083a570
2020-12-23 16:50:32 +00:00
Ed Sanders cb4a833cd2 Stylelint: Enforce class prefixes
Change-Id: Id3f13f73f63883277044cd24c9e27874c688577f
2020-12-23 16:47:55 +00:00
Translation updater bot 498c2c5855 Localisation updates from https://translatewiki.net.
Change-Id: I03fdf46a6d034a163e4c42ae3bd1e82e886bc288
2020-12-23 08:32:09 +01:00
Translation updater bot 536a524a85 Localisation updates from https://translatewiki.net.
Change-Id: I94a04f8c0165f612f35701c12b018bbb942e0027
2020-12-22 08:30:49 +01:00
Translation updater bot 74526ac702 Localisation updates from https://translatewiki.net.
Change-Id: I7159836fb6a0dab817d9e0a62e7623fb07ce3c2c
2020-12-21 08:38:52 +01:00
libraryupgrader aa61fe68e2 build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: I40cf53290ea5054dfb25e9eb620aaab121163298
2020-12-19 13:49:04 +00:00
Translation updater bot 73d1264e0a Localisation updates from https://translatewiki.net.
Change-Id: Icbffb6570786ae122f8f0bc346fe1d7fb962cb46
2020-12-18 08:24:20 +01:00
jenkins-bot 20bf835236 Merge "Follow-up I6f6a869: Apply flex wrapping of actions in anon mode as well" 2020-12-17 22:59:19 +00:00
Ed Sanders b8be2e352d Follow-up I6f6a869: Apply flex wrapping of actions in anon mode as well
Bug: T259320
Change-Id: I6e0a275d4b45f1ce8661729313a159060c259ae1
2020-12-17 22:24:18 +00:00
Ed Sanders 6710b80d4f Make Hooks::$tags a constant
Change-Id: I63bacc9bc6fc18ef677325439b6186d1813d23cf
2020-12-17 21:17:58 +00:00
Ed Sanders ffbfbc0dd8 Separate out isAvailableForTitleAndUser from isAvailable
Change-Id: I3d9375d35e893c3e139d55a8505a78411ad58577
2020-12-17 21:17:44 +00:00
Ed Sanders 3bb2d25a74 Use PageProps for fetching newsectionlink flag
Now we don't require the ParserOutput to be available.

As a result, we now check the flag on the latest revision of the page,
rather than the one being viewed.

Change-Id: Id77a332643cb8ad95afc5cec6713fa0a3636a5ce
2020-12-17 21:17:24 +00:00
Translation updater bot bc04783341 Localisation updates from https://translatewiki.net.
Change-Id: I9e9d9d9748082a85f94da09837deeec3119d976a
2020-12-17 08:54:51 +01:00
Ed Sanders 6ad1f05d16 CommentFormatter: Don't parse replylink label
Change-Id: Ic2e77b78d12931d5b2c2c6e2cf29b652a2be8aca
2020-12-15 22:18:08 +00:00
Ed Sanders bdca6fb54f Add explicit dependency on targetLoader
Comment stated that it is loaded in getPageData but
that is no longer true.

Change-Id: Ideb2129ae605135c3de0362ce0d33aa03a9b6d87
2020-12-15 19:34:57 +00:00
jenkins-bot fa5b595ec0 Merge "Restore correct height of "Advanced" button" 2020-12-15 16:33:57 +00:00
Bartosz Dziewoński 95f8a4a8db Restore correct height of "Advanced" button
Looks like something changed in OOUI?

Change-Id: I383329a36212b1ab66eb563175ad14fa1965b7e4
2020-12-15 15:55:59 +01:00
jenkins-bot ee9e3dcbdc Merge "Fix highlight rendering in Safari with GPU hack" 2020-12-15 00:17:56 +00:00
Ed Sanders 236c46d256 Fix highlight rendering in Safari with GPU hack
Change-Id: Ib44aba55c568d0fc9fa8761b09abecd5b55b8897
2020-12-14 22:56:08 +00:00
jenkins-bot 646b9622b1 Merge "Remove a fixed TODO comment" 2020-12-14 22:41:07 +00:00
jenkins-bot 9a37c71300 Merge "Disable reply links on mobile" 2020-12-14 22:41:05 +00:00
Bartosz Dziewoński 5867699bf8 Remove a fixed TODO comment
The problem was fixed in 15cb419f56,
then the comment restored in 633cc9a7b3
(looks like a rebase mistake).

Change-Id: Ic31ea0bf88480cff02f40701f1317f35c1c6e891
2020-12-14 22:16:16 +01:00
jenkins-bot 2734e46af8 Merge "Fix trying to insert start/end markers in impossible locations" 2020-12-14 20:37:27 +00:00
Bartosz Dziewoński 50ad5bb2b4 Ignore outdent templates at the beginning of comments
Bug: T264116
Change-Id: Iae9dbb30a1aead897cc274f655d3ecff4b297dbd
2020-12-14 21:35:56 +01:00
Bartosz Dziewoński ae920b831f Change which nodes are ignored at the beginning of comments again
While working on T270009, I noticed that <style> and <link> nodes
are treated differently, which seemed weird. Rewrite this again,
hopefully this is the last time.

The changed test cases also involve <area> and <input> nodes,
and the new results make more sense to me.

Bug: T264116
Change-Id: I3af90c84768a4b3dc53446927f4dba6f72175a2f
2020-12-14 21:33:50 +01:00
Bartosz Dziewoński 6c7a0ca9a2 Fix trying to insert start/end markers in impossible locations
Bug: T270009
Bug: T266288
Change-Id: I962128e7d9290e7b5eb49bfdb5847fd17714bae1
2020-12-14 21:09:56 +01:00
Ed Sanders ccf6f33c40 Disable reply links on mobile
Bug: T270088
Change-Id: I003b0c6adea8496c95596e40a2bf4bb63906a464
2020-12-14 18:52:47 +00:00
jenkins-bot b491d52c03 Merge "Debug: Introduce "vote" debug mode" 2020-12-14 17:39:50 +00:00
Translation updater bot fef3b95858 Localisation updates from https://translatewiki.net.
Change-Id: I3afc31f6fb698f2e0e51c2d5fa9448bdc5ea5e14
2020-12-14 08:41:33 +01:00
jenkins-bot 5f2684a8d0 Merge "Debug: Fix signature range higlighting" 2020-12-14 01:55:18 +00:00
jenkins-bot 1f2d106f37 Merge "ThreadItem.js: Fix documentation comment" 2020-12-14 01:53:58 +00:00
libraryupgrader 7706c391d2 build: Updating ini to 1.3.8
* https://npmjs.com/advisories/1589

Change-Id: Ib9e37417481fc0f430d60c8f0d183b374329a86b
2020-12-13 01:47:22 +00:00
Ed Sanders 633cc9a7b3 Debug: Introduce "vote" debug mode
Bug: T269163
Change-Id: Ie8da7acf3660a6d30b92d7803d87ad51a3275369
2020-12-12 13:21:48 +00:00
Ed Sanders 43443971a0 ThreadItem.js: Fix documentation comment
Change-Id: I2b0207eb5f3689845daf5e6dd293a59d2ec890b2
2020-12-12 12:58:16 +00:00
Ed Sanders 15cb419f56 Debug: Fix signature range higlighting
Change-Id: Ieb5af739bb98761d8473edb87f1eb752dc386ea1
2020-12-12 12:56:54 +00:00
Ed Sanders a082535e02 Fix styling of error/captcha MessageWidgets
Change-Id: I592c1a08238dc46ee342672be29a8070b495f3dd
2020-12-11 16:27:07 +00:00
Translation updater bot 369920ec54 Localisation updates from https://translatewiki.net.
Change-Id: I982fb4472ae6dc66be79c5170205e9f7efaea808
2020-12-11 08:35:13 +01:00
Translation updater bot 3f3d7a39c0 Localisation updates from https://translatewiki.net.
Change-Id: I00cccfcb269cf09093490fb75e34a7f4e1e2dc2a
2020-12-10 08:34:36 +01:00
libraryupgrader 794ad7d492 build: Updating mediawiki/mediawiki-phan-config to 0.10.5
Change-Id: I3e53748bad5447b1a7a07e1f48600b1f522aa63c
2020-12-10 05:21:03 +00:00
Ed Sanders fb0cc01ff8 Skip over empty inline templates (e.g. tracking templates)
Bug: T269036
Change-Id: I15e56041c1f1ecb85e9e368a9fbb07882438bf8d
2020-12-09 18:51:41 +00:00
Translation updater bot a672cdb1b0 Localisation updates from https://translatewiki.net.
Change-Id: I572c27aa32784d3073913808681b2e13ee92b6e8
2020-12-09 08:41:41 +01:00
jenkins-bot 2a955ab735 Merge "Handle category links like comments (rendering-transparent nodes)" 2020-12-08 21:44:56 +00:00
Bartosz Dziewoński 8c9230fa10 Handle category links like comments (rendering-transparent nodes)
Bug: T269036
Change-Id: Id4321ad09907b5030881456c93da90a39bdfdd75
2020-12-08 21:39:16 +00:00
Translation updater bot 2265478d22 Localisation updates from https://translatewiki.net.
Change-Id: Ic4d18a15ed55c5314486ece2948e66cb75b806d0
2020-12-08 08:21:08 +01:00
Translation updater bot 57018853ef Localisation updates from https://translatewiki.net.
Change-Id: Ia5a888cf693dba4faab7fc28ac77727e76ee8028
2020-12-07 08:44:24 +01:00
libraryupgrader 5c9db663e3 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: I2045b7a8672f482ab685d8af47cf69076d3ac2d7
2020-12-06 05:45:21 +00:00
Bartosz Dziewoński 113ad01d5e Consistent use of isBlockElement() in JS code
(Consistent compared to our PHP code)

Change-Id: I4aba6f22cc7da2da30ccd6346e4390b14bd347af
2020-12-05 22:48:34 +01:00
jenkins-bot 54f13b11a0 Merge "Tweak colors and timing of the highlight on posted comments" 2020-12-05 01:49:53 +00:00
Translation updater bot 3e8936e9c1 Localisation updates from https://translatewiki.net.
Change-Id: I02c1cc6ea196839f4a8ab2538c6dd6d3dd93baed
2020-12-04 08:33:00 +01:00
Translation updater bot b306c6eb58 Localisation updates from https://translatewiki.net.
Change-Id: I25c51784accba6b1b84672e8e06a4426274db4a8
2020-12-03 08:32:16 +01:00