mediawiki-extensions-Relate.../resources
Timo Tijhof 8becbc2b23 Omit 'wgRelatedArticles' from page view HTML when empty
* The extension already uses 'null' as placeholder in RelatedArticles
  instead of empty array. Update the doc comment in RelatedPagesGateway
  to reflect this (its code was already using the default operator
  to fallback to empty array, given empty arrays are not falsey in JS,
  but null is).

* Omit the key from the mw.config output in <head> on page views,
  when the value is null, given this is redundant information and consumes
  additional space.

Bug: T219342
Change-Id: I367f9d9423d66611d73d56f8a769d86d14d3de8b
2019-05-26 13:49:16 +01:00
..
ext.relatedArticles.cards Hygiene: Followup from 191fc2a 2019-05-01 22:28:47 +02:00
ext.relatedArticles.lib/CSS.escape Migrate Cards code to RelatedArticles 2017-06-07 08:35:53 -07:00
ext.relatedArticles.readMore build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0 2019-04-03 16:21:00 -07:00
ext.relatedArticles.readMore.bootstrap Remove 'wgRelatedArticles*CirrusSearch' from page view HTML 2019-05-25 22:04:51 +00:00
ext.relatedArticles.readMore.gateway Omit 'wgRelatedArticles' from page view HTML when empty 2019-05-26 13:49:16 +01:00