Commit graph

4513 commits

Author SHA1 Message Date
jenkins-bot 0f3e42bf68 Merge "skin.json: Enable 'clientPrefEnabled' option" 2023-08-18 20:49:13 +00:00
Translation updater bot 72cd2c67da Localisation updates from https://translatewiki.net.
Change-Id: I0e177f293392e989320894f8ce3c1f1166c3822e
2023-08-18 09:13:41 +02:00
bwang 54b620042a Remove wmf-a11y dependency and tests
Change-Id: Ib3a61615af634ad7dc94fa09d521b90bc5db3e0d
2023-08-17 12:38:55 -05:00
Translation updater bot 4e4a2791af Localisation updates from https://translatewiki.net.
Change-Id: I544cb5feb48baabe9fe3bee42daa986b7d248c4d
2023-08-16 09:14:27 +02:00
Translation updater bot 4309de2259 Localisation updates from https://translatewiki.net.
Change-Id: I05930e4fda1dfa76e2d30de675feaafc8b579c88
2023-08-14 09:21:01 +02:00
Timo Tijhof b7ab3b1f76 skin.json: Enable 'clientPrefEnabled' option
Ahead of core change Ib0b5ee29ec7acc.

Bug: T344069
Change-Id: If9b83dd559cda2dac315afcb65a4761b9e97f319
2023-08-11 18:33:06 +00:00
bwang 72bac95cf9 Remove unnecessary styles about temp user page
Bug: T340152
Depends-on: Ic99c9cf2c8e7ea9a6520b4c9b6e5b69d358cbd58
Change-Id: Ifa01b010224181d125e6886c07f3e5ad8321e4ec
2023-08-10 12:01:58 -05:00
Translation updater bot 84a2c37235 Localisation updates from https://translatewiki.net.
Change-Id: Id41faa936748130031144e46bbac891c72002c22
2023-08-10 09:45:04 +02:00
Jon Robson beb466521b Fix suffix check
Follow up to I120f8f7114b33d2cfbd1c3c57ebf41f8b2d7fec4
Caught by Pixel.

Bug: T341641
Change-Id: If11d78bc48648647b9aab48908214058270eea57
2023-08-09 16:42:42 +00:00
Translation updater bot 97442b6888 Localisation updates from https://translatewiki.net.
Change-Id: I5b8445dbe56ba215dd4e9eca1b674c884f222f4f
2023-08-09 09:17:40 +02:00
jenkins-bot e8a681de2b Merge "Fixes the pinning functionality" 2023-08-08 23:38:20 +00:00
Jon Robson 93a4b76b00 Fixes the pinning functionality
Pinning functionality was broken in
I120f8f7114b33d2cfbd1c3c57ebf41f8b2d7fec4
as it breaks the check against "legacy" feature
classes. We should resort to using the legacy mode
when neither of the new classes can be found.

Bug: T341641
Change-Id: If97a393140175fd41551c3db14b19becb8d9f460
2023-08-08 23:18:12 +00:00
Abijeet 0739360cf5 Display ULS vector-dropdown-content when on non-content pages
Functionality in I37d8e61a1287b31d1a304d2a955f532b9b8fa505
was working until  Ic83eaa34ffa74a42c7cf6df7c0857dd7a9401aba

Bug: T342845
Change-Id: Ie7f18e2228420b3269b0be969474e605d48ba682
2023-08-08 23:07:23 +00:00
jenkins-bot e4e762eb32 Merge "Limited width uses new client preferences system" 2023-08-08 17:56:58 +00:00
Translation updater bot 1ab35da403 Localisation updates from https://translatewiki.net.
Change-Id: Ie3d3147d64aa2472ec1e2e4938ac2f16cff899f4
2023-08-08 09:03:27 +02:00
Translation updater bot f417dfcb05 Localisation updates from https://translatewiki.net.
Change-Id: Ic7cc506a33f3eedbc02f5560274d77a9c5994533
2023-08-07 08:42:54 +02:00
jenkins-bot cd45d2938f Merge "Avoid DB access in SkinVectorTest" 2023-08-06 06:06:24 +00:00
Daimona Eaytoy 473dc07eb4 Avoid DB access in SkinVectorTest
The test is not in the Database group and it shouldn't be, so avoid
(unintentionally) making DB queries.

