mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-11-15 02:53:52 +00:00
b7cf9f4b09
Here we add $wgReplaceTextResultsLimit variable (default: 250) to allow administrator to change this limit. Change-Id: Iee9d958db8ddd245a98ec6a3d5b5cf8ef1d80370
86 lines
1.7 KiB
JSON
86 lines
1.7 KiB
JSON
{
|
|
"name": "Replace Text",
|
|
"version": "1.4.1",
|
|
"author": [
|
|
"Yaron Koren",
|
|
"Niklas Laxström",
|
|
"..."
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:Replace_Text",
|
|
"descriptionmsg": "replacetext-desc",
|
|
"license-name": "GPL-2.0-or-later",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.32.0"
|
|
},
|
|
"type": "specialpage",
|
|
"GroupPermissions": {
|
|
"sysop": {
|
|
"replacetext": true
|
|
}
|
|
},
|
|
"AvailableRights": [
|
|
"replacetext"
|
|
],
|
|
"SpecialPages": {
|
|
"ReplaceText": "SpecialReplaceText"
|
|
},
|
|
"JobClasses": {
|
|
"replaceText": "ReplaceTextJob"
|
|
},
|
|
"MessagesDirs": {
|
|
"ReplaceText": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"ResourceModules": {
|
|
"ext.ReplaceText": {
|
|
"scripts": [
|
|
"ext.ReplaceText.js"
|
|
],
|
|
"styles": [
|
|
"ext.ReplaceText.css"
|
|
],
|
|
"messages": [
|
|
"powersearch-togglelabel",
|
|
"powersearch-toggleall",
|
|
"powersearch-togglenone"
|
|
]
|
|
},
|
|
"ext.ReplaceTextStyles": {
|
|
"styles": [
|
|
"ext.ReplaceTextStyles.css"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "resources",
|
|
"remoteExtPath": "ReplaceText/resources"
|
|
},
|
|
"ExtensionMessagesFiles": {
|
|
"ReplaceTextAlias": "ReplaceText.i18n.alias.php"
|
|
},
|
|
"AutoloadClasses": {
|
|
"ReplaceTextHooks": "src/ReplaceTextHooks.php",
|
|
"SpecialReplaceText": "src/SpecialReplaceText.php",
|
|
"ReplaceTextJob": "src/ReplaceTextJob.php",
|
|
"ReplaceTextSearch": "src/ReplaceTextSearch.php",
|
|
"ReplaceTextUtils": "src/ReplaceTextUtils.php"
|
|
},
|
|
"Hooks": {
|
|
"AdminLinks": [
|
|
"ReplaceTextHooks::addToAdminLinks"
|
|
],
|
|
"SpecialMovepageAfterMove": [
|
|
"ReplaceTextHooks::replaceTextReminder"
|
|
],
|
|
"UserGetReservedNames": [
|
|
"ReplaceTextHooks::getReservedNames"
|
|
]
|
|
},
|
|
"config": {
|
|
"ReplaceTextResultsLimit": 250,
|
|
"ReplaceTextUser": null
|
|
},
|
|
"manifest_version": 1
|
|
}
|