Commons:Tool integration
From Wikimedia Commons, the free media repository
This project page in other languages:
English | +/− |
Some of the tools described at Commons:Tools are directly integrated into the web interface of Wikimedia Commons with JavaScript via the central scripts MediaWiki:Extra-tabs.js and MediaWiki:Edittools.js which get called in the global Common.js (and its related language subpages) and are enabled by default for all users.
See also Category:User scripts.
Contents |
[edit] The features
- Quick overview over images uploaded by a user: Everytime you are at a user page you will see on the upper right corner three new tabs with "gallery", "orphan" and "untagged" (provided it is switched on for you or you switched it on by yourself). These three tools are from User:Duesentrieb and are located at the Toolserver. They display all the images uploaded by that user in a nice overview and summarise lots of metainfo, like if the image has no license tag and much more. These tools will help us identify users who do not understand the Commons:Licensing policy and those who do not "link" their images (put them in categories and/or on gallery pages).
- Check Usage and Log: Everytime you are at a image page you will see on the right of the other tabs the tabs "check usage" and "log". The new rewritten "check usage" version by Duesentrieb searches the usage of an image in all wikis and is much faster than the old one by User:Avatar. The "log" tab is a direct link to a filter in the file log of Wikimedia Commons that displays the complete upload and deletion history of that file.
- Category overview: At category pages you will have two additional tabs called "tree" and "catscan". The tree-tab shows you the tree of all subcategories below the current category. "Catscan" gives you the intersection of two categories.
- Blocklog at Blockip-Special page: Admins will see at Special:Blockip/Username an additional tab with "Blocklog" which directly points to the block log of that user.
- Only in the relevant namespaces: Of course these tabs are only shown if you are within the appropriate namespace and don't get shown at gallery pages or this page, for example.
- Translateable: The interface strings can be customized for every language via the variables in "MediaWiki:Common.js/YOUR_LANGUAGE_CODE", see MediaWiki:Common.js for the english names and how the script needs to be called (only admins can edit the MediaWiki-namespace).
- Lots of special characters: At editing you have down below the edit field, below the "save" button, a box that enables you to select special characters (and useful macros) not available on your keyboard directly, by clicking on them. You can switch the charset selection with the dropdown box to the charset group you need.
[edit] Examples
If it does not work for you (for whatever reason) you can directly look at the examples here to get a first impression:
- Upload gallery of User:Arnomane
- Check usage of the Flag of France.
- Upload and deletion log of the flag of France
[edit] Switching it off
At the moment these enhancement scripts are enabled for all users.
[edit] Bugs and limitations
- These features were tested with recent versions of Firefox, Konqueror, Opera and Internet Explorer so if it does not work for you it is very likely that something went wrong with your Javascript setting or your browser cache.
- These features do not work if you have JavaScript disabled.
- Another possibility is that the global Common.js file for your language does not contain the script that adds these features into the interface. You can look for yourself if you go directly to the relevant page: "MediaWiki:Common.js/YOUR_LANGUAGE_CODE" and if it does not contain the call of MediaWiki:Extra-tabs.js you can find at MediaWiki:Common.js ask an admin so they can integrate it (only admins can write into the MediaWiki namespace).
- The tabs can be out of the screen on low resolution monitors so that you need to scroll horizontally. But that's not such a big problem and perhaps someone can code a dropdown menu in Javascript for these three buttons so that we have less clutter and can integrate it later.
- There are some more tools on the Toolserver and some nice internal Wikimedia Commons features that could be enabled directly as well... But one step after the other. ;-)