Raimond Spekking has uploaded a new change for review.
https://gerrit.wikimedia.org/r/55512
Change subject: Consistency tweaks in preparation for adding extension to
translatewiki.net
......................................................................
Consistency tweaks in preparation for adding extension to translatewiki.net
* Set extension credit type 'other'
* Remove 'description'. Not needed when 'descriptionmsg' is set
* Use array for more than 1 author for proper i18n
* Fix URL
* mediawiki -> MediaWiki
* Use template for qqq
Change-Id: I052eb01f024842d7a0de68c6e3d6421f4da8641a
---
M includes/api/OmegaWiki.i18n.php
M includes/api/OmegaWikiExt.php
2 files changed, 5 insertions(+), 8 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikiLexicalData
refs/changes/12/55512/1
diff --git a/includes/api/OmegaWiki.i18n.php b/includes/api/OmegaWiki.i18n.php
index 6dad769..c1226c8 100644
--- a/includes/api/OmegaWiki.i18n.php
+++ b/includes/api/OmegaWiki.i18n.php
@@ -4,11 +4,11 @@
/** English
*/
$messages['en'] = array(
- 'apiow-desc' => "OmegaWiki's WikiLexicalData extension of the mediawiki
api.php",
+ 'apiow-desc' => "OmegaWiki's WikiLexicalData extension of the MediaWiki
api.php",
);
/** Message documentation (Message documentation)
*/
$messages['qqq'] = array(
- 'apiow-desc' => "The message that appears in Special:Version when the
omegawiki API is installed",
+ 'apiow-desc' => '{{desc}}',
);
diff --git a/includes/api/OmegaWikiExt.php b/includes/api/OmegaWikiExt.php
index a7d93d0..f276442 100644
--- a/includes/api/OmegaWikiExt.php
+++ b/includes/api/OmegaWikiExt.php
@@ -1,7 +1,7 @@
<?php
// Take credit for your work.
-$wgExtensionCredits[][] = array(
+$wgExtensionCredits['other'][] = array(
// The full path and filename of the file. This allows MediaWiki
// to display the Subversion revision number on Special:Version.
@@ -9,9 +9,6 @@
// The name of the extension, which will appear on Special:Version.
'name' => 'OmegaWiki',
-
- // A description of the extension, which will appear on Special:Version.
- 'description' => 'An Omegawiki API extension',
// Alternatively, you can specify a message key for the description.
'descriptionmsg' => 'apiow-desc',
@@ -21,11 +18,11 @@
'version' => '1.0',
// Your name, which will appear on Special:Version.
- 'author' => 'Hiong3-eng5 and Kip',
+ 'author' => array( 'Hiong3-eng5', 'Kip' ),
// The URL to a wiki page/web page with information about the extension,
// which will appear on Special:Version.
- 'url' => 'https://www.omegawiki.org/index.php/omegawiki api',
+ 'url' => 'https://www.omegawiki.org/omegawiki_api',
);
--
To view, visit https://gerrit.wikimedia.org/r/55512
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I052eb01f024842d7a0de68c6e3d6421f4da8641a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikiLexicalData
Gerrit-Branch: master
Gerrit-Owner: Raimond Spekking <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits