Module:Install/config
Jump to navigation
Jump to search
-- <nowiki>
---
-- Install template configuration.
-- Stores data on installation scopes and template labelling.
--
-- Scripts are configured by scope ({{{Use}}} parameter):
-- G = global, P = personal, S = sitewide.
--
-- For subscopes, an optional label can be added like this:
-- label = { key = 'SUBSCOPE' },
-- This will output the additional subscope label in brackets.
-- Examples (Currenty not in use):
-- - "CP" was used to output "Local (Chat)"
-- - "SO" was used to output "Sitewide (Oasis)"
-- See [[Module:Install/i18n]] for message data.
--
-- @submodule
return {
default = {
js = {
G = 'w:Special:MyPage/global.js',
P = 'Special:MyPage/common.js',
S = 'MediaWiki:ImportJS'
},
css = {
G = 'w:Special:MyPage/global.css',
P = 'Special:MyPage/common.css',
S = 'MediaWiki:Common.css'
},
html = {
S = 'Template:$1'
}
},
G = {
js = {
G = 'w:Special:MyPage/global.js'
},
css = {
G = 'w:Special:MyPage/global.css'
},
html = {
G = 'w:Template:$1'
}
},
GP = {
js = {
G = 'w:Special:MyPage/global.js',
P = 'Special:MyPage/common.js'
},
css = {
G = 'w:Special:MyPage/global.css',
P = 'Special:MyPage/common.css'
},
html = {
G = 'w:Template:$1',
P = 'Special:MyPage/$1'
}
},
GS = {
js = {
G = 'w:Special:MyPage/global.js',
S = 'MediaWiki:Common.css'
},
css = {
G = 'w:Special:MyPage/global.css',
S = 'MediaWiki:Common.css'
},
html = {
G = 'w:Template:$1',
S = 'Template:$1'
}
},
PS = {
js = {
P = 'Special:MyPage/common.js',
S = 'MediaWiki:ImportJS'
},
css = {
P = 'Special:MyPage/common.css',
S = 'MediaWiki:Common.css'
},
html = {
P = 'Special:MyPage/$1',
S = 'Template:$1'
}
},
P = {
js = {
P = 'Special:MyPage/common.js'
},
css = {
P = 'Special:MyPage/common.css'
},
html = {
P = 'Special:MyPage/$1'
}
},
S = {
js = {
S = 'MediaWiki:ImportJS'
},
css = {
S = 'MediaWiki:Common.css'
},
html = {
S = 'Template:$1'
}
}
}
-- </nowiki>