MediaWiki:Common.js: Difference between revisions

m
три пункта в панель для новых шаблонов custom; убран вызов несуществующего модуля common.site.styles
mNo edit summary
m (три пункта в панель для новых шаблонов custom; убран вызов несуществующего модуля common.site.styles)
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
mw.loader.using('common.site.styles');


/** -pm- WikiEditor additional features **/
/** -pm- WikiEditor additional features **/
Line 188: Line 186:
'Style-P-Epigraph': {label: 'Epigraph', action: {type: 'encapsulate',
'Style-P-Epigraph': {label: 'Epigraph', action: {type: 'encapsulate',
options: {pre: '{{Style P-Epigraph|', post: '||}}'} } },
options: {pre: '{{Style P-Epigraph|', post: '||}}'} } },
'Style-P-Epigraph-custom': {label: 'Epigraph custom', action: {type: 'encapsulate',
options: {pre: '{{Style P-Epigraph custom|', post: '|}}'} } },
'Style-P-Quote': {label: 'Quote', action: {type: 'encapsulate',
'Style-P-Quote': {label: 'Quote', action: {type: 'encapsulate',
options: {pre: '{{Style P-Quote|', post: '}}'} } },
options: {pre: '{{Style P-Quote|', post: '}}'} } },
Line 198: Line 198:
'Style-P-Poem': {label: 'Poem', action: {type: 'encapsulate',
'Style-P-Poem': {label: 'Poem', action: {type: 'encapsulate',
options: {pre: '{{Style P-Poem|poem=', post: '}}'} } },
options: {pre: '{{Style P-Poem|poem=', post: '}}'} } },
'Style-P-Poem-custom': {label: 'Poem custom', action: {type: 'encapsulate',
options: {pre: '{{Style P-Poem custom|poem=', post: '}}'} } },
'Style-P-Signature': {label: 'Signature', action: {type: 'encapsulate',
'Style-P-Signature': {label: 'Signature', action: {type: 'encapsulate',
options: {pre: '{{Style P-Signature|', post: '}}'} } },
options: {pre: '{{Style P-Signature|', post: '}}'} } },
'Style-P-Signature-caps': {label: 'Signature in capitals', action: {type: 'encapsulate',
'Style-P-Signature-caps': {label: 'Signature in capitals', action: {type: 'encapsulate',
options: {pre: '{{Style P-Signature in capitals|', post: '}}'} } },
options: {pre: '{{Style P-Signature in capitals|', post: '}}'} } },
'Style-P-Signature-custom': {label: 'Signature custom', action: {type: 'encapsulate',
options: {pre: '{{Style P-Signature custom\n | 1 = ', post: '\n | 2 = \n}}'} } },
'Close-DIV': {label: 'Close div', action: {type: 'encapsulate',
'Close-DIV': {label: 'Close div', action: {type: 'encapsulate',
options: {pre: '{{Close div}}'} } }
options: {pre: '{{Close div}}'} } }