Difference between revisions 138377 and 139864 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, (contracted; show full) //----------------------------------------------------------------------- mw.libs.WikiSyntaxTextMod.bb.elemX = function (WSTM) { if (typeof(WSTM.w) !== "object") { WSTM.w = { }; } if (typeof(WSTM.w.elem) !== "object") { WSTM.w.elem = { }; } }; // .bb.elemX() mw.libs.WikiSyntaxTextMod.bb.elemX(mw.libs.WikiSyntaxTextMod); delete mw.libs.WikiSyntaxTextMod.bb.elemX; //-----------------------------------------------------------------------⏎ ⏎ ⏎ ⏎ mw.libs.WikiSyntaxTextMod.bb.linkX = function (WSTM) { // Analysis of link -- web and wiki // 2012-05-18 [email protected] if (typeof(WSTM.w.link) !== "object") { WSTM.w.link = { wiki: { }, web: { } }; } (contracted; show full) //----------------------------------------------------------------------- ⏎ ⏎ //-----------------------------------------------------------------------⏎ ⏎ ⏎ ⏎ mw.libs.WikiSyntaxTextMod.bb.apiX = function (WSTM) { // Detected syntax error handling // 2012-04-30 [email protected] if (typeof(WSTM.apijQuery, mw, WSTM) { if (WSTM.config) { if (typeof(WSTM.config.mod.template) !== "object") { WSTM.api = { }; } }; // .bb.apiX() mw.libs.WikiSyntaxTextMod.bb.apiX(mw.libs.WikiSyntaxTextMod); delete mw.libs.WikiSyntaxTextMod.bb.apiX; //----------------------------------------------------------------------- mw.libs.WikiSyntaxTextMod.bb.Xconfig.mod.template = [ { detect: { title: "^[Ii]nfobox Autobahn$" }, rename: { title: [true, "Infobox hochrangige Straße"] } } ];⏎ = function (jQuery, mw, WSTM) { } } // 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=139864.
![]() ![]() 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.
|