Difference between revisions 139864 and 139866 on testwiki/// PerfektesChaos/js/WikisyntaxTextMod/?X.js /// 2012-06-27 [email protected] /// Fingerprint: #0#0# /// <nowiki> /* jshint curly:true, latedef:true, laxbreak:true, trailing:true, undef:true, white:false */ /* global jQuery: true, mw: true, mediaWiki: false, window: false */ /*jslint plusplus: true, regexp: true, sloppy: true, unparam: true, vars: true, white: true, maxerr: 50 */ /*globals jQuery: true, mw: true, mediaWiki: false, window: false */ if (typeof(mediaWiki) !== "object") { // disconnected mw = { libs: { }, log: function () {} }; jQuery = {}; } if (typeof(mw.libs.WikiSyntaxTextMod) !== "object") { // isolated mw.libs.WikiSyntaxTextMod = { debugging: false }; } if (typeof(mw.libs.WikiSyntaxTextMod.X) !== "object") { mw.libs.WikiSyntaxTextMod.X = { }; } mw.libs.WikiSyntaxTextMod.X.vsn = -0.595.1; if (typeof(mw.libs.WikiSyntaxTextMod.bb) !== "object") { mw.libs.WikiSyntaxTextMod.bb = { }; } if (typeof(mw.libs.WikiSyntaxTextMod.main) !== "object") { mw.libs.WikiSyntaxTextMod.main = { }; } (contracted; show full) //----------------------------------------------------------------------- ⏎ ⏎ //-----------------------------------------------------------------------⏎ ⏎ ⏎ ⏎ mw.libs.WikiSyntaxTextMod.bb.X = function (jQuery, mw, WSTM) { if (WSTM.config) { if (WSTM.config.mod) { WSTM.config.mod = { }; }⏎ if (typeof(WSTM.config.mod.template) !== "object") { WSTM.config.mod.template = [ { detect: { title: "^[Ii]nfobox Autobahn$" }, rename: { title: [true, "Infobox hochrangige Straße"] } } ]; } } // Start on import: callback to waiting ... if (typeof(WSTM.main.wait) === "function") { WSTM.main.wait("X", WSTM.X.vsn); } }; mw.libs.WikiSyntaxTextMod.bb.X(jQuery, mw, mw.libs.WikiSyntaxTextMod); // Emacs // Local Variables: // encoding: iso-8859-1-dos // fill-column: 80 // End: /// EOF </nowiki> WikiSyntaxTextMod/?X.js All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://test.wikipedia.org/w/index.php?diff=prev&oldid=139866.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|