I'd think you could use GreaseMonkey or (on Chrome) TamperMonkey.
On Sun, Jun 2, 2013 at 11:27 PM, Tom Morris tfmorris@gmail.com wrote:
Is there a way to test this without creating an account on Wikipedia?
Tom
On Sun, Jun 2, 2013 at 11:55 AM, David Cuenca dacuetu@gmail.com wrote:
Based on all feedback gathered during the RfC about a possible inter-project links interface [1], User:Tpt has created a content card prototype (image: [2])
To activate it, follow these steps:
- Go to your common.js file. For a user named "Test" in English
Wikipedia, it would be: https://en.wikipedia.org/wiki/User:Test/common.js 2. Modify it and paste this line: mw.loader.load('// www.wikidata.org/w/index.php?title=User:Tpt/interproject.js&action=raw&ctype=text/javascript' ); 3. Save and go to any Wikipedia page 4. You should see an icon next to the article title, if you don't, refresh your browser cache. *Instructions*: Internet Explorer: hold down the Ctrl key and click the Refresh or Reload button. Firefox: hold down the Shift key while clicking Reload (or press Ctrl-Shift-R). Google Chrome and Safari users can just click the Reload button.
What it does:
- It displays an icon next to the article title
- When you hover your mouse over the icon it shows a *content card*.
- The content card displays information from Wikidata: label, image,
link to Commons gallery, and link to edit Wikidata.
What it is supposed to do in the future when Wikidata supports sister projects:
- It will display contents or links to sister projects
Please leave your feedback on the Request for comments, thanks!
http://meta.wikimedia.org/wiki/Requests_for_comment/Interproject_links_inter...
Cheers, Micru
[1] http://meta.wikimedia.org/wiki/Requests_for_comment/Interproject_links_inter... [2] http://commons.wikimedia.org/wiki/File:Content-card-prototype.png
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l