Commit graph

3041 commits

Author SHA1 Message Date
jenkins-bot b85d073178 Merge "ServiceWiring: Add fallback for when title is null" 2021-12-06 20:01:54 +00:00
Kosta Harlan ed22536b44 ServiceWiring: Add fallback for when title is null
Services shouldn't rely on global state. The service should have a
method for setting the title manually, and callers to the service should
be updated to pass in the title (or other context items) as needed. As
is, this code causes the test for MediaWikiServicesTest.php to fail; it
appears to only pass in CI accidentally due to pollution of global state
from other tests that run before it.

Bug: T297068
Change-Id: I39c780d36583deb8b2edd7b12b425e949bd09cd1
2021-12-06 09:38:36 +01:00
Translation updater bot c206d213d9 Localisation updates from https://translatewiki.net.
Change-Id: I5853f54dea6a4350821d32ac87627500dcd27fb5
2021-12-06 08:22:16 +01:00
Volker E 9c38f7ec82 drawers: Remove outdated supported browser property
IE9 on Windows Phone workarounds are of no use any more.
The `right: 0` and `left: 0` properties below are sufficient in
currently supported browsers.

Change-Id: Ibfb29d1b009cb0ea33bc3cb9be39ee579e981b1a
2021-12-02 13:47:08 -08:00
Translation updater bot 987cd03cbb Localisation updates from https://translatewiki.net.
Change-Id: Ie2cc0ddfe7e592115715fb9923a6c126c8e41ea2
2021-12-02 08:44:28 +01:00
Translation updater bot 66d0de9bd4 Localisation updates from https://translatewiki.net.
Change-Id: I2d72db2cb2e4955d33bc6b478cda3957a0bf3150
2021-12-01 08:16:54 +01:00
vladshapik 023c5046d3 Avoid using User::getOption
Remove using of User:getOption since this method
will be hard-deprecated. Now it is soft-deprecated.

Bug: T296083
Change-Id: I9f762cf27d7c778c8c391cde1409b510bd3e4e67
2021-11-30 12:54:03 +01:00
Translation updater bot 484ced3bb6 Localisation updates from https://translatewiki.net.
Change-Id: Ida3ae9136ab4dbe0b4efa17fb0a6cf98d81eb120
2021-11-30 08:24:02 +01:00
jenkins-bot f4b3b11053 Merge "Fix history link" 2021-11-29 23:36:42 +00:00
Clare Ming 11b703f616 Fix history link
- Show history link for view pages only.

Bug: T295772
Change-Id: I01b4aa6975543fbfe015ff9cd439f82b5baf3e5b
2021-11-29 13:34:09 -07:00
jdlrobson 76a12a2ad4 Restore logo to footer
In 894364a3eb we moved the section tag for data-logos outside Logo
but did not add it to the footer

Bug: T295773
Change-Id: I52c07e95ac8166e9e9d11aba7cb3130cc6a2f8d7
2021-11-29 10:59:23 -08:00
Translation updater bot 985248d973 Localisation updates from https://translatewiki.net.
Change-Id: I7b1a1ad835eabf9469471ee6a3c3819c62d71267
2021-11-29 08:14:29 +01:00
Translation updater bot 98f2b02514 Localisation updates from https://translatewiki.net.
Change-Id: I787b44c9ea4a4ba374605fab2491f15b3623ec77
2021-11-26 08:25:36 +01:00
Translation updater bot 298cae9b7f Localisation updates from https://translatewiki.net.
Change-Id: I0ab6a021550341c139f17d5f3aed61f0f1aa166f
2021-11-25 09:04:23 +01:00
jenkins-bot 05244d905b Merge "Remove markup icon code" 2021-11-24 20:21:51 +00:00
jenkins-bot 7122261c30 Merge "Update sandbox icon in personal menu" 2021-11-24 19:31:19 +00:00
Translation updater bot 61ba1386ed Localisation updates from https://translatewiki.net.
Change-Id: Ie5e3d74229b565975017d4604c587d6e4e1b9fb2
2021-11-24 08:24:34 +01:00
bwang 083ab9c6c3 Remove markup icon code
Bug: T288928
Depends-on: I553bbcc9f1a98d75e160ede7a66ffcf6510fa28a
Change-Id: Ida0c41d2dab229e882c5e78e5702cc921bbdb928
2021-11-23 17:26:37 +00:00
bwang ceb7961c75 Update sandbox icon in personal menu
Bug: T288928
Change-Id: Ia4ddeefb43ad089832532d68c7c48cd021ecb14e
2021-11-23 11:18:56 -06:00
jenkins-bot a174538d21 Merge "Replace usage of the methods IContextSource::getWikiPage & canUseWikiPage that will be deprecated to WikiPageFactory usage" 2021-11-23 14:04:55 +00:00
Roman Stolar a0e560ffe6 Replace usage of the methods IContextSource::getWikiPage & canUseWikiPage that will be deprecated to WikiPageFactory usage
Bug: T275710
Change-Id: Ia5cff18a6d9417d8e6960f2d20f7b41174f97341
2021-11-22 12:50:11 +02:00
Translation updater bot a47ea65e07 Localisation updates from https://translatewiki.net.
Change-Id: Ie58a602b89d51c413cfcc7850b5b77c017195f7e
2021-11-22 09:05:45 +01:00
tacsipacsi aaf0159174 Don’t add any <h1> to main pages for anons
Main pages usually feature a welcome message on their own, and adding
the standard <h1> is redundant at best. (Or, if there’s no welcome
message, the lack of a page title also indicates that it’s the main
page.) Also, it has ever been the case since dd00aa5a601e that no page
title is visible on the main page (before 9a39d1e492, an empty <h1>
was present, now nothing will be added).

