2015-10-02 19:46:48 +00:00
{
"name" : "RelatedArticles" ,
2015-12-14 17:37:29 +00:00
"version" : "2.1.0" ,
2015-10-02 19:46:48 +00:00
"author" : [
"Roland Unger" ,
"Hans Musil" ,
Add Related Articles section to Minerva
If the page has related articles, is in mainspace, isn't the main page,
and the output is being rendered with the MinervaBeta skin then a
"Related Articles" section is added to the page just before the footer.
Separate loading the information necessary to render the pages, choosing
the renderer, and rendering the data so that multiple skins - currently
Minerva and Vector per the mocks - not just multiple resolutions can all
be handled the same way:
* The bootstrap script (ext.relatedArticles.readMore.bootstrap/index.js)
for fetches the page image and Wikidata description; loading the
renderer module; and, finally, notifying the renderer module that it
should render the data, which it does by emitting
"ext.relatedArticles.readMore.init" event using mw#track
* The Minerva renderer subscribes to the event and, when it's fired,
renders the data by passing it to the WatchstarPageList view
Bug: T113635
Change-Id: I651342bdf9796938fa7051828dd13bc6fe774783
2015-10-07 13:12:42 +00:00
"Matthias Mullie" ,
"Sam Smith"
2015-10-02 19:46:48 +00:00
] ,
"url" : "https://www.mediawiki.org/wiki/Extension:RelatedArticles" ,
"descriptionmsg" : "relatedarticles-desc" ,
"license-name" : "GPL-2.0" ,
2016-01-15 13:20:46 +00:00
"type" : "betafeatures" ,
2015-10-02 19:46:48 +00:00
"AutoloadClasses" : {
Add Related Articles section to Minerva
If the page has related articles, is in mainspace, isn't the main page,
and the output is being rendered with the MinervaBeta skin then a
"Related Articles" section is added to the page just before the footer.
Separate loading the information necessary to render the pages, choosing
the renderer, and rendering the data so that multiple skins - currently
Minerva and Vector per the mocks - not just multiple resolutions can all
be handled the same way:
* The bootstrap script (ext.relatedArticles.readMore.bootstrap/index.js)
for fetches the page image and Wikidata description; loading the
renderer module; and, finally, notifying the renderer module that it
should render the data, which it does by emitting
"ext.relatedArticles.readMore.init" event using mw#track
* The Minerva renderer subscribes to the event and, when it's fired,
renders the data by passing it to the WatchstarPageList view
Bug: T113635
Change-Id: I651342bdf9796938fa7051828dd13bc6fe774783
2015-10-07 13:12:42 +00:00
"RelatedArticles\\Hooks" : "includes/Hooks.php" ,
2015-12-02 11:10:04 +00:00
"RelatedArticles\\SidebarHooks" : "includes/SidebarHooks.php" ,
"RelatedArticles\\FooterHooks" : "includes/FooterHooks.php"
2015-10-02 19:46:48 +00:00
} ,
"ExtensionMessagesFiles" : {
"RelatedArticlesMagic" : "RelatedArticles.i18n.magic.php"
} ,
"Hooks" : {
2015-11-03 23:39:48 +00:00
"ResourceLoaderTestModules" : [
2015-12-02 11:10:04 +00:00
"RelatedArticles\\Hooks::onResourceLoaderTestModules"
2015-11-03 23:39:48 +00:00
] ,
2015-12-02 11:10:04 +00:00
2015-10-02 19:46:48 +00:00
"ParserFirstCallInit" : [
"RelatedArticles\\Hooks::onParserFirstCallInit"
] ,
2015-10-08 00:21:13 +00:00
"OutputPageParserOutput" : [
"RelatedArticles\\Hooks::onOutputPageParserOutput"
2015-10-02 19:46:48 +00:00
] ,
2015-12-02 11:10:04 +00:00
2016-07-30 03:34:40 +00:00
"SidebarBeforeOutput" : [
"RelatedArticles\\SidebarHooks::onSidebarBeforeOutput"
Add Related Articles section to Minerva
If the page has related articles, is in mainspace, isn't the main page,
and the output is being rendered with the MinervaBeta skin then a
"Related Articles" section is added to the page just before the footer.
Separate loading the information necessary to render the pages, choosing
the renderer, and rendering the data so that multiple skins - currently
Minerva and Vector per the mocks - not just multiple resolutions can all
be handled the same way:
* The bootstrap script (ext.relatedArticles.readMore.bootstrap/index.js)
for fetches the page image and Wikidata description; loading the
renderer module; and, finally, notifying the renderer module that it
should render the data, which it does by emitting
"ext.relatedArticles.readMore.init" event using mw#track
* The Minerva renderer subscribes to the event and, when it's fired,
renders the data by passing it to the WatchstarPageList view
Bug: T113635
Change-Id: I651342bdf9796938fa7051828dd13bc6fe774783
2015-10-07 13:12:42 +00:00
] ,
2015-12-02 11:10:04 +00:00
2015-11-19 03:49:46 +00:00
"GetBetaFeaturePreferences" : [
2015-12-02 11:10:04 +00:00
"RelatedArticles\\FooterHooks::onGetBetaFeaturePreferences"
2015-11-19 03:49:46 +00:00
] ,
Add Related Articles section to Minerva
If the page has related articles, is in mainspace, isn't the main page,
and the output is being rendered with the MinervaBeta skin then a
"Related Articles" section is added to the page just before the footer.
Separate loading the information necessary to render the pages, choosing
the renderer, and rendering the data so that multiple skins - currently
Minerva and Vector per the mocks - not just multiple resolutions can all
be handled the same way:
* The bootstrap script (ext.relatedArticles.readMore.bootstrap/index.js)
for fetches the page image and Wikidata description; loading the
renderer module; and, finally, notifying the renderer module that it
should render the data, which it does by emitting
"ext.relatedArticles.readMore.init" event using mw#track
* The Minerva renderer subscribes to the event and, when it's fired,
renders the data by passing it to the WatchstarPageList view
Bug: T113635
Change-Id: I651342bdf9796938fa7051828dd13bc6fe774783
2015-10-07 13:12:42 +00:00
"MakeGlobalVariablesScript" : [
2015-12-02 11:10:04 +00:00
"RelatedArticles\\FooterHooks::onMakeGlobalVariablesScript"
Add Related Articles section to Minerva
If the page has related articles, is in mainspace, isn't the main page,
and the output is being rendered with the MinervaBeta skin then a
"Related Articles" section is added to the page just before the footer.
Separate loading the information necessary to render the pages, choosing
the renderer, and rendering the data so that multiple skins - currently
Minerva and Vector per the mocks - not just multiple resolutions can all
be handled the same way:
* The bootstrap script (ext.relatedArticles.readMore.bootstrap/index.js)
for fetches the page image and Wikidata description; loading the
renderer module; and, finally, notifying the renderer module that it
should render the data, which it does by emitting
"ext.relatedArticles.readMore.init" event using mw#track
* The Minerva renderer subscribes to the event and, when it's fired,
renders the data by passing it to the WatchstarPageList view
Bug: T113635
Change-Id: I651342bdf9796938fa7051828dd13bc6fe774783
2015-10-07 13:12:42 +00:00
] ,
"BeforePageDisplay" : [
2015-12-02 11:10:04 +00:00
"RelatedArticles\\FooterHooks::onBeforePageDisplay"
2015-10-29 17:58:30 +00:00
] ,
"EventLoggingRegisterSchemas" : [
2015-12-02 11:10:04 +00:00
"RelatedArticles\\FooterHooks::onEventLoggingRegisterSchemas"
2015-10-29 17:58:30 +00:00
] ,
"ResourceLoaderGetConfigVars" : [
2015-12-02 11:10:04 +00:00
"RelatedArticles\\FooterHooks::onResourceLoaderGetConfigVars"
2015-10-29 17:58:30 +00:00
] ,
"ResourceLoaderRegisterModules" : [
2015-12-02 11:10:04 +00:00
"RelatedArticles\\FooterHooks::onResourceLoaderRegisterModules"
2015-10-02 19:46:48 +00:00
]
} ,
"MessagesDirs" : {
"RelatedArticles" : [
"i18n"
]
} ,
Add Related Articles section to Minerva
If the page has related articles, is in mainspace, isn't the main page,
and the output is being rendered with the MinervaBeta skin then a
"Related Articles" section is added to the page just before the footer.
Separate loading the information necessary to render the pages, choosing
the renderer, and rendering the data so that multiple skins - currently
Minerva and Vector per the mocks - not just multiple resolutions can all
be handled the same way:
* The bootstrap script (ext.relatedArticles.readMore.bootstrap/index.js)
for fetches the page image and Wikidata description; loading the
renderer module; and, finally, notifying the renderer module that it
should render the data, which it does by emitting
"ext.relatedArticles.readMore.init" event using mw#track
* The Minerva renderer subscribes to the event and, when it's fired,
renders the data by passing it to the WatchstarPageList view
Bug: T113635
Change-Id: I651342bdf9796938fa7051828dd13bc6fe774783
2015-10-07 13:12:42 +00:00
"manifest_version" : 1 ,
"ResourceModules" : {
2015-11-16 10:40:03 +00:00
"ext.relatedArticles.readMore.gateway" : {
Add Related Articles section to Minerva
If the page has related articles, is in mainspace, isn't the main page,
and the output is being rendered with the MinervaBeta skin then a
"Related Articles" section is added to the page just before the footer.
Separate loading the information necessary to render the pages, choosing
the renderer, and rendering the data so that multiple skins - currently
Minerva and Vector per the mocks - not just multiple resolutions can all
be handled the same way:
* The bootstrap script (ext.relatedArticles.readMore.bootstrap/index.js)
for fetches the page image and Wikidata description; loading the
renderer module; and, finally, notifying the renderer module that it
should render the data, which it does by emitting
"ext.relatedArticles.readMore.init" event using mw#track
* The Minerva renderer subscribes to the event and, when it's fired,
renders the data by passing it to the WatchstarPageList view
Bug: T113635
Change-Id: I651342bdf9796938fa7051828dd13bc6fe774783
2015-10-07 13:12:42 +00:00
"scripts" : [
2015-11-16 10:40:03 +00:00
"resources/ext.relatedArticles.readMore.gateway/RelatedPagesGateway.js"
Add Related Articles section to Minerva
If the page has related articles, is in mainspace, isn't the main page,
and the output is being rendered with the MinervaBeta skin then a
"Related Articles" section is added to the page just before the footer.
Separate loading the information necessary to render the pages, choosing
the renderer, and rendering the data so that multiple skins - currently
Minerva and Vector per the mocks - not just multiple resolutions can all
be handled the same way:
* The bootstrap script (ext.relatedArticles.readMore.bootstrap/index.js)
for fetches the page image and Wikidata description; loading the
renderer module; and, finally, notifying the renderer module that it
should render the data, which it does by emitting
"ext.relatedArticles.readMore.init" event using mw#track
* The Minerva renderer subscribes to the event and, when it's fired,
renders the data by passing it to the WatchstarPageList view
Bug: T113635
Change-Id: I651342bdf9796938fa7051828dd13bc6fe774783
2015-10-07 13:12:42 +00:00
] ,
"dependencies" : [
2015-11-03 23:39:48 +00:00
"oojs"
Add Related Articles section to Minerva
If the page has related articles, is in mainspace, isn't the main page,
and the output is being rendered with the MinervaBeta skin then a
"Related Articles" section is added to the page just before the footer.
Separate loading the information necessary to render the pages, choosing
the renderer, and rendering the data so that multiple skins - currently
Minerva and Vector per the mocks - not just multiple resolutions can all
be handled the same way:
* The bootstrap script (ext.relatedArticles.readMore.bootstrap/index.js)
for fetches the page image and Wikidata description; loading the
renderer module; and, finally, notifying the renderer module that it
should render the data, which it does by emitting
"ext.relatedArticles.readMore.init" event using mw#track
* The Minerva renderer subscribes to the event and, when it's fired,
renders the data by passing it to the WatchstarPageList view
Bug: T113635
Change-Id: I651342bdf9796938fa7051828dd13bc6fe774783
2015-10-07 13:12:42 +00:00
] ,
"targets" : [
"mobile" ,
"desktop"
]
} ,
"ext.relatedArticles.readMore.bootstrap" : {
"scripts" : [
"resources/ext.relatedArticles.readMore.bootstrap/index.js"
] ,
"dependencies" : [
2015-11-03 23:39:48 +00:00
"mediawiki.api" ,
2015-12-29 02:55:43 +00:00
"mediawiki.Uri" ,
2016-08-30 18:01:48 +00:00
"mediawiki.viewport" ,
2015-12-05 17:44:15 +00:00
"ext.relatedArticles.readMore.gateway" ,
"jquery.throttle-debounce"
Add Related Articles section to Minerva
If the page has related articles, is in mainspace, isn't the main page,
and the output is being rendered with the MinervaBeta skin then a
"Related Articles" section is added to the page just before the footer.
Separate loading the information necessary to render the pages, choosing
the renderer, and rendering the data so that multiple skins - currently
Minerva and Vector per the mocks - not just multiple resolutions can all
be handled the same way:
* The bootstrap script (ext.relatedArticles.readMore.bootstrap/index.js)
for fetches the page image and Wikidata description; loading the
renderer module; and, finally, notifying the renderer module that it
should render the data, which it does by emitting
"ext.relatedArticles.readMore.init" event using mw#track
* The Minerva renderer subscribes to the event and, when it's fired,
renders the data by passing it to the WatchstarPageList view
Bug: T113635
Change-Id: I651342bdf9796938fa7051828dd13bc6fe774783
2015-10-07 13:12:42 +00:00
] ,
"targets" : [
"mobile" ,
"desktop"
]
}
} ,
2015-11-03 23:39:48 +00:00
"config" : {
2015-12-02 11:17:00 +00:00
"RelatedArticlesShowInSidebar" : true ,
"RelatedArticlesShowInFooter" : false ,
2015-10-29 17:58:30 +00:00
"RelatedArticlesUseCirrusSearch" : false ,
2015-11-11 15:30:19 +00:00
"RelatedArticlesOnlyUseCirrusSearch" : false ,
2016-09-16 14:36:05 +00:00
"RelatedArticlesLoggingSamplingRate" : 0.01 ,
"@RelatedArticlesFooterBlacklistedSkins" : "List of skin names (e.g. 'minerva') where related articles won't be shown in the footer. If absent related articles will show in stable on Minerva or beta on all other skins." ,
"RelatedArticlesFooterBlacklistedSkins" : [ ]
2015-11-03 23:39:48 +00:00
} ,
"ConfigRegistry" : {
2015-10-29 17:58:30 +00:00
"RelatedArticles" : "GlobalVarConfig::newInstance"
2015-11-03 23:39:48 +00:00
} ,
Add Related Articles section to Minerva
If the page has related articles, is in mainspace, isn't the main page,
and the output is being rendered with the MinervaBeta skin then a
"Related Articles" section is added to the page just before the footer.
Separate loading the information necessary to render the pages, choosing
the renderer, and rendering the data so that multiple skins - currently
Minerva and Vector per the mocks - not just multiple resolutions can all
be handled the same way:
* The bootstrap script (ext.relatedArticles.readMore.bootstrap/index.js)
for fetches the page image and Wikidata description; loading the
renderer module; and, finally, notifying the renderer module that it
should render the data, which it does by emitting
"ext.relatedArticles.readMore.init" event using mw#track
* The Minerva renderer subscribes to the event and, when it's fired,
renders the data by passing it to the WatchstarPageList view
Bug: T113635
Change-Id: I651342bdf9796938fa7051828dd13bc6fe774783
2015-10-07 13:12:42 +00:00
"ResourceFileModulePaths" : {
"localBasePath" : "" ,
"remoteExtPath" : "RelatedArticles"
}
2015-10-02 19:46:48 +00:00
}