Raimond Spekking has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/88719


Change subject: Consistency tweaks in preparation for adding extension to 
translatewiki.net
......................................................................

Consistency tweaks in preparation for adding extension to translatewiki.net

* Add extension credits array
* Add extension description message

Change-Id: I4ea880fc321b497d191b79f1968a1607699dbbdd
---
M VectorBeta.i18n.php
M VectorBeta.php
2 files changed, 11 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VectorBeta 
refs/changes/19/88719/1

diff --git a/VectorBeta.i18n.php b/VectorBeta.i18n.php
index 4fb7269..9214c7b 100644
--- a/VectorBeta.i18n.php
+++ b/VectorBeta.i18n.php
@@ -25,6 +25,7 @@
  * English
  */
 $messages['en'] = array(
+       'vectorbeta-desc' => 'Adds access to turning on beta styles of the 
Vector skin within the BetaFeatures preferences',
        'vector-beta-feature-typography-message' => 'Vector typography refresh',
        'vector-beta-feature-typography-description' => 'Updates typography of 
the Vector skin to improve readability, accessibility and consistency.',
 );
@@ -33,6 +34,7 @@
  * Message documentation (Message documentation)
  */
 $messages['qqq'] = array(
+       'vectorbeta-desc' => '{{desc|name=Vector 
Beta|url=https://www.mediawiki.org/wiki/Extension:VectorBeta}}',
        'vector-beta-feature-typography-message' => 'Name shown in user 
preferences for Vector typography beta feature experiment.',
        'vector-beta-feature-typography-description' => 'Brief explanation of 
Vector typography beta feature experiment.',
 );
diff --git a/VectorBeta.php b/VectorBeta.php
index 0cafef5..ddbc1e9 100644
--- a/VectorBeta.php
+++ b/VectorBeta.php
@@ -19,6 +19,15 @@
  * @ingroup extensions
  */
 
+$wgExtensionCredits['other'][] = array(
+       'author' => srray( 'Trevor Parscal' ),
+       'descriptionmsg' => 'vectorbeta-desc',
+       'name' => 'VectorBeta',
+       'path' => __FILE__,
+       'url' => 'https://www.mediawiki.org/wiki/Extension:VectorBeta',
+       // 'version' => '',
+);
+
 $wgAutoloadClasses['VectorBetaHooks'] = __DIR__ . '/VectorBeta.hooks.php';
 
 $wgExtensionMessagesFiles['VectorBeta'] = __DIR__ . '/VectorBeta.i18n.php';

-- 
To view, visit https://gerrit.wikimedia.org/r/88719
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4ea880fc321b497d191b79f1968a1607699dbbdd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VectorBeta
Gerrit-Branch: master
Gerrit-Owner: Raimond Spekking <raimond.spekk...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to