Background
@Ladsgroup + @JScherer-WMF were able to update Vector to include new banner footers, a follow-up task from this work would be to ensure that the footer in Minerva is also updated to include footer banners.
User story
As a reader visiting the mobile site, it should be clear from the footer that I am on a Wikimedia site powered by MediaWiki.
Requirements
- Two icons show in the footer on mobile
- The icons are different depending on the screen resolution
BDD
Feature: Update Minerva to include footer banners
Scenario: Footer displays two icons on mobile
Given a user visits the mobile site using Minerva
When they scroll to the footer
Then two icons should be displayed
Scenario: Footer icons adapt based on screen resolution
Given a user visits the mobile site using Minerva
When they resize their screen
Then the footer icons should change accordinglyTest Steps
Test Case 1: Verify two icons display in the footer on mobile
- Visit a Minerva-skinned page on a mobile device or in mobile view.
- Scroll to the footer.
- AC1: Confirm that two icons are displayed in the footer.
Test Case 2: Verify footer icons change based on screen resolution
- Visit a Minerva-skinned page.
- Scroll to the footer.
- Resize the browser window or use device emulation in developer tools to simulate different screen sizes.
- AC2: Confirm that the icons in the footer change based on the screen resolution.
QA Results - Beta
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T373208#10603903 |
| 2 | ✅ | T373208#10603903 |
QA Results - Prod
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T373208#10650362 |
| 2 | ✅ | T373208#10650362 |
Design
| Current implementation on Vector | Current state on Minerva |
|---|---|
Designs:
The same icons as on Vector, but scaled down slightly to make sense for mobile.
Alt:
Acceptance criteria
- SkinComponentFooter::getFooterIconsData is updated to generate a picture element which supports different images at different resolutions
- Minerva is updated to read from the data-icons field and render t
( https://en.m.wikipedia.org/wiki/Main_Page?useskin=json )
- When resizing Vector to the tablet breakpoint, the images should adjust to a more compact display (using picture element for example and use https://en.wikipedia.org/static/images/mobile/wikimedia.png icon)
Enable the icons using the following code:
$wgFooterIcons['copyright']['copyright'] = [
'url' => 'https://wikimediafoundation.org/',
'src' => 'https://en.wikipedia.org/static/images/footer/wikimedia-button.svg',
'src-mobile' => 'https://en.wikipedia.org/static/images/mobile/wikimedia.png',
'width' => 84,
'height' => 29,
'alt' => 'Wikimedia Foundation',
];Communication criteria - does this need an announcement or discussion?
- Add communication criteria
Rollback plan
- What is the rollback plan in production for this task if something goes wrong?
This task was created by Version 1.2.0 of the Web team task template using phabulous

















