User:Ianezz/Tips and tricks
Jump to navigation
Jump to search
Navigating
[edit]Enable popups
[edit]The Popups script enhances the navigation of both Wikipedia and Wikimedia Commons. You can enable it by adding the following lines to your vector.js
// Popups importStylesheetURI('http://en.wikipedia.org/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Gadget-navpop.css'); importScriptURI('http://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript');
If you want italian messages, add also
importScriptURI('http://it.wikipedia.org/w/index.php?title=Utente:Emc2/strings-it.js&action=raw&ctype=text/javascript');
Searching
[edit]Enlarging the search bar
[edit]If you have a wide monitor, you may want to enlarge the search bar of the Vector skin (which currently is the default for Wikimedia Commons), so suggestion are not truncated when they are displayed.
To do so, you can edit your vector.css adding this:
div#simpleSearch { width: 30em !important; }
This makes the search bar large enough to display 30 characters.
Performing queries with the Mediawiki API
[edit]Just have a look at the Mediawiki API autogenerated documentation, with links.