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 2,679: Line 2,679:
             this.root.append(loader);
             this.root.append(loader);


            this.status =
this.workspace =
                $('<div>')
    $('<div>')
                    .addClass(
        .addClass(
                        'preload-editor-status'
            'preload-editor-workspace'
                    );
        );
 
            this.root.append(this.status);
this.root.append(this.workspace);
 
            this.workspace =
/*
                $('<div>')
* Fixed footer
                    .addClass(
*
                        'preload-editor-workspace'
* Status messages and save actions live here so they
                    );
* remain visible while editing.
 
*/
            this.root.append(this.workspace);
const footer =
    $('<div>')
        .addClass(
            'preload-editor-footer'
        );
this.status =
    $('<div>')
        .addClass(
            'preload-editor-status'
        );
footer.append(
    this.status
);
this.root.append(footer);


             this.renderWelcome();
             this.renderWelcome();
Line 3,390: Line 3,406:
    )
    )
);
);
this.root
    .find('.preload-editor-footer')
    .append(saveBar);
this.workspace.append(
this.workspace.append(
    layout,
    layout
    saveBar
);
);