Difference between revisions 137390 and 137391 on testwiki

/// mw:User:PerfektesChaos/js/paneMarker/?.js
/// 2012-06-13 [email protected]
/// Fingerprint: #0#0#
// 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.

// Requires: JavaScript 1.3
(contracted; show full)      if ( this.nsN > 0 ) {
         o  =  mw.config.get( "wgNamespaceIds" );
         for ( e in o ) {
            if ( o.hasOwnProperty( e ) ) {
               if ( e.length < 4 ) {   // file help talk user
                  if ( o[ e ] === this.nsN ) {
                     o  =  mw.config.get( "wgFormattedNamespaces" );
                     s  =  o[ 
nthis.nsN ];
                     o  =  mw.config.get( "wgPageName" );
                     o  =  o.replace( /_/ig, " " );
                     if ( ! o.indexOf( s + ":" ) ) {
                        t  =  document.title;
                        i  =  t.indexOf( o );
                        if ( i >= 0 ) {
                           document.title  =  ( i  ?  t.substr( 0, i )
(contracted; show full)// Emacs
// Local Variables:
// encoding: utf-8-dos
// coding: utf-8-dos
// fill-column: 80
// End:

/// EOF </nowiki>   paneMarker/?.js