User talk:Jack Phoenix/vector.js

From Cannabis
Jump to navigation Jump to search

Old JS was broken. Removed it from MediaWiki:Common.js[edit source]

Please see MediaWiki:Common.js and its history.

It seems the old JS was no longer working right for me too. It not only automatically opened search results in a new tab. It also opened them in the same tab. So it was creating 2 search result pages. It shouldn't have been doing that.

So I removed the old JS from MediaWiki:Common.js. Instead I added JS that provides an option to open search results in a new tab. It works via Ctrl-click (PC) and Command-click (Mac).

I copied the current JS from working gadget JS from the Wikimedia Commons. See:

--Timeshifter (talk) 13:29, 5 December 2013 (UTC)