import { htmlUserLanguageAttributes } from './utils'; import footerTemplate from '!!raw-loader!../includes/templates/Footer.mustache'; import footerRowTemplate from '!!raw-loader!../includes/templates/Footer__row.mustache'; export const FOOTER_TEMPLATE_PARTIALS = { // eslint-disable-next-line camelcase Footer__row: footerRowTemplate }; const FOOTER_INFO = { id: 'footer-info', 'array-items': [ { id: 'footer-info-lastmod', html: 'This page was last modified on 10 January 2020, at 21:24.' }, { id: 'footer-info-copyright', html: `This text is available under the Creative Commons Attribution-ShareAlike Licence; additional terms may apply. See Terms of Use for details.` } ] }, FOOTER_PLACES = { id: 'footer-places', 'array-items': [ { id: 'footer-places-privacy', html: `Privacy policy` }, { id: 'footer-places-about', html: `About Wikipedia` }, { id: 'footer-places-disclaimer', html: `Disclaimers` }, { id: 'footer-places-contact', html: `Contact Wikipedia` }, { id: 'footer-places-developers', html: `Developers` }, { id: 'footer-places-statslink', html: `Statistics` }, { id: 'footer-places-cookiestatement', html: `Cookie statement` }, { id: 'footer-places-mobileview', html: `Mobile view` } ] }, FOOTER_ICONS = { id: 'footer-icons', 'array-items': [ { id: 'footer-copyrightico', html: `Wikimedia Foundation` }, { id: 'footer-poweredbyico', html: `Powered by MediaWiki` } ] }; export { footerTemplate }; export const FOOTER_TEMPLATE_DATA = { 'html-user-language-attributes': htmlUserLanguageAttributes, 'data-info': FOOTER_INFO, 'data-places': FOOTER_PLACES, 'data-icons': FOOTER_ICONS };