Difference between revisions 140996 and 140998 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#
/// @license GPL [//www.mediawiki.org/w/COPYING] (+GFDL, LGPL, CC-BY-SA)
/// <nowiki>
/* jshint curly:true, eqeqeq:true, undef:true, white:false             */
/* global document: true, jQuery: true, mediaWiki: true, window: true  */
/*jslint  plusplus: true, white: true                                  */
/*globals document: true, jQuery: true, mediaWiki: true, window: true  */



( function ( mw, $ ) {
   "use strict";
   if ( typeof mw.libs.paneMarker !== "object" ) {
      mw.libs.paneMarker  =  {  opt:  { }  };
   }
   mw.libs.paneMarker.vsn    =  -1.544;
   mw.libs.paneMarker.heads  =  "|dewiki|";   //           +"|testwiki|";
   mw.libs.paneMarker.type   =  "paneMarker";



   /*
    * This program is free software; you can redistribute it and/or
(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