User:Whiteknight/Tester Gadget
Type in the name of a book to gather information about the page.
How to Install
editTo install, add these lines to your personal javascript:
import_script('User:Whiteknight/gadgetscore.js'); import_script('User:Whiteknight/pagetester.js');
Your personal Javascript page is most likely located at "User:<YOUR USER NAME>/monobook.js" Go to that page and copy+paste the above line of code and click .
Once you save your javascript, you will need to perform a hard reset, typically by pressing + , or some other key combination.
- This script is tested to work with Internet Explorer 7
- This script is tested to work with Internet Explorer 6
- This script is tested to work with Fire Fox
- This script is not tested in Safari
- This script is not tested in Opera
- Browsers not listed here have not been tested or are known not to work
About This Gadget
editThis gadget displays information about the target page. It can determine:
- Whether the page exists or not
- Whether the page is a redirect, and if so, to where
It counts:
- The number of characters in the page
- the number of "words" in the page (words are non-space chunks of text, such as numbers or symbols)
- The number of templates used
- The number of categories used (but not categories used through template inclusion)
- The number of links used
It lists:
- Templates used in the page
- Categories used in the page (but not transcluded)
- Links on the page
To Do:
edit- Handle nested templates correctly (currently does not)
- Determine if the page has been tagged with specific templates (delete, vfd, merge, query, etc)
- sort links and remove duplicates (sort of works)
- Make sure that categories arent counted as links (they are sometimes)
Version History
edit- 2.01 Added support for IE
- 2.00 Rewrote using new gadgetscore.js
- 1.30 Added link to book in the results, added word count, added list of links
- 1.20 Added list of categories, fixed redirect handling
- 1.10 Added list of templates
- 1.01 refactored template and javascript
- 1.00 First stable version