gMsg[ i ] = msgSet[i];
}
},
+
/**
* loadRS function
* Loads a ruleset by given template key ie PLURAL : { //ruleSetObj }
})(window.$mw);
//setup legacy global shortcuts:
var loadGM = $mw.lang.loadGM;
+var loadRS = $mw.lang.loadRS;
var gM = $mw.lang.gM;
//if some no-js2 script defined and loaded gMsg in global space:
}else{
var scriptPath = puri.path;
}
- js_log('scriptServer Path is: ' + scriptPath + "\n host script path:" + getMvEmbedURL() );
+ //js_log('scriptServer Path is: ' + scriptPath + "\n host script path:" + getMvEmbedURL() );
var dbug_attr = ( puri.queryKey['debug'] ) ? '&debug=true' : '';
this.libs[ last_class ] = scriptPath + '?class=' + class_set +
'&urid=' + getMvUniqueReqId() + dbug_attr;
* this file exposes some of the functionality of mwEmbed to wikis
* that do not yet have js2 enabled
*/
-
+
var urlparts = getRemoteEmbedPath();
var mwEmbedHostPath = urlparts[0];
var reqAguments = urlparts[1];
}
// Firefogg integration
- if( wgPageName == "Special:Upload" ){
+ if( wgPageName == "Special:Upload" ){
load_mv_embed( function() {
importScriptURI( mwEmbedHostPath + '/uploadPage.js' + reqAguments );
} );