Hoo man has uploaded a new change for review.
https://gerrit.wikimedia.org/r/59053
Change subject: Fix Firefox 2 detection in wikibits
......................................................................
Fix Firefox 2 detection in wikibits
Per default this will only affect Monobook slightly
as only that has a FF2Fixes.css which is invoked in
case wikibits detects the browser as Firefox 2.
But it might also have an impact on extensions and
other custom scripts relying on these globals.
Change-Id: Ib11c502233f879ba3ef0063ad871474165a1eb8d
---
M skins/common/wikibits.js
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/53/59053/1
diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js
index c2c00db..3076811 100644
--- a/skins/common/wikibits.js
+++ b/skins/common/wikibits.js
@@ -24,7 +24,7 @@
// For accesskeys; note that FF3+ is included here!
window.is_ff2 = /firefox\/[2-9]|minefield\/3/.test( clientPC );
-window.ff2_bugs = /firefox\/2/.test( clientPC );
+window.ff2_bugs = /firefox\/2\./.test( clientPC );
// These aren't used here, but some custom scripts rely on them
window.is_ff2_win = is_ff2 && clientPC.indexOf('windows') != -1;
window.is_ff2_x11 = is_ff2 && clientPC.indexOf('x11') != -1;
--
To view, visit https://gerrit.wikimedia.org/r/59053
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib11c502233f879ba3ef0063ad871474165a1eb8d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Hoo man <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits