Remove extension.json
The complex structure of $wgContactConfig cannot be properly managed until I64cb055 is merged. Change-Id: I68853dc282330e595cc30ae56fc97859304e0573
This commit is contained in:
parent
472dbb5a9b
commit
4699d68b37
|
@ -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',
|
||||
|
|
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue