Background information
The design of the mobile-html footer was updated in T226094 to unify the look across both platforms
What
- Update the page footer to match the new design in T226094.
- Save buttons were removed so any functionality related to the save buttons and article saved state can be removed.
- Allow clients to pass in page fragments for the sections that will be added so they can add the corresponding sections to the table of contents. The interface would change from:
pagelib.c1.Footer.add({ ... menuItems: [pagelib.c1.Footer.MenuItemType.languages, pagelib.c1.Footer.MenuItemType.lastEdited, pagelib.c1.Footer.MenuItemType.pageIssues, pagelib.c1.Footer.MenuItemType.disambiguation, pagelib.c1.Footer.MenuItemType.talkPage, pagelib.c1.Footer.MenuItemType.referenceList], ... readMore: { itemCount: 3, baseURL: 'https://en.wikipedia.org/api/rest_v1' } })
to
pagelib.c1.Footer.add({ ... menu: { items: [pagelib.c1.Footer.MenuItemType.languages, pagelib.c1.Footer.MenuItemType.lastEdited, pagelib.c1.Footer.MenuItemType.pageIssues, pagelib.c1.Footer.MenuItemType.disambiguation, pagelib.c1.Footer.MenuItemType.talkPage, pagelib.c1.Footer.MenuItemType.referenceList], fragment: 'about_this_article' }, ... readMore: { fragment: 'read_more', itemCount: 3, baseURL: 'https://en.wikipedia.org/api/rest_v1' } })