Change-Id: I68de8806e58b9ebef9c31d6d66ab9b9c95b08fa7
2023-08-06 02:22:42 +02:00
Jon Robson e5bf8adad7 Limited width uses new client preferences system
* Update classes to use clientpref-1 and clientpref-0 suffix for limited width
I've limited this to the only client preference for now to reduce
risk.
* For cached HTML retain existing CSS rules, and continue saving
a cookie
* Migrate cookie if found for newly generated pages. This will be
to ensure the old cookie and new cookie are in sync (this should be
a one time operation)

Depends-On: I1e635f843ac9b2f248b1f7618134598e80291b38
Bug: T341641
Change-Id: I120f8f7114b33d2cfbd1c3c57ebf41f8b2d7fec4
2023-08-04 21:31:21 +00:00
Translation updater bot 9444cfe58c Localisation updates from https://translatewiki.net.
Change-Id: Ibdfef356e980ce373980eaa453742e112b2b8728
2023-08-04 09:24:21 +02:00
Translation updater bot 5cbfa38234 Localisation updates from https://translatewiki.net.
Change-Id: I0e74804eff753d202f8da08bd207266950827f07
2023-08-03 08:50:36 +02:00
Translation updater bot 25ec050c6f Localisation updates from https://translatewiki.net.
Change-Id: I2fdd219e5a5306e5f1b6c1414768f18a789c8678
2023-08-02 09:06:33 +02:00
jenkins-bot 634a578ff5 Merge "Add mw.util.addPortlet handler for legacy Vector" 2023-08-01 17:16:37 +00:00
Translation updater bot cc06fd7708 Localisation updates from https://translatewiki.net.
Change-Id: Ia40d2477c1b32701e559e14c6c51f17079cda074
2023-08-01 08:38:52 +02:00
jenkins-bot 9c9a621428 Merge "Revert "Reset line height on tab elements"" 2023-08-01 00:51:02 +00:00
Jdlrobson 18ecb0755f Revert "Reset line height on tab elements"
This reverts commit cb4265f003.

Reason for revert: This makes the situation worse when language
is not mixed.

Bug: T343110
Change-Id: I40158b15bad1ac06256894fc7ec6ffbac1e45fb0
2023-08-01 00:34:58 +00:00
bwang eb64a09a7d Separate dropdown/menu references in PHP and templates
- VectorComponentMenuVariants.php is renamed to VectorComponentVariants.php, and returns menu and dropdown data
- Remove TabsMenuContents.mustache in favor of MenuContents.mustache
- Fix the variants dropdown to use the full Menu template

Follow-up: Idf05c1664c026f58487ba34af5ede8a11e695baf
Change-Id: I0e9b1ab3306b04ee0d226048c6885beab4f310c6
2023-07-31 14:03:12 -05:00
Translation updater bot 1b88b29fa1 Localisation updates from https://translatewiki.net.
Change-Id: I7e8983d59ee038b33d132998bc5590ae2fddf412
2023-07-31 09:07:38 +02:00
Translation updater bot 74e2a42d7e Localisation updates from https://translatewiki.net.
Change-Id: I1837ad31db6070be995b9dbe8852f8605033c66d
2023-07-28 09:26:08 +02:00
jenkins-bot e860f10ca2 Merge "Fix issues with addPortlet handler" 2023-07-27 11:28:56 +00:00
Translation updater bot 55b47bfa79 Localisation updates from https://translatewiki.net.
Change-Id: I4d00b4b9c4f29881914d941f8a99c2fc809497ab
2023-07-27 10:51:42 +02:00
Jon Robson 967965b260 Add mw.util.addPortlet handler for legacy Vector
This copies the Vector 2022 hook approach and applies
it to legacy Vector.

Bug: T342814
Change-Id: I382bfa3b25f4814fbf627856fa5957f7e50bf8a8
2023-07-26 14:05:16 -07:00
Jon Robson 6b81214687 Fix issues with addPortlet handler
Follow up to I35a51df6ece2e48e086e722337d4c6bba427eeb4

1) the insertBefore function raises a JS error
2) We must take into account portlets added before the
Vector hook is registered.
3) Register the portlet in main. Loading the module should
not have side effects.

