MediaWiki:Gadget-PreloadEditor.js: Difference between revisions
MediaWiki interface page
More actions
ReisuDesign (talk | contribs) No edit summary |
ReisuDesign (talk | contribs) No edit summary |
||
| Line 3,354: | Line 3,354: | ||
right.append( | right.append( | ||
analysisSection, | |||
variablesSection, | |||
configurationSection, | |||
configSection | |||
); | |||
layout.append( | |||
left, | |||
right | |||
); | |||
const saveBar = | |||
$('<div>') | |||
.addClass( | |||
'preload-editor-save-bar' | |||
); | |||
saveBar.append( | |||
this.createButton( | |||
'Save Preload', | |||
'', | |||
() => this.savePreloadOnly() | |||
), | |||
this.createButton( | |||
'Save Config', | |||
'', | |||
() => this.saveConfigOnly() | |||
), | |||
this.createButton( | |||
'Save', | |||
'preload-editor-button-primary', | |||
() => this.saveAll() | |||
) | |||
); | |||
this.workspace.append( | |||
layout, | |||
saveBar | |||
); | |||
this.reanalyze(); | this.reanalyze(); | ||