Go to file
Isarra b31970084f Use SkinAfterContent hook to place cards in the DOM
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
2019-07-26 19:28:49 +00:00
.phan build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0 2019-05-19 12:51:24 +00:00
i18n Localisation updates from https://translatewiki.net. 2019-07-03 22:45:56 +02:00
includes Use SkinAfterContent hook to place cards in the DOM 2019-07-26 19:28:49 +00:00
resources Use SkinAfterContent hook to place cards in the DOM 2019-07-26 19:28:49 +00:00
tests Hygiene: Followup from 191fc2a 2019-05-01 22:28:47 +02:00
.eslintrc.json Remove 'wgRelatedArticles*CirrusSearch' from page view HTML 2019-05-25 22:04:51 +00:00
.gitignore build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0 2019-04-03 16:21:00 -07:00
.gitreview Whoops, track not trace 2016-10-24 17:03:27 -07:00
.phpcs.xml Rename file ResourceLoaderMuhoganModule.php to match class 2017-12-09 23:15:30 +01:00
.stylelintrc.json build: Update 'stylelint-config-wikimedia' to v0.5.0 and make pass 2019-01-16 19:26:36 -08:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.3.0 2018-08-19 15:55:19 +00:00
composer.json build: Updating dependencies 2019-07-19 11:57:33 -07:00
extension.json Use SkinAfterContent hook to place cards in the DOM 2019-07-26 19:28:49 +00:00
Gruntfile.js build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0 2019-04-03 16:21:00 -07:00
HISTORY Release 2.1.0 2015-12-14 09:40:11 -08:00
package-lock.json build: Updating dependencies 2019-07-19 11:57:33 -07:00
package.json build: Updating dependencies 2019-07-19 11:57:33 -07:00
README Add simple README 2015-11-23 23:10:02 +05:00
RelatedArticles.i18n.magic.php build: Updating mediawiki/mediawiki-codesniffer to 0.7.1 2016-05-09 16:59:15 -07:00
RelatedArticles.php Use extension registration 2015-10-07 15:54:07 +01:00

For information on how to install and use this extension, please see:
    <https://www.mediawiki.org/wiki/Extension:RelatedArticles>