Bureaucrats, editor, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
47,327
edits
(Created page with "(function ($, mw, rs) { 'use strict'; function createOOUIWindowManager() { if (window.OOUIWindowManager == undefined) { window.OOUIWindowManager = new OO.ui.WindowManager(); $( 'body' ).append( window.OOUIWindowManager.$element ); } return window.OOUIWindowManager; } /** * Reusable functions * * These are available under the `rswiki` global variable. * @example `rswiki.addCommas` * The alias `rs` is also avai...") |
No edit summary Tag: Reverted |
||
Line 18:
* The alias `rs` is also available in place of `rswiki`.
*/
var mw.util = {
/**
* Formats a number string with commas.
Line 368:
function init() {
$.extend(rs, mw.util, {});
// add rs as a global alias
window.rs = rs;
|