r13687 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r13686‎ | r13687 | r13688 >
Date:08:27, 17 April 2006
Author:brion
Status:old
Tags:
Comment:
* (bug 4662) Fix Safari check in wikibits.js
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/skins/common/wikibits.js (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/common/wikibits.js
@@ -3,7 +3,7 @@
44 var clientPC = navigator.userAgent.toLowerCase(); // Get client info
55 var is_gecko = ((clientPC.indexOf('gecko')!=-1) && (clientPC.indexOf('spoofer')==-1)
66 && (clientPC.indexOf('khtml') == -1) && (clientPC.indexOf('netscape/7.0')==-1));
7 -var is_safari = ((clientPC.indexOf('AppleWebKit')!=-1) && (clientPC.indexOf('spoofer')==-1));
 7+var is_safari = ((clientPC.indexOf('applewebkit')!=-1) && (clientPC.indexOf('spoofer')==-1));
88 var is_khtml = (navigator.vendor == 'KDE' || ( document.childNodes && !document.all && !navigator.taintEnabled ));
99 if (clientPC.indexOf('opera') != -1) {
1010 var is_opera = true;
Index: trunk/phase3/RELEASE-NOTES
@@ -82,6 +82,7 @@
8383 * (bug 3884) Add $user parameter to AddNewUser hook, call it for by-email
8484 registrations as well as self-registrations.
8585 * (bug 4327) Report age of cached data sets in query pages
 86+* (bug 4662) Fix Safari check in wikibits.js
8687
8788
8889 == Compatibility ==

Status & tagging log