Seb35 has submitted this change and it was merged. Change subject: Add extension.json, add license-name in wgExtensionCredits ......................................................................
Add extension.json, add license-name in wgExtensionCredits Change-Id: I53643f5078e6f0972a7ff5d2f3a2b7176c709e8d --- M HSTS.php A extension.json 2 files changed, 40 insertions(+), 1 deletion(-) Approvals: Seb35: Verified; Looks good to me, approved diff --git a/HSTS.php b/HSTS.php index cac11ce..80eba15 100644 --- a/HSTS.php +++ b/HSTS.php @@ -77,8 +77,9 @@ 'path' => __FILE__, 'name' => 'HSTS', 'author' => 'Seb35', - 'version' => '1.1.0', + 'version' => '1.1.1', 'url' => 'https://www.mediawiki.org/wiki/Extension:HSTS', + 'license-name' => 'WTFPL', 'descriptionmsg' => 'hsts-desc', ); diff --git a/extension.json b/extension.json new file mode 100644 index 0000000..a7948a3 --- /dev/null +++ b/extension.json @@ -0,0 +1,38 @@ +{ + "name": "HSTS", + "version": "1.1.1", + "author": "Seb35", + "url": "https://www.mediawiki.org/wiki/Extension:HSTS", + "descriptionmsg": "hsts-desc", + "license-name": "WTFPL", + "type": "other", + "DefaultUserOptions": { + "hsts": 0 + }, + "MessagesDirs": { + "HSTS": [ + "i18n" + ] + }, + "AutoloadClasses": { + "HSTSExtension": "HSTS.php" + }, + "Hooks": { + "GetPreferences": [ + "HSTSExtension::getPreferences" + ], + "GetBetaFeaturePreferences": [ + "HSTSExtension::getBetaFeaturePreferences" + ], + "BeforePageDisplay": [ + "HSTSExtension::addHeader" + ] + }, + "config": { + "HSTSForAnons": false, + "HSTSForUsers": false, + "HSTSMaxAge": 2592000, + "HSTSIncludeSubdomains": false, + "HSTSBetaFeature": false + } +} -- To view, visit https://gerrit.wikimedia.org/r/208514 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I53643f5078e6f0972a7ff5d2f3a2b7176c709e8d Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/extensions/HSTS Gerrit-Branch: master Gerrit-Owner: Seb35 <seb35wikipe...@gmail.com> Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: Seb35 <seb35wikipe...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits