mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-11-13 18:26:56 +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 = array();
|
||||||
|
|
||||||
$messages['en'] = array(
|
$messages['en'] = array(
|
||||||
'ra-RelatedArticles' => 'Related articles',
|
'relatedarticles-sidebartext' => 'Related pages',
|
||||||
'ra-desc' => 'Extension for presentation of related articles on the sidebar',
|
'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(
|
$messages['de'] = array(
|
||||||
'ra-RelatedArticles' => 'Verwandte Artikel',
|
'relatedarticles-sidebartext' => 'Verwandte Seiten',
|
||||||
'ra-desc' => 'Erweiterung für die Ausgabe von verwandten Artikeln auf der Sidebar',
|
'relatedarticles-desc' => 'Erweiterung für die Ausgabe von verwandten Seiten auf der Sidebar',
|
||||||
);
|
);
|
||||||
|
|
||||||
$messages['fr'] = array(
|
$messages['fr'] = array(
|
||||||
'ra-RelatedArticles' => 'Articoli collegati',
|
'relatedarticles-sidebartext' => 'Articoli collegati',
|
||||||
);
|
);
|
||||||
|
|
||||||
$messages['it'] = array(
|
$messages['it'] = array(
|
||||||
'ra-RelatedArticles' => 'Autres articles',
|
'relatedarticles-sidebartext' => 'Autres articles',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,9 +11,10 @@ $wgExtensionMessagesFiles['RelatedArticles'] = $dir . 'RelatedArticles.i18n.php'
|
||||||
|
|
||||||
$wgExtensionFunctions[] = 'wfSetupRelatedArticles';
|
$wgExtensionFunctions[] = 'wfSetupRelatedArticles';
|
||||||
$wgExtensionCredits['parserhook']['RelatedArticles'] = array(
|
$wgExtensionCredits['parserhook']['RelatedArticles'] = array(
|
||||||
|
'path' => __FILE__,
|
||||||
'name' => 'RelatedArticles',
|
'name' => 'RelatedArticles',
|
||||||
'url' => 'http://wikivoyage.org/tech/RelatedArticles-Extension',
|
'url' => 'http://wikivoyage.org/tech/RelatedArticles-Extension',
|
||||||
'author' => 'Roland Unger/Hans Musil',
|
'author' => array( 'Roland Unger', 'Hans Musil' ),
|
||||||
'descriptionmsg' => 'ra-desc'
|
'descriptionmsg' => 'ra-desc'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -128,7 +129,7 @@ class RelatedArticles {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="p-lang" class="portal">
|
<div id="p-lang" class="portal">
|
||||||
<h5><?php $skTemplate->msg( 'ra-RelatedArticles' ) ?></h5>
|
<h5><?php $skTemplate->msg( 'relatedarticles-sidebartext' ) ?></h5>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in a new issue