mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-09-24 19:00:15 +00:00
Some consistency tweaks:
* ExtensionCredits ** Add path ** Use an array for multiple authors * i18n file ** Standardize prefix ra -> relatedarticles ** Article -> Page for consistenxy ** Standardize description message ** Add message documentation Change-Id: I1b50f879f468cff2847751be32eacc51d524fd08
This commit is contained in:
parent
bb5e4ff182
commit
58b117812a
|
@ -9,21 +9,29 @@
|
|||
$messages = array();
|
||||
|
||||
$messages['en'] = array(
|
||||
'ra-RelatedArticles' => 'Related articles',
|
||||
'ra-desc' => 'Extension for presentation of related articles on the sidebar',
|
||||
'relatedarticles-sidebartext' => 'Related pages',
|
||||
'relatedarticles-desc' => 'Adds a link to related pages on the sidebar',
|
||||
);
|
||||
|
||||
/** Message documentation (Message documentation)
|
||||
* @author Raimond Spekking
|
||||
*/
|
||||
$messages['qqq'] = array(
|
||||
'relatedarticles-sidebartext' => 'Shown on the sidebar',
|
||||
'relatedarticles-desc' => '{{desc}}',
|
||||
);
|
||||
|
||||
$messages['de'] = array(
|
||||
'ra-RelatedArticles' => 'Verwandte Artikel',
|
||||
'ra-desc' => 'Erweiterung für die Ausgabe von verwandten Artikeln auf der Sidebar',
|
||||
'relatedarticles-sidebartext' => 'Verwandte Seiten',
|
||||
'relatedarticles-desc' => 'Erweiterung für die Ausgabe von verwandten Seiten auf der Sidebar',
|
||||
);
|
||||
|
||||
$messages['fr'] = array(
|
||||
'ra-RelatedArticles' => 'Articoli collegati',
|
||||
'relatedarticles-sidebartext' => 'Articoli collegati',
|
||||
);
|
||||
|
||||
$messages['it'] = array(
|
||||
'ra-RelatedArticles' => 'Autres articles',
|
||||
'relatedarticles-sidebartext' => 'Autres articles',
|
||||
);
|
||||
|
||||
|
||||
|
|
|
@ -11,9 +11,10 @@ $wgExtensionMessagesFiles['RelatedArticles'] = $dir . 'RelatedArticles.i18n.php'
|
|||
|
||||
$wgExtensionFunctions[] = 'wfSetupRelatedArticles';
|
||||
$wgExtensionCredits['parserhook']['RelatedArticles'] = array(
|
||||
'path' => __FILE__,
|
||||
'name' => 'RelatedArticles',
|
||||
'url' => 'http://wikivoyage.org/tech/RelatedArticles-Extension',
|
||||
'author' => 'Roland Unger/Hans Musil',
|
||||
'author' => array( 'Roland Unger', 'Hans Musil' ),
|
||||
'descriptionmsg' => 'ra-desc'
|
||||
);
|
||||
|
||||
|
@ -128,7 +129,7 @@ class RelatedArticles {
|
|||
</div>
|
||||
</div>
|
||||
<div id="p-lang" class="portal">
|
||||
<h5><?php $skTemplate->msg( 'ra-RelatedArticles' ) ?></h5>
|
||||
<h5><?php $skTemplate->msg( 'relatedarticles-sidebartext' ) ?></h5>
|
||||
<div class="body">
|
||||
<ul>
|
||||
<?php
|
||||
|
|
Loading…
Reference in a new issue