mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-12-02 20:06:32 +00:00
9126c7d0ef
Wikivoyage pages have more than 3 related articles as they make use of the {{#related:}} magic word. After speaking with Nirzar we should allow this project to show more than 3. This change allows this while keeping the existing behaviour on other wikis and will pave the way for removing a bunch of code from this extension. Additional changes: * Cleanup skinStyles definitions * Limit cards to 30% maximum width and give margin top to account for situations where the number of cards are multiple of 3 ** In Minerva hardcode the max-width to pixels. * Margins are switched from hardcoded 10px to percentage based. Yes this changes the right margin slightly but is more maintable and visually the same. Bug: T164765 Change-Id: I41119de3228c2df799f740d4bd00082101c21b97 |
||
---|---|---|
.. | ||
ext.relatedArticles.cards | ||
ext.relatedArticles.readMore.gateway |