Difference between revisions 140998 and 141004 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)                  }
                  c  =  "*";
                  break;
               default:
                  c  =  false;
            }   // switch action
         }

mw.log({loud:true},".flag()="+c,0);
         if ( c ) {
            if ( ! this.config.leave ) {
               if ( action === "Links" ) {
                  this.facilitate();
               }
            }
            if ( typeof c === "number" ) {
               if ( c > 0 ) {
                  c  =  String.fromCharCode( c );
               }
            }
            if ( typeof c === "string" ) {
mw.log({loud:true},".flag() string="+c,0);
               if ( this.config.rightleft ) {
                  document.title  =  document.title + " " + c;
               } else {
                  c  =  c + " ";
                  if ( document.title.indexOf( c )  !==  0 ) {
                     document.title  =  c + document.title;
                  }
               }
(contracted; show full)      // 2012-08-20 [email protected]
      var lenient  =  true;
      this.lazy    =  false;
      if ( typeof this.opt === "object"  &&  this.opt ) {
         this.config  =  this.opt;
         if ( typeof this.opt.lazy === "boolean" ) {
            this.lazy  =  this.opt.lazy;

mw.log({loud:true},"this.opt.lazy="+this.opt.lazy,0);
         }
      } else {
         this.config  =  { };
      }
      this.site  =  mw.config.get( "wgDBname" );
      this.nsN   =  mw.config.get( "wgNamespaceNumber" );
mw.log({loud:true},"this.lazy="+this.lazy,0);
      if ( ! this.lazy ) {
         if ( jQuery.browser ) {
            if ( jQuery.browser.msie ) {
               if ( jQuery.browser.version < 10 ) {
                  this.lazy  =  true;
               }
            }
         }
(contracted; show full)// Emacs
// Local Variables:
// encoding: utf-8-dos
// coding: utf-8-dos
// fill-column: 80
// End:

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