Commit graph

7 commits

Author SHA1 Message Date
Siebrand Mazeland 69415b8bd6 Replace title case with sentence case
Change-Id: If85678d0cec82dbf5c0b8ab70477510b031695f0
2016-02-16 15:21:46 +01:00
Baha 8e2a6eadf9 Rename the beta feature title to "Related pages"
Consistency! And apparently "read more" may mean "load
more of the article".

Bug: T122031
Change-Id: Iaeff7160595d3b919bd09fa938bd7ae8f36447ef
2016-02-10 15:44:24 -05:00
Sam Smith 1392810c40 Retitle the footer section "Related Pages"
The circle is complete...

Bug: T122030
Change-Id: Iddcaedfcdbfbf4866b4c5ecb3ed13b25c0f248f8
2016-01-22 12:23:08 +00:00
Baha 95ea0b0ef7 Make RelatedArticles available as a beta feature
Hide the related articles from the sidebar if ReadMore is enabled.
Otherwise leave as is because it's used in WikiVoyage.

Bug: T117444
Change-Id: I3879ae1e53de301b0d3f5f2c066f8e8de7c1c223
2015-11-25 20:43:51 +05: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
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