Wikipedia - Navigation Popups

Forums » Opera for Windows/Mac/Linux » Opera browser

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

1. May 2010, 22:27:47

JustinWSmith

Posts: 1

Wikipedia - Navigation Popups

Users who are logged into Wikipedia can use a "gadget" called "Navigation Popups". To enable in WIkipedia, log in to the site and go to "my preferences" then to the "Gadgets" tab.

The "navigation popups" tool allows the user to hover their mouse over a wikilink to see a preview of the page being linked to. Specifically, it allows an editor to preview a "diff" when monitoring changes to an article. Needless to say, this is very useful to editors who are watching hundreds of pages, and would prefer to not have to open each "diff" in a separate tab; they can simply slide their mouse over the "diff" links and see a preview of the diff. Suspicious "diffs" can then be inspected more closely by clicking the link.

The "gadget" works a couple of times per page, then stops working. Checking the error console, I see:
-----
JavaScript - http://en.wikipedia.org/wiki/Special:Watchlist
Uncaught exception: TypeError: 'keyHooks.hook.apply' is not a function
Error thrown at line 5422, column 3 in <anonymous function: Navpopup.prototype.runHooks>(key, when) in http://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript&270z54:
if (keyHooks.hook.apply(this, []))
called from line 5516, column 1 in <anonymous function: Navpopup.prototype.hide>() in http://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript&270z54:
this.runHooks('hide', 'before');
called from line 5407, column 1 in <anonymous function: Navpopup.prototype.banish>() in http://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript&270z54:
this.hide();
called from line 3728, column 3 in <anonymous function>() in http://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript&270z54:
navpop.banish();
called from line 5036, column 2 in <anonymous function: Mousetracker.prototype.runHooks>() in http://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript&270z54:
if (this.hooks(x, y)===true)
called from line 5125, column 12 in <anonymous function>() in http://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript&270z54:
savedThis.runHooks();
-----

I notice that if I run my mouse over several links very quickly, the above error occurs. However, if I'm careful about only placing the mouse over one wikilink at a time, with a short pause between them, I get no error.

Could someone with knowledge of such things recommend a "fix" (or even a "hack") that would allow me to use "navigation popups" consistently?

I've also reported the problem on a Wikipedia talk page: http://en.wikipedia.org/wiki/Wikipedia_talk:Tools/Navigation_popups#Opera_10.51

Thanks,
Justin

17. May 2010, 14:55:03

StephenBB

Posts: 4

I'm seeing the same errors. Changing 'identify as' doesn't help.

Does anyone have any suggestions?

SB

Forums » Opera for Windows/Mac/Linux » Opera browser