Commit graph

111 commits

Author SHA1 Message Date
Translation updater bot 4e8dae3874 Localisation updates from https://translatewiki.net.
Change-Id: I1a1ca6fbaffbbe852640a82a66c6465bbff9fd52
2015-10-27 21:33:19 +01:00
Sam Smith 7c23636954 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-26 17:13:46 -07:00
Siebrand Mazeland 397146eab8 Update indentation to use tabs
Change-Id: Iaa7970fc03ef2182d8fbd68fb0ed8dabd2615e12
2015-10-13 08:45:44 +02:00
Translation updater bot 43865c8c22 Localisation updates from https://translatewiki.net.
Change-Id: I917d83e3486eba395ddcdac13b7446556dfd5a64
2015-03-23 22:05:14 +01:00
Translation updater bot f62a0835a0 Localisation updates from https://translatewiki.net.
Change-Id: I13fcdd8501b17e773682e6671b429a4dfa26ae14
2015-03-10 22:36:09 +01:00
Translation updater bot b29ebfc4ee Localisation updates from https://translatewiki.net.
Change-Id: I0a1453f210b898e562554f3bce3996b9d19ed641
2015-02-26 21:37:55 +01:00
Translation updater bot 63d2f0f1c4 Localisation updates from https://translatewiki.net.
Change-Id: I771a931a0cecaaa075b901b91fbcc6022969bf52
2014-12-20 22:27:01 +01:00
Translation updater bot 0f9e51b909 Localisation updates from https://translatewiki.net.
Change-Id: Id0a46b8b8d04850e32c2d45654b6e214f2164208
2014-07-23 22:52:08 +02:00
Translation updater bot a7823d5665 Localisation updates from https://translatewiki.net.
Change-Id: I6a9758e5b60cdd878e0b4ccc8a6d8f125a4984de
2014-04-16 18:14:09 +00:00
Translation updater bot ee2a5d9c66 Localisation updates from https://translatewiki.net.
Change-Id: Ib333a1fac7351cf0f07bfeb63362bdfeb153b0fb
2014-04-09 19:40:00 +00:00
Siebrand Mazeland 09f973f56a Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I4a71a12bebd4546e26d76f09e121ff38950074c6
2014-03-28 21:44:00 +01:00