mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-12-24 05:43:43 +00:00
b31970084f
This allows skins to determine where the cards appear in a consistent fashion with other extensions, and require minimal special handling from the extension itself. Also change default settings as to when RelatedArticle cards will appear - keep the whitelist to allow projects to configure their usage such as in the case of only wanting it on mobile, etc, but now that it should just work in any given skin, default it to on for all so that it's easier for the average third party to install for whatever use. Note that this default setting change will not affect WMF wikis, as wmgRelatedArticlesFooterWhitelistedSkins is explicitly set in the wmf-config regardless. Bug: T181242 Depends-On: I5b0ad889e633fde88c392577ce5373c81fc5486a Change-Id: Iebd759c0d1a536768d18953f372664df762d9e04
13 lines
193 B
Plaintext
13 lines
193 B
Plaintext
.ra-read-more {
|
|
padding: 1em 0 0;
|
|
|
|
// Hide RelatedArticles when VE is activated, see T120443
|
|
.ve-activated & {
|
|
display: none;
|
|
}
|
|
|
|
.ext-related-articles-card-list {
|
|
margin-left: 0;
|
|
}
|
|
}
|