(bug 18925) history.js removes class names of list elements on initialization. Patch...
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Mon, 1 Jun 2009 16:54:30 +0000 (16:54 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Mon, 1 Jun 2009 16:54:30 +0000 (16:54 +0000)
CREDITS
RELEASE-NOTES
includes/DefaultSettings.php
skins/common/history.js

diff --git a/CREDITS b/CREDITS
index 768df07..c645a2b 100644 (file)
--- a/CREDITS
+++ b/CREDITS
@@ -58,6 +58,7 @@ following names for their contribution to the product.
 == Patch Contributors ==
 * Agbad
 * Ahmad Sherif
+* Borislav Manolov
 * Brad Jorsch
 * Brent G
 * Brianna Laugher
index f1a7979..5f69186 100644 (file)
@@ -32,13 +32,13 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 9257) $wgRCMaxAge now defaults to three months
 * $wgDevelopmentWarnings can be set to true to show warnings about deprecated
   functions and other potential errors when developing.
-* (bug 18958) $wgEnableVariants is a new boolean value to turn on or off the 
-  entire variant conversion engine, and the default is set to true. Former 
+* (bug 18958) $wgEnableVariants is a new boolean value to turn on or off the
+  entire variant conversion engine, and the default is set to true. Former
   variable $wgDisableLangConversion was superseded by this variable.
 * Subpages are now enabled in the MediaWiki namespace by default.  This is
   mainly a cosmetic change, and does not in any way affect the MessageCache,
   which was already effectively treating the namespace as if it had subpages.
-* (bug 10837) $wgVariant is a user variant selected in the user's preferences 
+* (bug 10837) $wgVariant is a user variant selected in the user's preferences
   if the $wgContLang does not have variant, then the $wgLang is used instead.
 
 === New features in 1.16 ===
@@ -82,7 +82,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 18860) Blocks of IPs affecting registered users can now block email
 * (bug 17093) Date and time are separate parameters in Special:BlockList
 * (bug 11484) Added ISO speed rating to default collapsed EXIF metadata view
-* (bug 18958) Added ability to disable entire variant conversion engine 
+* (bug 18958) Added ability to disable entire variant conversion engine
   per user preferences
 * (bug 19012) Introduce {{NUMBEROFCONTRIBS}} variable to display the number
   of contributions a user has.
@@ -176,12 +176,13 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   uploading/moving is disabled for registered users as well (e.g. only sysops)
 * (bug 18943) Handle invalid titles gracefully at Special:Mostlinked
 * (bug 8873) Enable variant conversion in text on 'alt' and 'title' attributes
-* (bug 10837) Introducing the StubUserVariant class to determine the variant 
+* (bug 10837) Introducing the StubUserVariant class to determine the variant
   variable instead of using this to overrules the user language preference.
-* (bug 19014) If user had deletedhistory right, but not undeleted right, then 
+* (bug 19014) If user had deletedhistory right, but not undeleted right, then
   show "view" instead of "view/restore" on logs.
 * (bug 19017) TOC level calculation error in an odd case
 * (bug 18999) CSS update for RTL interwiki links
+* (bug 18925) history.js removes class names of list elements on initialization
 
 == API changes in 1.16 ==
 
index 742f488..13f9b26 100644 (file)
@@ -1482,10 +1482,10 @@ $wgCacheEpoch = '20030516000000';
 /**
  * Bump this number when changing the global style sheets and JavaScript.
  * It should be appended in the query string of static CSS and JS includes,
- * to ensure that client-side caches don't keep obsolete copies of global
+ * to ensure that client-side caches do not keep obsolete copies of global
  * styles.
  */
-$wgStyleVersion = '222';
+$wgStyleVersion = '223';
 
 
 # Server-side caching:
index 64754fe..75e0d05 100644 (file)
@@ -77,7 +77,9 @@ function diffcheck() {
                                } else {
                                        inputs[1].style.visibility = 'visible';
                                }
-                               lis[i].className = lis[i].classNameOriginal;
+                               if ( typeof lis[i].classNameOriginal != 'undefined' ) {
+                                       lis[i].className = lis[i].classNameOriginal;
+                               }
                        }
                }
        }