jenkins-bot has submitted this change and it was merged.
Change subject: Json mimetype is application/json
......................................................................
Json mimetype is application/json
Change-Id: Ifd52bc2e4e9f80b8487e98f723dc05b103a39630
---
M api/ApiULSLocalization.php
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Nikerabbit: Looks good to me, approved
jenkins-bot: Verified
diff --git a/api/ApiULSLocalization.php b/api/ApiULSLocalization.php
index e49a720..f03cf78 100644
--- a/api/ApiULSLocalization.php
+++ b/api/ApiULSLocalization.php
@@ -43,12 +43,12 @@
$localPath = __DIR__ . "/../$filename";
if ( !file_exists( $localPath ) ) {
$this->getResult()->addValue( null, 'text', '{}' );
- $this->getResult()->addValue( null, 'mime', 'text/json'
);
+ $this->getResult()->addValue( null, 'mime',
'application/json' );
} else {
$contents = file_get_contents( $localPath );
// Output the file's contents raw
$this->getResult()->addValue( null, 'text', $contents );
- $this->getResult()->addValue( null, 'mime', 'text/json'
);
+ $this->getResult()->addValue( null, 'mime',
'application/json' );
}
}
--
To view, visit https://gerrit.wikimedia.org/r/66956
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ifd52bc2e4e9f80b8487e98f723dc05b103a39630
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: Santhosh <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits