Commit graph

1024 commits

Author SHA1 Message Date
jenkins-bot f4106e8dc7 Merge "Fix detecting decorative comment frames with whitespace" 2021-01-04 21:41:30 +00:00
jenkins-bot 127ceccafd Merge "Add test case for trailing void tags (<br>)" 2021-01-04 21:41:02 +00:00
jenkins-bot 095660ca5f Merge "Convert highlighter.css to less" 2021-01-04 21:07:59 +00:00
jenkins-bot f6c7e5ec9c Merge "Stylelint: Enforce class prefixes" 2021-01-04 21:07:58 +00:00
Bartosz Dziewoński 6e37a172ae Fix detecting decorative comment frames with whitespace
As a result of 0fc71f60cd, "empty" text
nodes (containing only whitespace) at the end of the comment may be
inside the comment's range, and trying to ignore them caused the
ranges not to match and the frame not to be detected.

Now the code works whether they're inside the comment's range or not.

Add a test case for wrapped discussion comments with HTML comments and
with whitespace.

Bug: T250126
Bug: T268407
Change-Id: I2217ff5a635fd1c9c9e803f46795b1bfb3d17535
2021-01-04 20:31:33 +01:00
Bartosz Dziewoński efccc28b5d Add test case for trailing void tags (<br>)
Bug: T266288
Change-Id: I9385a5b6804fa199327f7af2cfd8275f30727f66
2021-01-04 19:22:18 +00:00
Translation updater bot e8003733b9 Localisation updates from https://translatewiki.net.
Change-Id: Id6d1ab51f063448ec1be024705ce3937c16c4bbe
2021-01-04 08:43:07 +01:00
Translation updater bot b4535c95c7 Localisation updates from https://translatewiki.net.
Change-Id: I22739cde5e3a5d641e8eeb447f6e2e674004d6a3
2020-12-30 10:13:48 +01:00
Translation updater bot 367290ecfc Localisation updates from https://translatewiki.net.
Change-Id: I1cf9c79eed29f6189036d69f122e6b8b66cd5ec8
2020-12-29 09:47:43 +01:00
Translation updater bot 9c3f1d16c6 Localisation updates from https://translatewiki.net.
Change-Id: I18304408f6724d4f7b502861231f0db1bea3d922
2020-12-28 10:38:09 +01:00
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 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