bioassessment.js is my version of Outriggr's metadatatest.js (which allows you to easily assess the class of an article for a selected Wikiproject from the article page). Compared to Outriggr's script, my version is specifically for WikiProject Biography's {{WPBiography}} template and includes extra drop-down menus for it's other parameters (Outriggr's only fills in the Class parameter).
![](http://upload.wikimedia.org/wikipedia/en/4/4f/Bioassessment.png)
bioassessment.js supports the following parameters:
- Living
- Class
- Priority
- Workgroup
- And also gives some common options for the 'extra' parameters (eg. listas, need-infobox, needs-photo)
bioassessment.js was supposed to be for my own personal use only. But I reckon it does a better job at completely assessing an article with as little manual editing as possible than Outrigger's current script, so I decided to share it. If and when Outriggr implements all of WPBiography's extra parameters that can be chosen in an automatic way, I will switch to his and will get anyone using this script to use his too.
Full credit to Outriggr for the original innovative script. He is working on adding the assessment templates for many more Wikiprojects to his metadatatest.js script. When it is done, I believe it will change the entire way Wikiprojects assess their articles.
Installation
edit- 1. Highlight and Copy the following:
importScript('User:Outriggr/metadatatest.js');
- 2. Click to edit your monobook.js.
- 3. Paste the copied text into the edit box.
- 4. Hit Save page
How to use
edit- Go to an article.
- A whole bunch of menu boxes should appear under the article name. If not you may need to bypass the cache (hit Ctrl+Shift+R in Firefox or Ctrl+F5 in Internet Explorer)
- Choose values for the parameters in the drop-down menus.
- Pick the class of the article by clicking one of the options in the row of links below the menus.
- You will then be taken to the talk page. The filled in WPBiography template will be added to the talk page. Check the template and fill in the listas if required.
- Save the page.
Setting default values
editYou can set default values for each one of the drop-down menus.
To do this add one or more of the following to your
:defaultLiving = "OPTION";
where OPTION is either yes
or no
defaultPriority = "OPTION";
where OPTION is either Low
, Mid
, High
or Top
defaultWorkgroup = "OPTION";
where OPTION is either:
|a&e-work-group=yes
|politician-work-group=yes
|british-royalty=yes
|royalty-work-group=yes
|military-work-group=yes
|sports-work-group=yes
|s&a-work-group=yes
|musician-work-group=yes
Marking edits as Minor
editTo mark your edits as minor edits, add the following to your
assessmentMarkAsMinor = true;
Wish list
editNote that I have no idea how the code any of these, bioassessment.js itself is just a hacked version of metadatatest.js If anyone can code these, feel free to help.
- Change the way the 'extra' parameters are picked to a bunch of checkboxes instead of a drop-down menu.
- Automatic listas
- Set names for values in the menus (eg. the value "|living=yes" would be appear as Yes)
Change log
editMarch 6, 2007
- fix closing brace bug, add drop-down menu for 'extra' parameters.