Content deleted Content added
No edit summary |
m Maintenance: Replacing legacy global variable (phab:T72470) |
||
(One intermediate revision by one other user not shown) | |||
Line 1:
// <pre><nowiki>
if (typeof(SnippetManagerWrapper) == 'undefined') { window.SnippetManagerWrapper = {}; }
window.SnippetManagerWrapper = function() {
Line 774 ⟶ 776:
window.smWikiPreview = function(wiki_markup, func) {
var form = document.editform;
var addr = mw.config.get('wgServer') + mw.config.get('wgScript') + "?title=" + wgPageName +
"&action=submit&wpPreview=true&live=true";
var qwxmlhttp = sajax_init_object(null);
|