Bug: T296109
Change-Id: I1e79dc385c4dbe8413bcb32a52b8675aabf8eea0
2021-11-20 12:57:57 +01:00
jenkins-bot 88ff252e77 Merge "Fix banners to show CentralNotice" 2021-11-19 18:02:52 +00:00
Clare Ming dddde1c208 Fix banners to show CentralNotice
- Restore init of banner array to include needed selector.

Bug: T296077
Change-Id: Id1cec46eadcd057062c791a30db8ca40b35224b9
2021-11-19 10:17:12 -07:00
jenkins-bot daef42b91e Merge "Remove primary/secondary menu items, instead add a separate log out menu item" 2021-11-19 17:13:10 +00:00
Translation updater bot 79fc729e8c Localisation updates from https://translatewiki.net.
Change-Id: I9eab98c69e8a1b2e29f6bf46cd87874ff9b61773
2021-11-19 08:31:16 +01:00
bwang ef4aa95ae2 Remove primary/secondary menu items, instead add a separate log out menu item
Bug: T293041
Change-Id: I9f73fdba1856dd9e0ea7120df0fb18061337961a
2021-11-18 19:51:33 +00:00
Translation updater bot 7af2df060f Localisation updates from https://translatewiki.net.
Change-Id: I6b66bcc6dcc1d27b820e3d8360a66fe419218c9a
2021-11-18 08:44:01 +01:00
Translation updater bot d6753edfe8 Localisation updates from https://translatewiki.net.
Change-Id: I7e088ff14dc7a299a81390b8a89eaef7f5b88213
2021-11-17 08:32:22 +01:00
Translation updater bot dcfb8f372b Localisation updates from https://translatewiki.net.
Change-Id: Ica5e8e60220689ba2b5fb9521e45271e78133215
2021-11-16 08:17:33 +01:00
Translation updater bot 0a00a9ed4d Localisation updates from https://translatewiki.net.
Change-Id: I14dfa2ed12784aedca1a86f5fff950f5ccae84a3
2021-11-15 08:15:49 +01:00
Umherirrender 993332734a build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I35e6bd738c78db48d98e1a870de4a28654d3d3f4
2021-11-13 18:58:14 +01:00
jenkins-bot 9f38efa3d5 Merge "Remove SkinMinerva class properties" 2021-11-12 23:15:25 +00:00
jenkins-bot 99e72700d2 Merge "Fix external icon specificity" 2021-11-12 23:05:08 +00:00
jdlrobson dd52f75a13 Remove SkinMinerva class properties
Follow up 7530f1c with some refactors
to remove the $pageActionsMenu and
$contentNavigationUrls properties by
calling once in getTemplateData

Bug: T293815
Change-Id: Ia7877abbecf41bbae7627ce7924d0f0871efa479
2021-11-12 22:34:20 +00:00
jenkins-bot eab6cf466c Merge "Remove MinervaTemplate class" 2021-11-12 20:14:47 +00:00
Clare Ming 7530f1c145 Remove MinervaTemplate class
- Update SkinMinerva class to output data previously handled by MinervaTemplate.
- Update relevant templates with updated data keys.

Bug: T293815
Change-Id: I33df396b07c4d2d9c1c5743d90dc54cdbd3345af
2021-11-12 11:39:58 -07:00
bwang e5cb874ea2 Move header styles into header.less
Change-Id: Ia68745a74e988fe10fbb77ccfbc10ee347899d77
2021-11-12 11:56:49 -06:00
jenkins-bot 280b7b28f7 Merge "Fix empty title for logged-out users using Minerva skin" 2021-11-12 16:32:29 +00:00
jenkins-bot 1c3cfa38b8 Merge "Clean up MobileFrontend overlay skin styles" 2021-11-12 16:28:32 +00:00
jenkins-bot 3b53c0e129 Merge "Use the message "portal" as the label for the "portal-url" link" 2021-11-12 16:24:24 +00:00
Translation updater bot d497b0c249 Localisation updates from https://translatewiki.net.
Change-Id: I0aaf02fc7b66b7beda4cd546da156bccf597eb3f
2021-11-11 10:04:40 +01:00
jenkins-bot 955f1a3eee Merge "build: Update eslint-config-wikimedia to 0.21.0" 2021-11-10 15:13:01 +00:00
jenkins-bot 749d26baa8 Merge "build: Update wdio devDependencies" 2021-11-10 15:12:39 +00:00
jenkins-bot 84e7fcd30d Merge "Partial revert "Fix spacing between icon + text in main menu"" 2021-11-09 23:02:19 +00:00
Volker E ff24bbe030 Fix external icon specificity
We've changed the selector in MW core to `.mw-parser-output a.external`
a while ago. In order to show the correct image, selector needs to be
amended.

Change-Id: I83d7b4c8be2eda1876959d000e0fb2d493e12cbc
2021-11-09 12:13:43 -08:00
Ed Sanders 2ec4b950e2 build: Update eslint-config-wikimedia to 0.21.0
Change-Id: I0185de7ec62c54ee733de94622e0c41a65e86731
2021-11-09 14:48:40 +00:00
Ed Sanders ef742a0d6a build: Update wdio devDependencies
Change-Id: I2d51563517f88ffa50ddf76d1716d13024f21381
2021-11-09 14:41:17 +00:00
Translation updater bot 0a9598ec97 Localisation updates from https://translatewiki.net.
Change-Id: I701684d0575e5cd3074c6c691a03fffb5b101540
2021-11-09 07:31:38 +01:00