Difference between revisions 141026 and 141036 on testwiki/// mw:User:PerfektesChaos/js/paneMarker/?.js /// 2012-08-20 [email protected] // Mark browser panes (tabbed or window) if particular action taken. // Try to exchange wiki-favicon for a red one if editing a wiki page. // Insert indicating character before document title. // User defined changes of page title and favicon. // ResourceLoader: compatible; dependencies: user, mediawiki.util /// Fingerprint: #0#0# (contracted; show full) learn = false; } if ( typeof this.config.chars === "boolean" ) { if ( c === true ) { c = this.config.chars; } } mw.log({loud:true},".flag() 0="+c,0);⏎ if ( c ) { if ( learn ) { c = this.config[ "char" + action ]; if ( c === undefined ) { c = true; } else { learn = false; } } if ( learn ) { mw.log({loud:true},".flag() learn="+c,0); switch ( action ) { case "Diff" : c = ( this.config.lowChar ? "±" : 916 ); // 'Δ' break; case "History" : c = ( this.config.lowChar ? "^" : 8595 ); // '↓' break; case "Links" : c = ( this.config.lowChar ? ">" : 8594 ); // '→' break; case "Vitally" : if ( c && ! this.lazy ) { c = false; if ( ! this.config.leave ) { this.facilitate(); }⏎ break; } c = "*"; break; default: c = false; } // switch action } if ( c ) { mw.log({loud:true},".flag()="+c,0);⏎ if ( ! this.config.leave ) { if ( action === "Links" ) { this.facilitate(); } } if ( typeof c === "number" ) { if ( c > 0 ) { c = String.fromCharCode( c ); (contracted; show full)// Emacs // Local Variables: // encoding: utf-8-dos // coding: utf-8-dos // fill-column: 80 // End: /// EOF </nowiki> paneMarker/?.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=141036.
![]() ![]() 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.
|