Last modified: 2014-02-12 23:32:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49202, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47202 - wikibits: FF2Fixes.css should not be loaded in Firefox 20
wikibits: FF2Fixes.css should not be loaded in Firefox 20
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.20.x
All All
: High normal (vote)
: 1.21.0 release
Assigned To: Krinkle
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-13 17:21 UTC by Steve
Modified: 2014-02-12 23:32 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---
krinklemail: Backport_to_Stable+


Attachments

Description Steve 2013-04-13 17:21:21 UTC
I'm running FireFox 20 and I noticed that the feedlink icon was no longer showing up in my toolbox. I saw that it's hidden in FF2Fixes.css. In /skins/common/wikibits.js:

window.ff2_bugs = /firefox\/2/.test( clientPC );

It looks to me like FireFox 20 is being read as FireFox 2, and thus the feedlink icon is being hidden. I'm sure this will be an issue for all of FireFox 20-something version numbers.
Comment 1 Marius Hoch 2013-04-13 17:36:31 UTC
Fixed in https://gerrit.wikimedia.org/r/59053 (needs review).

Per default this will only affect Monobook slightly as only that has a F2Fixes.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.
Comment 2 Marius Hoch 2013-04-13 17:47:18 UTC
I forgot to mention, that the accesskeys in Firefox 20+ were also broken.
Comment 3 Gerrit Notification Bot 2013-04-22 11:19:14 UTC
Related URL: https://gerrit.wikimedia.org/r/60254 (Gerrit Change I2fdd0da8c17553a3465ef27c46a4632e135c4405)
Comment 4 Krinkle 2013-04-22 11:23:51 UTC
(In reply to comment #2)
> I forgot to mention, that the accesskeys in Firefox 20+ were also broken.

Can you file a separate bug for that? I doubt whether they are actually broken or whether you should think they are because the code suggests that. Afaik this legacy module is no longer used.
Comment 5 Krinkle 2013-04-22 11:25:16 UTC
Marking for backport, this needs to go in 1.21 since weremoved the remnants of FF2 support a few days before the 1.21 branch point.
Comment 6 Gerrit Notification Bot 2013-05-04 03:28:17 UTC
Related URL: https://gerrit.wikimedia.org/r/62213 (Gerrit Change I2fdd0da8c17553a3465ef27c46a4632e135c4405)
Comment 7 Ori Livneh 2013-05-04 03:31:44 UTC
Merged & backported.
Comment 8 Krinkle 2013-05-04 04:05:44 UTC
Tagging for backport to stable (1.20) since this is affecting that is as well (due to the broken is_ff2 regex).

Since REL1_20 doesn't blacklist firefox 2 yet we should either hotfix the regexp in REL1_20 locally or simply apply the same change to REL1_20 (removing the css hacks for FF2).

Since we've already dropped FF2 in 1.21+ and the css wasn't very maintained, I'd recommend we just remove them.
Comment 9 Gerrit Notification Bot 2013-05-07 14:11:50 UTC
Related URL: https://gerrit.wikimedia.org/r/62605 (Gerrit Change I2fdd0da8c17553a3465ef27c46a4632e135c4405)
Comment 10 Krinkle 2013-05-07 16:53:47 UTC
Landed in stable (REL1_20).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links