Raimond Spekking has uploaded a new change for review.
https://gerrit.wikimedia.org/r/108026
Change subject: Add i18n file
......................................................................
Add i18n file
Change-Id: I2a66c998efe87e2457a8e04e7096b02564fee9ec
---
A YetAnotherKeywords.i18n.php
M YetAnotherKeywords.php
2 files changed, 30 insertions(+), 2 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/YetAnotherKeywords
refs/changes/26/108026/1
diff --git a/YetAnotherKeywords.i18n.php b/YetAnotherKeywords.i18n.php
new file mode 100644
index 0000000..b97ca7f
--- /dev/null
+++ b/YetAnotherKeywords.i18n.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * Internationalisation file for YetAnotherKeywords extension.
+ *
+ * @file
+ * @ingroup Extensions
+ */
+ */
+
+$messages = array();
+
+/** English
+ * @author Jehy
+ */
+$messages['en'] = array(
+ 'yetanotherkeywords-desc' => 'Adds <metakeywords> tag to inject
meta keywords into page header',
+);
+
+/** Message documentation
+ * @author Raimond Spekking
+ */
+$messages['qqq'] = array(
+ 'yetanotherkeywords-desc' =>
'{{desc|name=YetAnotherKeywords|url=https://www.mediawiki.org/wiki/Extension:YetAnotherKeywords}}',
+);
+
diff --git a/YetAnotherKeywords.php b/YetAnotherKeywords.php
index fafd0e0..0a32840 100644
--- a/YetAnotherKeywords.php
+++ b/YetAnotherKeywords.php
@@ -53,13 +53,16 @@
# Credits
$wgExtensionCredits['parserhook'][] = array(
+ 'path' => __FILE__,
'name' => 'YetAnotherKeywords',
'author' => 'Jehy http://jehy.ru/index.en.html',
- 'url' => 'http://jehy.ru/wiki-extensions.en.html',
- 'description' => 'Adds <metakeywords> tag to inject meta keywords
into page header.',
+ 'url' => 'https://www.mediawiki.org/wiki/Extension:YetAnotherKeywords',
+ 'descriptionmsg' => 'yetanotherkeywords-desc',
'version'=> '0.2'
);
+$wgExtensionMessagesFiles['YetAnotherKeywords'] = __DIR__ .
'/YetAnotherKeywords.i18n.php';
+
$wgExtensionFunctions[] = 'setupYetAnotherKeywordsParserHooks';
/**
--
To view, visit https://gerrit.wikimedia.org/r/108026
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2a66c998efe87e2457a8e04e7096b02564fee9ec
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/YetAnotherKeywords
Gerrit-Branch: master
Gerrit-Owner: Raimond Spekking <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits