Content deleted Content added
Writ Keeper (talk | contribs) fx |
Writ Keeper (talk | contribs) fx? |
||
Line 4:
{
if(/previewanddiff=true/.test(window.___location.href))
{test
mw.loader.load('mediawiki.action.history.diff');
$("#wikiPreview").after('<h2></h2><h2>Your changes</h2><table class="diff" id="ajaxDiff"><colgroup><col class="diff-marker"><col class="diff-content"><col class="diff-marker"><col class="diff-content"></colgroup></table>');
Line 18:
});
}
var previewDiffButton = new OO.ui.ButtonInputWidget({label:'Show preview and changes', useInputTag: true, value: 'wpPreview', name: 'wpPreview', type:"submit"});
previewDiffButton.setTitle("Show a preview of your changes, as well as a diff of what you changed");
|