Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
If you make an edit, a temporary account will be created for you.

MediaWiki:Gadget-PreloadEditor.js: Difference between revisions

MediaWiki interface page
ReisuDesign (talk | contribs)
No edit summary
ReisuDesign (talk | contribs)
No edit summary
Line 3,354: Line 3,354:


             right.append(
             right.append(
                analysisSection,
    analysisSection,
                variablesSection,
    variablesSection,
                configurationSection,
    configurationSection,
                configSection,
    configSection
                actions
);
            );
 
layout.append(
            layout.append(
    left,
                left,
    right
                right
);
            );
 
const saveBar =
            this.workspace.append(layout);
    $('<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();