From c0ac4549ad71f9dbb06b252ea080215cddd51b19 Mon Sep 17 00:00:00 2001 From: Tom Hutchison Date: Wed, 4 Nov 2015 14:24:05 -0500 Subject: [PATCH] Pivot will only support MW version 1.23 >, remove lang shim --- Pivot.i18n.php | 35 ----------------------------------- Pivot.skin.php | 7 +++++-- i18n/qqq.json | 11 +++++++++++ pivot.php | 4 +--- 4 files changed, 17 insertions(+), 40 deletions(-) delete mode 100644 Pivot.i18n.php create mode 100644 i18n/qqq.json diff --git a/Pivot.i18n.php b/Pivot.i18n.php deleted file mode 100644 index be7ccf3..0000000 --- a/Pivot.i18n.php +++ /dev/null @@ -1,35 +0,0 @@ - data['isarticle'] ) { ?>

msg( 'tagline' ) ?>

-
html('subtitle') ?>
-
+
html('subtitle') ?>
+
+
+
+
html('catlinks'); ?>
diff --git a/i18n/qqq.json b/i18n/qqq.json new file mode 100644 index 0000000..a99b3c0 --- /dev/null +++ b/i18n/qqq.json @@ -0,0 +1,11 @@ +{ + "@metadata": { + "authors": [ + "Tom Hutchison" + ] + }, + "skinname-pivot": "name of skin", + "pivot-desc": "description of skin", + "pivot-browsermsg": "old versions of IE not supported message", + "pivot-menutitle": "menu title" +} \ No newline at end of file diff --git a/pivot.php b/pivot.php index 6913bab..d68eacd 100644 --- a/pivot.php +++ b/pivot.php @@ -18,7 +18,7 @@ if ( ! defined('MEDIAWIKI')) $wgExtensionCredits['skin'][] = array( 'path' => __FILE__, - 'name' => 'Pivot', + 'name' => 'skinname-pivot', 'url' => 'http://github.com/hutchy68/pivot/', 'author' => array( 'Tom Hutchison', @@ -34,8 +34,6 @@ $wgAutoloadClasses['SkinPivot'] = __DIR__.'/Pivot.skin.php'; $wgMessagesDirs['SkinPivot'] = __DIR__ . '/i18n'; -$wgExtensionMessagesFiles['SkinPivot'] = __DIR__ . '/Pivot.i18n.php'; - $wgResourceModules['skins.pivot'] = array( 'styles' => array( 'pivot/assets/stylesheets/normalize.css',