mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 22:25:27 +00:00
4522a8e10a
Instead of having one large `createBanner` function, breaks down that responsibility into three smaller functions: - createPageIssueBanner - createPageIssueBannerMultiple - createPageIssueNotice These functions represent issues in the new treatment, the multiple-issues template, and the old treatment. createBanner now delegates the creation of these banner types to these new functions. A new property to PageSummary, $el, has also been added. This allows us to manipulate the issues DOM via the PageSummary object, instead of using the `$metadata` variable in createBanner. This approach to the page-issues DOM also solves the problem of wrong or missing icons in T202349. Bug: T211257, T202349 Change-Id: I50a2d8e3ae94913dc060ceedaaf1fa7e1756617f |
||
---|---|---|
.. | ||
AB.js | ||
DownloadIcon.js | ||
errorLogging.js | ||
init.js | ||
initLogging.js | ||
mobileRedirect.js | ||
pageIssues.js | ||
PageIssuesOverlay.js | ||
PageIssuesOverlay.less | ||
PageIssuesOverlayContent.hogan | ||
pageIssuesParser.js | ||
preInit.js | ||
references.js | ||
search.js | ||
styles.less |