Luis Felipe Schenone has submitted this change and it was merged.
Change subject: Fix path to i18n
......................................................................
Fix path to i18n
* This fixes the path to i18n the problem was introduced in the latest release.
* Renames msupload.php to MsUpload.php
* Renames msupload.i18n.php to MsUpload.i18n.php
* Renames msupload.body.php to MsUpload.body.php
Change-Id: I751ab3f5e187d55a6c89fc3ff580c0670e0cddf7
---
R MsUpload.body.php
R MsUpload.i18n.php
R MsUpload.php
3 files changed, 3 insertions(+), 3 deletions(-)
Approvals:
Luis Felipe Schenone: Verified; Looks good to me, approved
jenkins-bot: Checked
diff --git a/msupload.body.php b/MsUpload.body.php
similarity index 100%
rename from msupload.body.php
rename to MsUpload.body.php
old mode 100755
new mode 100644
diff --git a/msupload.i18n.php b/MsUpload.i18n.php
similarity index 94%
rename from msupload.i18n.php
rename to MsUpload.i18n.php
old mode 100755
new mode 100644
index 5163cd3..dc970ba
--- a/msupload.i18n.php
+++ b/MsUpload.i18n.php
@@ -15,7 +15,7 @@
function wfJsonI18nShim9bfcb6d3a88a9ce0( $cache, $code, &$cachedData ) {
$codeSequence = array_merge( array( $code ),
$cachedData['fallbackSequence'] );
foreach ( $codeSequence as $csCode ) {
- $fileName = dirname( __FILE__ ) .
"/extensions/MsUpload/i18n/$csCode.json";
+ $fileName = dirname( __FILE__ ) . "/i18n/$csCode.json";
if ( is_readable( $fileName ) ) {
$data = FormatJson::decode( file_get_contents(
$fileName ), true );
foreach ( array_keys( $data ) as $key ) {
@@ -32,4 +32,4 @@
}
$GLOBALS['wgHooks']['LocalisationCacheRecache'][] =
'wfJsonI18nShim9bfcb6d3a88a9ce0';
-}
\ No newline at end of file
+}
diff --git a/msupload.php b/MsUpload.php
similarity index 98%
rename from msupload.php
rename to MsUpload.php
old mode 100755
new mode 100644
index 9868704..e724188
--- a/msupload.php
+++ b/MsUpload.php
@@ -17,7 +17,7 @@
'dependencies' => 'jquery.ui.progressbar',
'styles' => 'MsUpload.css',
'messages' => array(
- 'msu-description',
+ 'msu-desc',
'msu-button-title',
'msu-insert-link',
'msu-insert-gallery',
--
To view, visit https://gerrit.wikimedia.org/r/174071
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I751ab3f5e187d55a6c89fc3ff580c0670e0cddf7
Gerrit-PatchSet: 21
Gerrit-Project: mediawiki/extensions/MsUpload
Gerrit-Branch: master
Gerrit-Owner: Paladox <[email protected]>
Gerrit-Reviewer: Luis Felipe Schenone <[email protected]>
Gerrit-Reviewer: Nischayn22 <[email protected]>
Gerrit-Reviewer: Paladox <[email protected]>
Gerrit-Reviewer: Raimond Spekking <[email protected]>
Gerrit-Reviewer: Ratin <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits