Remove extension.json

The complex structure of $wgContactConfig cannot be properly managed
until I64cb055 is merged.

Change-Id: I68853dc282330e595cc30ae56fc97859304e0573
This commit is contained in:
Bryan Davis 2015-08-01 20:36:13 -06:00
parent 472dbb5a9b
commit 4699d68b37
2 changed files with 5 additions and 53 deletions

View File

@ -9,9 +9,12 @@ module.exports = function ( grunt ) {
grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.loadNpmTasks( 'grunt-jsonlint' );
var conf = grunt.file.readJSON( 'extension.json' );
grunt.initConfig( {
banana: conf.MessagesDirs,
banana: {
"ContactPage": [
"i18n"
]
},
jsonlint: {
all: [
'**/*.json',

View File

@ -1,51 +0,0 @@
{
"name": "ContactPage",
"version": "2.2",
"author": [
"Daniel Kinzler",
"Sam Reed"
],
"url": "https://www.mediawiki.org/wiki/Extension:ContactPage",
"descriptionmsg": "contactpage-desc",
"license-name": "GPL-2.0+",
"type": "specialpage",
"ExtensionMessagesFiles": {
"ContactPageAliases": "ContactPage.alias.php"
},
"MessagesDirs": {
"ContactPage": [
"i18n"
]
},
"config": {
"ContactConfig": {
"default": {
"RecipientUser": null,
"SenderEmail": null,
"SenderName": null,
"RequireDetails": false,
"IncludeIP": false,
"DisplayFormat": "table",
"RLModules": [],
"RLStyleModules": [],
"AdditionalFields": {
"Text": {
"label-message": "emailmessage",
"type": "textarea",
"rows": 20,
"cols": 80,
"required": true
}
}
}
}
},
"callback": "SpecialContact::onRegistration",
"SpecialPages": {
"Contact": "SpecialContact"
},
"AutoloadClasses": {
"SpecialContact": "ContactPage_body.php"
},
"manifest_version": 1
}