From cf0fd647dcdb2b920c34faa8f3768586796c7b66 Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Sat, 22 Mar 2014 00:43:21 +0200 Subject: [PATCH] Added an RTL beta feature icon This is the first patch using the new format of rtl/ltr icons, which was made possible in I1c72aaa3f847b1b7679113f2b88cbb92adf0f936 Change-Id: Ieca7cfc5efaf1494b80d554c476a4d61958b0661 --- Popups.hooks.php | 5 +- popups.svg => popups-ltr.svg | 0 popups-rtl.svg | 243 +++++++++++++++++++++++++++++++++++ 3 files changed, 247 insertions(+), 1 deletion(-) rename popups.svg => popups-ltr.svg (100%) create mode 100644 popups-rtl.svg diff --git a/Popups.hooks.php b/Popups.hooks.php index 0bd8e8da9..ab0f8bef0 100644 --- a/Popups.hooks.php +++ b/Popups.hooks.php @@ -26,7 +26,10 @@ class PopupsHooks { $prefs['popups'] = array( 'label-message' => 'popups-message', 'desc-message' => 'popups-desc', - 'screenshot' => $wgExtensionAssetsPath . '/Popups/popups.svg', + 'screenshot' => array( + 'ltr' => "$wgExtensionAssetsPath/Popups/popups-ltr.svg", + 'rtl' => "$wgExtensionAssetsPath/Popups/popups-rtl.svg", + ), 'info-link' => 'https://www.mediawiki.org/wiki/Navigation_Popups_%28Restyling_and_Enhancements%29', 'discussion-link' => 'https://www.mediawiki.org/wiki/Talk:Beta_Features/Hovercards', ); diff --git a/popups.svg b/popups-ltr.svg similarity index 100% rename from popups.svg rename to popups-ltr.svg diff --git a/popups-rtl.svg b/popups-rtl.svg new file mode 100644 index 000000000..19e7c5dd0 --- /dev/null +++ b/popups-rtl.svg @@ -0,0 +1,243 @@ + + + + + NavigationPopups_BetaFeaturesIcon + + + + image/svg+xml + + NavigationPopups_BetaFeaturesIcon + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +