mediawiki-skins-MinervaNeue/resources
Steph Toyofuku 2b41416c0d Allow addPortletLink to target tabs/associated pages
Currently `mw.util.addPortletLink` cannot properly add a portlet link to
the associated pages tabs, as there is no `p-associated-pages` id on
mobile.  This change pulls the id from the page data, and adds the
necessary class for the tab to be styled correctly - since tabs do not
have corresponding icons while most portlet links do, we also branch on
this class (effectively on whether we are in the tab container) to
ensure an icon is not inserted

Finally, I added a few comments and spacing in the sections of code that
I touched to make them more readable and resolve some of the linter
warnings, but happy to hear if these are not helpful!

Bug: T340728
Change-Id: I33fc12611a6238552a3eb47f6ca37f087903a92a
2023-12-21 16:37:28 -08:00
..
mediawiki.less Import Codex tokens into mediawiki.skin.variables.less 2023-03-17 20:21:33 +00:00
skins.minerva.amc.styles Rework tabs to use unordered list 2023-12-19 15:28:11 -08:00
skins.minerva.base.styles Merge "Fix alignment for nearby and settings items in menu, and correctly hide when JS is disabled" 2023-12-14 22:34:13 +00:00
skins.minerva.content.styles.images icons: Remove unnecessary code from SVG files 2023-04-01 12:07:12 +00:00
skins.minerva.loggedin.styles Remove unused user-button styles 2023-11-16 10:42:26 +00:00
skins.minerva.mainMenu.styles Fix alignment for nearby and settings items in menu, and correctly hide when JS is disabled 2023-12-14 21:58:39 +00:00
skins.minerva.mainPage.styles FIXME cleanup 2022-04-06 20:17:22 +00:00
skins.minerva.scripts Allow addPortletLink to target tabs/associated pages 2023-12-21 16:37:28 -08:00
skins.minerva.userpage.styles build: Updating npm dependencies 2023-03-31 21:50:36 +02:00
.eslintrc.json eslint: Enable no-use-before-define 2023-11-17 16:06:59 +00:00
mobile.startup.stub.js Make MobileFrontend dependency a soft one 2020-01-17 14:02:23 -08:00