|
|
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
| {
| | <Navigation/> |
| "name": "Spoilers",
| | <noinclude> |
| "version": "2.2.0",
| | Example usage:<pre> |
| "author": [
| | {{Spoiler |
| "Tim \"Telshin\" Aldridge",
| | |title1=Example |
| "Kris \"Developaws\" Blair"
| | |image1=Example |
| ],
| | |caption1=Example |
| "url": "http://www.mediawiki.org/wiki/Extension:Spoilers",
| | |row1=Example |
| "descriptionmsg": "spoilers_description",
| | |row2=Example |
| "license-name": "MIT",
| | }} |
| "type": "parserhook",
| | </pre> |
| "requires": {
| | </noinclude> |
| "MediaWiki": ">= 1.27.0"
| |
| },
| |
| "MessagesDirs": {
| |
| "Spoilers": [
| |
| "i18n"
| |
| ]
| |
| },
| |
| "ExtensionMessagesFiles": {
| |
| "SpoilersMagic": "SpoilersI18nMagic.php"
| |
| },
| |
| "AutoloadClasses": {
| |
| "Spoilers\\SpoilersHooks": "SpoilersHooks.php"
| |
| },
| |
| "ResourceModules": {
| |
| "ext.spoilers": {
| |
| "styles": [
| |
| "spoilers.css"
| |
| ],
| |
| "scripts": [
| |
| "mw.Spoilers.js"
| |
| ],
| |
| "messages": [
| |
| "spoilers_hide_default",
| |
| "spoilers_show_default"
| |
| ],
| |
| "dependencies": [
| |
| "mediawiki.jqueryMsg"
| |
| ]
| |
| }
| |
| },
| |
| "ResourceFileModulePaths": {
| |
| "localBasePath": "resources",
| |
| "remoteExtPath": "Spoilers/resources"
| |
| },
| |
| "Hooks": {
| |
| "ParserFirstCallInit": [
| |
| "Spoilers\\SpoilersHooks::onParserFirstCallInit"
| |
| ]
| |
| },
| |
| "manifest_version": 1
| |
| }
| |
Latest revision as of 17:16, 16 February 2020
<Navigation/>
Example usage:
{{Spoiler
|title1=Example
|image1=Example
|caption1=Example
|row1=Example
|row2=Example
}}