Adding var declaration.
authorRotem Liss <rotem@users.mediawiki.org>
Tue, 16 Jan 2007 14:18:30 +0000 (14:18 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Tue, 16 Jan 2007 14:18:30 +0000 (14:18 +0000)
includes/DefaultSettings.php
skins/common/wikibits.js

index 008ebe1..e3a38b4 100644 (file)
@@ -1105,7 +1105,7 @@ $wgCacheEpoch = '20030516000000';
  * to ensure that client-side caches don't keep obsolete copies of global
  * styles.
  */
-$wgStyleVersion = '50';
+$wgStyleVersion = '51';
 
 
 # Server-side caching:
index 6af4514..27d992d 100644 (file)
@@ -610,7 +610,7 @@ function akeytt( doId ) {
        }
 
        // Now deal with evil deprecated ta
-       watchCheckboxExists = document.getElementById( 'wpWatchthis' ) ? true : false;
+       var watchCheckboxExists = document.getElementById( 'wpWatchthis' ) ? true : false;
        for (var id in ta) {
                var n = document.getElementById(id);
                if (n) {