Cicalese has uploaded a new change for review.
https://gerrit.wikimedia.org/r/90383
Change subject: Fixed internationalization issues.
......................................................................
Fixed internationalization issues.
Change-Id: Ie717098cc0c53d4dbcdd4764747c266aa5afa304
---
M TitleIcon.i18n.php
M TitleIcon.php
2 files changed, 13 insertions(+), 7 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TitleIcon
refs/changes/83/90383/1
diff --git a/TitleIcon.i18n.php b/TitleIcon.i18n.php
index 68a24a1..ce43992 100644
--- a/TitleIcon.i18n.php
+++ b/TitleIcon.i18n.php
@@ -2,17 +2,17 @@
/*
* Copyright (c) 2013 The MITRE Corporation
- *
+ *
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
- *
+ *
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
- *
+ *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -22,6 +22,12 @@
* DEALINGS IN THE SOFTWARE.
*/
+$messages = array();
+
$messages['en'] = array(
'titleicon-desc' => 'Displays icon in title on pages and in search
results'
);
+
+$messages['qqq'] = array(
+ 'titleicon-desc' => '{{desc|name=Title
Icon|url=http://www.mediawiki.org/wiki/Extension:TitleIcon}}'
+);
diff --git a/TitleIcon.php b/TitleIcon.php
index be15ad4..f0cb0cf 100644
--- a/TitleIcon.php
+++ b/TitleIcon.php
@@ -2,17 +2,17 @@
/*
* Copyright (c) 2013 The MITRE Corporation
- *
+ *
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
- *
+ *
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
- *
+ *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -46,7 +46,7 @@
$TitleIcon_HideTitleIconPropertyName = "Hide Title Icon";
$TitleIcon_UseDisplayTitle = false;
$TitleIcon_DisplayTitlePropertyName = "Display Title";
-
+
function efTitleIconSetup (& $parser) {
global $TitleIcon_EnableIconInPageTitle,
$TitleIcon_EnableIconInSearchTitle,
$wgHooks;
--
To view, visit https://gerrit.wikimedia.org/r/90383
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie717098cc0c53d4dbcdd4764747c266aa5afa304
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TitleIcon
Gerrit-Branch: master
Gerrit-Owner: Cicalese <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits