Commit graph

4025 commits

Author SHA1 Message Date
jenkins-bot a5ea9e2107 Merge "Remove Minerva bundle size check" 2023-09-25 17:43:04 +00:00
Translation updater bot d6f61786f3 Localisation updates from https://translatewiki.net.
Change-Id: Id01a0bad6e18f4fd3bfe0ffb62c24096301bbc8a
2023-09-22 08:49:46 +02:00
Translation updater bot 74744928dd Localisation updates from https://translatewiki.net.
Change-Id: Iaa4a3b290b890a807b0b97811f4f93371d4e1eef
2023-09-20 08:58:23 +02:00
Jon Robson 23da7a1fb5 Remove Minerva bundle size check
The mediawiki.ui.icon module is not loaded in this skin.

Change-Id: I2956933226687fe0881b0099c6de68af70a4364e
2023-09-19 16:03:46 +00:00
Jon Robson c53f69f36a Fixes notification overlay: Change URL using location
Partial revert of I192c6d4235c57f69cf48dcd67aa6c4810df62dfa
The deprecation notice seems incomplete. The two functions are not
equivalent and we have various usages elsewhere in the codebase.

Bug: T346685
Change-Id: I063daa217708c3bebac97af7be9eedab01f5217b
2023-09-18 14:15:12 -07:00
Translation updater bot 397b726f99 Localisation updates from https://translatewiki.net.
Change-Id: Iffd71241367bd501120a68eea73fe46fff779306
2023-09-18 08:47:38 +02:00
Translation updater bot a108d5d2fc Localisation updates from https://translatewiki.net.
Change-Id: I1d2dc0775ba0a16e882df5e7209f38b058aa701e
2023-09-14 09:32:29 +02:00
jenkins-bot 18451d4f94 Merge "Fixes console warnings" 2023-09-13 23:37:11 +00:00
Jon Robson d407d1054c Remove or document remaining mw-ui-icon usages
Most of these are captured in other bugs
The anon talk message style doesn't do anything.

Bug: T344022
Change-Id: Iba1fce98ea05931fe07b2b20f07c62d198039d1b
2023-09-13 00:03:38 +00:00
bwang 47b2744609 Clean up icon selectors from cached HTML
Bug: T344022
Change-Id: I170d86b52345b94a81e74f03b82aef7b522bbb39
2023-09-12 08:45:58 -07:00
Translation updater bot a76d5ede1e Localisation updates from https://translatewiki.net.
Change-Id: Ifa2d0c4de2fc74132c1eba32a323f5d10da38bdc
2023-09-12 08:28:48 +02:00
jenkins-bot d676f6e910 Merge "Ensure header edit icons are the same size" 2023-09-12 00:09:12 +00:00
bwang 9e9c1292e4 Ensure header edit icons are the same size
Bug: T345969
Change-Id: Ica191284df74610c958ad8808dcd1c03839b1a5d
2023-09-11 18:37:31 -05:00
jenkins-bot 757dfc078e Merge "Add figure and picture elements to the reset." 2023-09-11 22:02:40 +00:00
Jon Robson dc51175986 Remove wmf-a11y from daily job
It's throwing an error disrupting the build

Change-Id: Icc31316010f57813513ddd4449c74735ca7b63ae
2023-09-11 15:10:51 -05:00
Jon Robson 658f1c3439 Fix Echo badges on desktop Minerva, remove module
Bug: T345785
Change-Id: I2913c60d609a11fa74d90e858bf112627553aa13
2023-09-11 14:35:40 -05:00
Translation updater bot eecf2ccf53 Localisation updates from https://translatewiki.net.
Change-Id: Ibed181af4f0b947e62ba05057c5ed818a0395af8
2023-09-11 09:08:10 +02:00
Derk-Jan Hartman 2728752633 Add figure and picture elements to the reset.
These are newer elements but they have similar user agent defaults to
img/video/audio etc.

This should fix the usage of imagemaps, which use frameless figures
and currently have excessive margin in minerva

Change-Id: If9f995401b771baffe221e474991cf1e3fbc7f76
2023-09-09 13:53:06 +02:00
jenkins-bot 5a6016b708 Merge "Remove old :before icon selectors and update selectors to not use minerva and wikimedia prefixes" 2023-09-07 18:46:41 +00:00
Jon Robson 52de5fd597 Fixes console warnings
Fixes "[1.40] Use of PageGateway is a NOOP and deprecated. Please remove this call."
Fixes Use of "navigate" is deprecated. use navigateTo instead

Change-Id: I192c6d4235c57f69cf48dcd67aa6c4810df62dfa
2023-09-07 11:22:49 -07:00
bwang e09c41b011 Restore mw-ui-button styles to history page buttons
Bug: T345306
Change-Id: I331373de54fe4f4975d3e162efb6daf3258dcd67
2023-09-07 11:56:25 -05:00
jenkins-bot 724dbe43c4 Merge "build: Update MediaWiki requirement to 1.41" 2023-09-06 23:22:25 +00:00
James D. Forrester 44e6f875c5 build: Update MediaWiki requirement to 1.41
All skins in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I320ccbc07409ab9c2858fd1410ec91cda797b464
2023-09-06 22:46:16 +00:00
bwang 269bd5bdaf Remove old :before icon selectors and update selectors to not use minerva and wikimedia prefixes
Bug: T344022
Change-Id: I573d7b36513cd0b74f62621cc246f719bcb94256
2023-09-06 13:53:22 -05:00
Translation updater bot c07ad24444 Localisation updates from https://translatewiki.net.
Change-Id: Icfe5f48aff0cefae4ea26f6e5ec159d17fcb4247
2023-09-06 08:45:31 +02:00
bwang e7b908cd5a Fix unseen notifications icon
Bug: T345483
Change-Id: I4e0b2ce146dc9ac65e6f8e3532fc825c3bd8ce18
2023-09-05 19:09:53 +00:00
jenkins-bot 286920543a Merge "Enable clientPrefs inline script" 2023-09-05 16:39:23 +00:00
Translation updater bot 68745cf833 Localisation updates from https://translatewiki.net.
Change-Id: If41dede3d6e8a07d84d12d907261a65d83f0f39b
2023-09-04 08:47:41 +02:00
Translation updater bot 2db7921b0c Localisation updates from https://translatewiki.net.
Change-Id: Ib767dc93bf2cdf90ddc720379c76bc409efa7a67
2023-09-01 09:07:38 +02:00
Translation updater bot 26a02cbe88 Localisation updates from https://translatewiki.net.
Change-Id: I286766ad2703d6789f5076c461a24edc6ee6b27f
2023-08-30 08:47:50 +02:00
bwang 0e391a87e0 Update addPortletLink for Codex
For testing make sure to check the 3 variants:
```
mw.util.addPortletLink('page-actions', '#', 'text' );
mw.util.addPortletLink('p-interaction', '#', 'text' );
mw.util.addPortletLink('p-personal', '#', 'text' );
```

Bug: T344006
Change-Id: Iad3a8d5ed1237c1438d170f07c9c3fe3784182fe
2023-08-29 19:27:56 +00:00
Translation updater bot 47b528c0e2 Localisation updates from https://translatewiki.net.
Change-Id: I49af1ab1ce47512d4920b0a2f9d2e33b7bacd368
2023-08-29 08:30:45 +02:00
Translation updater bot ad5129b02f Localisation updates from https://translatewiki.net.
Change-Id: I44a1735e38c0964bedc11fb9a45eaa8d509a89e7
2023-08-28 09:33:21 +02:00
bwang 7bbb240db1 Make menuGroup.mustache use togglelist classes, ensuring ToggleList HTML is consistent. Remove duplicated CSS
Bug: T343920
Change-Id: I567d20171b0e511d00922adf250f97b9b8ed146b
2023-08-25 17:57:47 +00:00
bwang c188fac106 Clean up setIcon now that classes and icon types are removed
Bug: T319260
Change-Id: I354dafd6bea92ef61f6d25b5943ef9d933daa2a0
2023-08-24 21:37:40 +00:00
Jon Robson 952789bc17 Switch Minerva button template to use Codex and remove mw-ui-button
- Removes 'mw-ui-icon-with-label-desktop' as that is now the default behavior for icon only buttons in Minerva
- Removes icon flushing classes, use codex mixins instead

80 Visual changes relating to minor icon/button subpixel changes in the heading, edit section links, and page actions

Bug: T319260
Change-Id: I503b643d33e43196483af4b5f9dd312237322ac8
2023-08-24 15:57:01 -05:00
bwang b66ac786d1 Prepare addPortletLink handler for Codex switchover
Change-Id: I33e541ab7b816640a63541ce719e094bb8f5d78e
2023-08-24 12:07:28 -05:00
Martin Urbanec 0109b17483 watchlist: Don't assume only named users have watchlist access
In I1ccda3878a658d4251429ae65ebee04c09d81243, core decided
to technically allow temp. users to have watchlist access,
but have it disabled on permission level
(viewmywatchlist / editmywatchlist) instead of by isNamed() checks.

Minerva expects the watchlist permissions to be assigned to everyone,
but actual watchlist access to be available only to named user.
This is an incorrect assumption. Make a clear difference between
"page is watchable" concept (watch icon should show) and "user has
permission to watch" (if not, CTA to log in should show).

There is one additional step to fix, which is ensure
temp users receive the T330518 drawer. That is not a bug
in MinervaNeue, but in core -- mediawiki.page.watch.ajax.js uses
e.stopPropagating(), which means Minerva's CtaDrawer doesn't get
a say. Ideally, mediawiki.page.watch.ajax.js would know whether
the user has permissions to edit their watchlist. Alternatively,
it could have an interface to allow extensions to add their own
error handling. See T344925 for details.

Bug: T344870
Change-Id: Id1757fb4fb433fe39cf4d5c6e1e9c65ab5abae14
2023-08-24 14:12:43 +00:00
Translation updater bot ad3c5b9c41 Localisation updates from https://translatewiki.net.
Change-Id: Iaffcbfd9df0e0bc98379cdd3d2beb6c7f4aa5e1d
2023-08-24 09:56:05 +02:00
Translation updater bot c37f1672fe Localisation updates from https://translatewiki.net.
Change-Id: I7de35fb03d8eb691b73aec4c4b4e4a6cdc5e8e60
2023-08-23 08:42:50 +02:00
Umherirrender 5062970a5b build: Remove unneeded newline from one line condition
Improve readability

Change-Id: I4493126d97668ab3b4d24a6605ab1dabe7339e2e
2023-08-22 21:46:03 +02:00
Translation updater bot acfe9e7a1e Localisation updates from https://translatewiki.net.
Change-Id: I39c997957c8360041c777c3b6108b3b0e47089df
2023-08-22 09:03:28 +02:00
Jan Drewniak dda29e3799 Enable clientPrefs inline script
Bug: T342277
Change-Id: Ibe468efb33f6fdd37e7e6b8848be5bd6357b78cd
2023-08-21 15:13:38 -04:00
Translation updater bot 3f990b86a4 Localisation updates from https://translatewiki.net.
Change-Id: I6d0d037e5cb82fc4794341345c8a829d0a3f3f36
2023-08-21 08:50:50 +02:00
Umherirrender 4ce42dd5cb Use namespaced MediaWiki\Html\TemplateParser
Bug: T321681
Change-Id: I7cec363ce0f4a6d5797a3f176b5cb766930a84fe
2023-08-20 02:48:10 +02:00
gerritbot fd2fe83a0c Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681
Change-Id: I236a14b07bd78141f82e86d7ea872d24b6cd88eb
2023-08-19 19:36:46 +02:00
Translation updater bot b49965e48c Localisation updates from https://translatewiki.net.
Change-Id: Iea91f7b6c37c4e7c331e495593d9ab1b9a85d216
2023-08-18 09:13:40 +02:00
Translation updater bot cce91d404f Localisation updates from https://translatewiki.net.
Change-Id: Ia19ac8eaa53706b084500aaa014bfd4014bea4d1
2023-08-17 12:12:32 +02:00
jenkins-bot 7c59e349a9 Merge "Edit icon uses template parser" 2023-08-16 22:27:51 +00:00
Translation updater bot 4dcaa77195 Localisation updates from https://translatewiki.net.
Change-Id: I15419471ae82ba2435763611a147a2a6841ae5eb
2023-08-16 09:14:26 +02:00