Content deleted Content added
DreamRimmer (talk | contribs) create |
DreamRimmer (talk | contribs) fix |
||
Line 8:
page2Input = new OO.ui.TextInputWidget({ placeholder: 'Destination page' }),
loadBtn = new OO.ui.ButtonWidget({ label: 'Load wikitext', flags: ['primary'] }),
page1Text = new OO.ui.MultilineTextInputWidget({ placeholder: '
page2Text = new OO.ui.MultilineTextInputWidget({ placeholder: '
summary1Input = new OO.ui.TextInputWidget({ placeholder: '
summary2Input = new OO.ui.TextInputWidget({ placeholder: '
redirectCheck = new OO.ui.CheckboxInputWidget({ selected: false }).on('change', updateRedirect),
previewBtn = new OO.ui.ButtonWidget({ label: 'Preview Changes', flags: ['primary'], disabled: true }),
Line 17:
cancelBtn = new OO.ui.ButtonWidget({ label: 'Cancel', flags: ['primary', 'destructive'], href: 'https:' + mw.config.get('wgServer') }),
logDiv = $("<div>").hide(),
redirectDiv = $('<div>').css({ 'display': 'flex', 'align-items': 'center', 'gap': '10px' }).append(redirectCheck.$element, $('<p>').text('Redirect the
$('#mw-content-text').append(
Line 33:
$('<div>').css({ 'display': 'flex', 'gap': '10px' }).append(
$('<div>').css({ 'flex': '1', 'border': '1px solid #ccc', 'padding': '10px', 'box-sizing': 'border-box', 'min-width': '45%', 'max-width': '45%', 'overflow': 'auto' }).append(
$('<p>').text('Summary
),
$('<div>').css({ 'flex': '1', 'border': '1px solid #ccc', 'padding': '10px', 'box-sizing': 'border-box', 'min-width': '45%', 'max-width': '45%', 'overflow': 'auto' }).append(
$('<p>').text('Summary
)
),
|