Bug: T303488
Change-Id: Iee6b308d6da63bc53bcba0fa5bb383d88787892a
2023-07-26 13:51:06 -07:00
jenkins-bot 48af341410 Merge "Add hook support for mw.util.addPortlet method" 2023-07-26 11:42:17 +00:00
Moh'd Khier Abualruz 4b4fc6c6c9 Add hook support for mw.util.addPortlet method
- Hooking into mw.util.addPortlet
- merged in tests from: I3258388d74c103515e3f0680304f9a376e439a35

possible follow-ups:
- tooltips support
- custom attributes support
- Adapting portlets of types dropdown, tab to vector skin. Check patch set 10 for a starting point

Depends-on: I79bad8661e34e653d41e6cb1cd4462ac5c6bc3b1
Bug: T303488
Change-Id: I35a51df6ece2e48e086e722337d4c6bba427eeb4
2023-07-26 13:37:09 +03:00
Translation updater bot 835106d884 Localisation updates from https://translatewiki.net.
Change-Id: Iebe6b2e949378634aa053ee5138f96db366c3579
2023-07-26 10:29:23 +02:00
bwang 20c216c829 Fix text showing on icon only buttons
Change-Id: Ie1ab40cd479b5a8e83ce13537a7e8d6387f7a441
2023-07-25 11:15:46 -05:00
Translation updater bot 1a60251500 Localisation updates from https://translatewiki.net.
Change-Id: Iea64d5ba3481372d00ab63ca014af852a04f7bb2
2023-07-25 10:45:04 +02:00
jenkins-bot 80b58924dd Merge "Limit button only icon resizing to Vector header button icons" 2023-07-24 21:28:05 +00:00
Jon Robson 46dece0b56 Limit button only icon resizing to Vector header button icons
Bug: T342190
Change-Id: I5ccc1e83b28a6ffa63d351900eba02343fc48659
2023-07-24 16:00:46 -05:00
Jon Robson d3748704ca Show limited width icon alongside help button
Depends-On: Ia4495f75b51626ab6dd2805574dfdc6199535015
Bug: T341740
Change-Id: I3b8881ad37fa0fb06b60e50f2a7608f7d7b3e0ab
2023-07-24 20:14:59 +00:00
Winston Sung f2f44f8e33 Fix attribution for "Localisation updates from https://translatewiki.net."
Change-Id: I5c667123f6b106736586bbaed559a65558cce67b
2023-07-24 17:06:49 +00:00
Translation updater bot e664f0cc66 Localisation updates from https://translatewiki.net.
Change-Id: I0ab30a670f3a417ee86827c679ae095c0d2a24ae
2023-07-24 09:43:39 +02:00
Jon Robson 0630a96d3a Do not hardcode uls key
The menu may have other items. This is needed by
WikiLambda extension.

Bug: T341500
Change-Id: I6884b04f3137dc1111bdc7642068aa436907caf6
2023-07-21 17:27:51 +00:00
jenkins-bot 11c8d6a132 Merge "Remove anonymous user icon" 2023-07-21 15:58:36 +00:00
Translation updater bot 1dcb773e96 Localisation updates from https://translatewiki.net.
Change-Id: I9b30e9e36439d17bd1ada44cfe173c950e28aa2a
2023-07-21 08:46:45 +02:00
Jon Robson 4ce3c38c5a Remove anonymous user icon
Bug: T340789
Depends-On: Iba0d5532bdb7134330a452e16c05d848c1c3b2a3
Change-Id: I55676b472f48777f657573b68fc56ae84c6e1f82
2023-07-20 16:08:09 -07:00
Jon Robson bcc7a977c1 Add temporary user icon
Bug: T340789
Change-Id: Ice9bf9c51e7b6ad875417090d05d4630e11f26c2
2023-07-20 18:32:58 +00:00
Translation updater bot 2872d0e1ae Localisation updates from https://translatewiki.net.
Change-Id: I56baf9c28f007a6630eaf6b549ccbf2dc32919c8
2023-07-20 09:35:54 +02:00
Translation updater bot 5b9ded95a5 Localisation updates from https://translatewiki.net.
Change-Id: I5674784d68147300d3debed961a12e66ae5ec581
2023-07-19 09:04:10 +02:00