SpecialStatistics: Implement statistics-articles-desc message
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 24 Jul 2015 21:11:09 +0000 (14:11 -0700)
committerKrinkle <krinklemail@gmail.com>
Sat, 25 Jul 2015 21:05:49 +0000 (21:05 +0000)
commitb628c3620885e948455f24be4f1ee82dcc1fd4ec
tree62a8610c518e0165ed9795e02ad2174be2a98e27
parent9c0a43600e9eff4a1a8e24ef0604ab6c0d69c0e8
SpecialStatistics: Implement statistics-articles-desc message

Similar to the statistics-pages-desc message that exists already.
This way mediawiki.org can stop using the hack currently employed
in the local override for the 'statistics-articles' message which
adds a line break inside the link label to emulate a caption. This
doesn't work well because it breaks after the first link.

Also:
* Change from exists() to !isDisabled() so that it can be optional.
* Fix wrong use of Xml::element and use Html::rawElement instead.
  The message in question is already escaped. This was causing
  escaped parser html to render as text on the page when the desc
  message contains e.g. a wiki link.

Change-Id: I547d1da16c8bdbabddad35525a5c9fa34b8318d4
includes/specials/SpecialStatistics.php
languages/i18n/en.json
languages/i18n/qqq.json