mediawiki-skins-MinervaNeue/resources/skins.minerva.scripts
Jan Drewniak 4522a8e10a Refactor pageIssues.js into smaller functions
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
2018-12-14 02:03:58 +01:00
..
AB.js Hygiene: fix line length violators 2018-09-13 09:33:20 -06:00
DownloadIcon.js Fix invalid HTML produced by DownloadIcon 2018-11-06 12:42:58 -08:00
errorLogging.js Errors can be counted in statsv 2018-10-08 15:05:56 -07:00
init.js Remove usage of global event emitter from Minerva 2018-12-06 19:30:09 -07:00
initLogging.js Remove obsolete aliases from closures 2018-11-16 15:16:25 +00:00
mobileRedirect.js Remove obsolete aliases from closures 2018-11-16 15:16:25 +00:00
pageIssues.js Refactor pageIssues.js into smaller functions 2018-12-14 02:03:58 +01:00
PageIssuesOverlay.js isBorderBox and className properties are deprecated 2018-11-22 19:11:53 +00:00
PageIssuesOverlay.less build: Update 'stylelint-config-wikimedia' to v0.5.0 and make pass 2018-12-12 23:26:48 +00:00
PageIssuesOverlayContent.hogan Merge PageIssue and IssueSummary type defs 2018-10-23 12:10:22 -07:00
pageIssuesParser.js Refactor pageIssues.js into smaller functions 2018-12-14 02:03:58 +01:00
preInit.js Hygiene: update JSDoc boxed and JQuery types 2018-07-03 11:10:12 -05:00
references.js Merge "Remove obsolete aliases from closures" 2018-11-16 19:38:38 +00:00
search.js Remove obsolete aliases from closures 2018-11-16 15:16:25 +00:00
styles.less build: Update 'stylelint-config-wikimedia' to v0.5.0 and make pass 2018-12-12 23:26:48 +00:00