User talk:Kevinalewis/metadatatest.js

"Article assessment" SUCKS. That's why I've had this script DELETED. Please do so something more productive on Wikipedia than add grades to talk pages.


 * Have you stopped to consider the drive-by nature of putting an "assessment" template on a talk page without so much as a word of comment? To people who spend time developing articles, this is an affront. Including to me. This activity is not in the spirit of how wikis work.
 * Have you stopped to consider the point of stuffing 99% of Wikipedia articles into the same two or three "grades"? Wow, exciting! The grading system simplifies four or five dimensions of what make an article good into one box, and asks each "assessor" to pick the worst dimension and floor the article to that grade. Brilliant, and completely counterproductive from a human resources standpoint. We've got idiots calling perfectly well developed articles "Start" because there is ALWAYS one box on their Junior Beaver Checklist that they can find unchecked.

Here's your chance to change the course of what constitutes acceptable editing of Wikipedia. No editor has the authority to insist that an assessment remain on a talk page, or that the grade is "official"; if he does, he's claiming ownership of the article WITHOUT EVEN CONTRIBUTING TO THE ARTICLE! This is a worse version of article ownership. Similarly, "projects" do not own articles.

For my part, I've deleted this script to encourage you to stop, THINK, and do something more beneficial with your Wikipedia time. If someone has an admin dig up the code to this script—I'm asking you not to, but I can't stop you—remember that it is ethical to credit the creator of the script, including a link to this talk page. –Outriggr § 01:33, 11 September 2008 (UTC)



Metadatatest.js is a Javascript tool that allows the user to assess an article for a selected project from the article page, rather than visiting, opening, and manually editing the article talk page. The script is not really in "test" mode any more, but resides here for now.

To try it, add the script to your monobook.js page (Special:Mypage/monobook.js)—see. If the script is working, you will see assessment information as shown in the image at right. The color of the article title will roughly match the  color scheme of the assessment grades. The script also informs if the article is currently a good article candidate or featured article candidate, or in peer review, with a link to the related page.

You can assess an article for a given project by using the available drop-down boxes and the grade links below it. The drop-down menu below the assessment allows you to select a project relevant to the article. Clicking on an assessment class below the drop-down menu opens the talk page in Preview mode. (A message on the preview page will say: Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in—this warning has no effect on your ability to save the page.) The appropriate project template will be added or filled in with the parameters you chose. Review the edit, then save the page. The edit summary will be filled in.

You are welcome to sign up to let me know you're trying this script, and you can leave comments and bug reports below. –Outriggr § 05:28, 3 March 2007 (UTC) – 08:01, 29 April 2007 (UTC)

Use
As with any automated tool, you are responsible for your own edits. I'm lazy and not much for change control, so an update could accidentally lead to the script temporarily not working!

Directions
Mostly self-explanatory. Clicking on a grade link once you've chosen drop-down box parameters initiates the loading of the talk page with the updated template.

Keyboard shortcuts (accessibility thingies) are available, with alt-1 (or similar, depending on your browser) being the equivalent of clicking "Stub", alt-2 for "Start", and alt-3 for "B".

A cookie keeps track of the number of articles assessed. This is shown as "(n assessed)", where n is a number and a link, and where clicking on the link resets the counter to zero.

Objective, and authorship
I created this script in response to what I saw as an unmet need regarding the logistics of the article assessment system, and as a programming challenge. I don't necessarily "approve of" the existing assessment system, or any "volume-based" approaches to implementing it. I have on a number of occasions mentioned my concern that there are basically only two non-trivial ratings that can be assigned: "Start" and "B". I do indeed sympathize with editors who are annoyed by "drive-by" assessments (though I think they think these assessments are something they're not—I see them as a rough measurement that contributes to an overall statistical picture). I have stated that my preferred assessment system would have more dimensions, which may not be feasible for a number of reasons. I have also stated that, as long as "this is a wiki", one should not have to go through a committee to give an article a rating that suggests it is "GOOD!".

The philosophy I leave you with is this. The script will help with the implementation of the current assessment system, so that we can see just how useful that system is. It's early in the ballgame. Let's get it moving, even if it ends in a rain-out. It's over. Adding grades to talk-page templates is largely pointless busywork. 04:04, 20 May 2008 (UTC)

All code except for the XMLHttpRequest and Cookie wrappers is by Outriggr. If I have I released it under the GFDL by posting it, OK. If not, I release it under cc-by-sa-2.5.

Branching
To he or she who inherits this script: please rewrite it to act on templates more generally, such that a user can add their own template as object code in their monobook.js. It would include optional arrays of "workgroups" and "yes/no" attributes like "needs-infobox", etc. which would show up in the interface. I'm sure you can also reduce the three AJAXy functions into one. Then see the "known issues".

And if the script commenting sucks, then... ha ha! –Outriggr § 04:33, 29 May 2007 (UTC)

Installation
In your monobook.js,
 * 1) copy and paste the five lines below into monobook.js. (If you are using my former metadata.js, remove it.) Next, you will customize two of the lines so the script does what you want.
 * 2) replace the template code in the "assessmentMyTemplateCode" line with the names of the templates you want to use. Include any template options you wish. Here you are specifying which templates will show up in the script interface for adding to articles. (You could have one or thirty.) Most wikiproject templates have the form "", so when in doubt, just replace "TemplateName" with the desired template. The syntax of this line is to place the template code inside quotation marks, with a comma after each template code except the last, and square brackets around the whole set of quotation marks, code, and commas. You should be able to figure this out by looking at the example installation.
 * 3) specify your default template by changing assessmentDefaultProject to equal whatever you want as a  default. It should be an exact match to a template listed in your collection, with the correct spelling and letter case.
 * 4) Save the edit to monobook.js, then refresh your browser as the page directions indicate.

// User:Outriggr/metadatatest.js &lt;nowiki> importScript('User:Outriggr/metadatatest.js'); assessmentMyTemplateCode = ["", "", ""]; assessmentDefaultProject = "TemplateA"; //

User options
For all options, spelling and CaSe are important. All settings are specified in your "monobook.js".


 * REMOVED - HAS NO CONSEQUENCES IF LEFT IN YOUR MONOBOOK.JS: You can specify the project templates you want to include. (If you don't, a long list of all included projects will default.) In monobook.js, add a line in the following form, replacing the three names listed below with the template names of the projects you want to use—as many or as few as you wish, separated by commas and set off by quotation marks. The drop-down box will then include only the projects you specify here, if they have been set up in the script. The first project in the group will be the default project.

assessmentMyProjects = ["WPBiography", "WPMILHIST"]; or assessmentMyProjects = ["WPAstronomy", "WPAVIATION", "WikiProject China", "Physics"];

assessmentMarkAsMinor = false;
 * You can specify whether assessment talk page edits should be minor or not. To make them "not minor", add the following to your monobook.js:

assessmentOverrideWatchPref = true;
 * The script will maintain all watchlist settings, and if you have the Wikipedia Preference "Add pages I edit to my watchlist" turned on, by default all assessed articles will be added to your watchlist. To prevent this (i.e. to maintain the watchlist status of only pages you already have watchlisted), add the following to your monobook.js:

assessmentDefaultPriority = "Mid"; // (applies to any project with priority/importance ratings) assessmentDefaultWorkGroup = "workgroupname"; // (applies to WPBiography - example "politician-work-group") assessmentDefaultLiving = "yes" or "no"; // (applies to WPBiography - defaults only if status cannot be determined from the article) assessmentDefaultMilHistTaskForce = "task-force-name" // (applies to WPMILHIST)
 * You can set the following defaults related to WPBiography or other projects:

Users

 * 1) – Outriggr  § 05:28, 3 March 2007 (UTC)
 * 2) - Tito xd (?!? - cool stuff) 06:01, 3 March 2007 (UTC)
 * 3) - Jreferee 18:52, 3 March 2007 (UTC)
 * 4) -  • The Giant Puffin •  20:50, 3 March 2007 (UTC)
 * 5) - Carom 21:05, 3 March 2007 (UTC)
 * 6) - mqmpk --Mqmpk 21:18, 3 March 2007 (UTC)
 * 7) - Thereen 22:09, 3 March 2007 (UTC)
 * 8) RHB Talk - Edits 22:44, 3 March 2007 (UTC)
 * 9) - GDon4t0 22:53, 3 March 2007 (UTC)
 * 10) -Balloonguy 22:58, 3 March 2007 (UTC)
 * 11) - Real96 23:06, 3 March 2007 (UTC)
 * 12) - Awadewit 23:37, 3 March 2007 (UTC)
 * 13) ↔NMajdan &bull;talk  23:53, 3 March 2007 (UTC)
 * 14) Er rab ee 01:07, 4 March 2007 (UTC)
 * 15) Kimon 02:27, 4 March 2007 (UTC)
 * 16) Sapphic 19:45, 4 March 2007 (UTC)
 * 17) STTW  (talk)  08:42, 5 March 2007 (UTC)
 * 18) Tim (Xevious) 11:16, 5 March 2007 (UTC)
 * 19) Planetneutral 03:10, 6 March 2007 (UTC)
 * 20) Danski14 03:46, 6 March 2007 (UTC)
 * 21) GringoInChile 06:33, 6 March 2007 (UTC)
 * 22) Ilikeverin 22:11, 6 March 2007 (UTC)
 * 23) BNutzer 15:20, 7 March 2007 (UTC)
 * 24) MECU ≈ talk 17:40, 7 March 2007 (UTC)
 * 25) Danaman5 05:54, 8 March 2007 (UTC)
 * 26) Fsotrain09 00:08, 9 March 2007 (UTC)
 * 27) Dylan Lake 04:15, 9 March 2007 (UTC)
 * 28) Nifboy 05:20, 9 March 2007 (UTC)
 * 29) Nehrams2020 07:13, 9 March 2007 (UTC)
 * 30) Trevor MacInnis (Contribs) 08:37, 9 March 2007 (UTC)
 * 31) Todor→Bozhinov 09:40, 9 March 2007 (UTC)
 * 32) American Patriot 1776 19:02, 9 March 2007 (UTC)
 * 33) —   pd_THOR  undefined | 01:00, 10 March 2007 (UTC)
 * 34) -- VS  talk 00:54, 18 April 2007 (UTC)
 * 35)  Wizardman  17:40, 10 March 2007 (UTC)
 * 36) PhoenixTwo 18:32, 11 March 2007 (UTC)
 * 37) treelo  talk 04:29, 12 March 2007 (UTC)
 * 38) W3stfa11/Talk to me 06:49, 12 March 2007 (UTC)
 * 39) --PresN 05:25, 13 March 2007 (UTC)
 * 40) Coemgenus 19:02, 13 March 2007 (UTC)
 * 41)  N  o  l  888 ( Talk )(Review me please) 22:24, 13 March 2007 (UTC)
 * 42) Agathoclea 11:35, 14 March 2007 (UTC)
 * 43) Tarret 14:32, 15 March 2007 (UTC)
 * 44) Cricketgirl 17:04, 15 March 2007 (UTC)
 * 45) MahangaTalk to me 14:21, 16 March 2007 (UTC)
 * 46) Kusma (talk) 14:31, 16 March 2007 (UTC)
 * 47) OhanaUnited  19:14, 16 March 2007 (UTC)
 * 48) --Derwig 10:44, 17 March 2007 (UTC)
 * 49) --Veesicle (Talk) (Contribs) 22:46, 17 March 2007 (UTC)
 * 50) utcursch | talk 15:11, 18 March 2007 (UTC)
 * 51) Rob C (Alarob) 17:30, 18 March 2007 (UTC)
 * 52)  Nish kid  64  21:08, 18 March 2007 (UTC)
 * 53) Staxringold talkcontribs 23:43, 19 March 2007 (UTC)
 * 54)  JACO  PLANE  &bull; 2007-03-23 15:43
 * 55) HornandsoccerTalk 02:51, 25 March 2007 (UTC)
 * 56) Walkerma 07:15, 29 March 2007 (UTC)
 * 57) Secretlondon 02:02, 31 March 2007 (UTC)
 * 58) Hemmingsen 09:32, 5 April 2007 (UTC)
 * :: Kevinalewis  : (Talk Page) /(Desk)  10:06, 5 April 2007 (UTC)
 * 1)  An as  talk? 15:43, 5 April 2007 (UTC)
 * 2) Baristarim 00:38, 7 April 2007 (UTC)
 * 3)  --Ideogram 17:35, 7 April 2007 (UTC)
 * 4) Parutakupiu  talk 02:25, 8 April 2007 (UTC)
 * 5) --Göran Smith 21:04, 11 April 2007 (UTC)
 * 6) PhantomS 07:01, 12 April 2007 (UTC)
 * 7) -- Birgitte SB  12:57, 12 April 2007 (UTC)
 * 8) Belovedfreak 09:43, 14 April 2007 (UTC)
 * 9) Curtangel 00:33, 15 April 2007 (UTC)
 * 10) --Redaktor 06:27, 17 April 2007 (UTC)
 * 11) --cj | talk 09:50, 18 April 2007 (UTC)
 * 12) &mdash; Indon ( reply ) &mdash; 07:53, 19 April 2007 (UTC)
 * 13) --Fred | talk 14:50, 19 April 2007 (UTC)
 * 14) RyguyMN 07:23, 21 April 2007 (UTC)
 * 15) 52 Pickup 20:26, 21 April 2007 (UTC)
 * 16) &mdash;Viriditas | Talk 01:21, 2 May 2007 (UTC)
 * 17) SatuSuro 12:06, 7 May 2007 (UTC)
 * 18) -- Cometstyles 15:30, 10 May 2007 (UTC)
 * 19) Bookandcoffee 14:47, 20 May 2007 (UTC)
 * 20) Noble Story 07:56, 23 May 2007 (UTC)
 * 21) Triviaa 20:36, 25 May 2007 (UTC)
 * 22) Bernstein2291 16:04, 2 June 2007 (UTC)
 * 23) Avi 05:03, 3 June 2007 (UTC)
 * 24) themcman1 ]] Talk 15:36, 3 June 2007 (UTC)
 * 25)  ZOUAVMAN LE ZOUAVE  20:29, 4 June 2007 (UTC)
 * 26) KenWalker | Talk 20:55, 16 June 2007 (UTC)
 * 27) Mudforce 19:01, 20 June 2007 (UTC)
 * 28) Gnangarra 11:55, 24 June 2007 (UTC)
 * 29)  Broken Sphere  17:45, 28 June 2007 (UTC)
 * 30) Robert 07:50, 2 July 2007 (UTC)
 * 31) Nate1481(t/c) 08:42, 2 July 2007 (UTC)
 * 32) Keith D 09:36, 3 July 2007 (UTC)
 * 33) zenohockey 18:32, 5 July 2007 (UTC)
 * 34) Yamaka122 22:10, 6 July 2007 (UTC)
 * 35)  22:21, 9 July 2007 (UTC)
 * 36) <font face="Kristen ITC"><font color="ForestGreen">Psych <font color="DarkGreen">less   15:40, 20 July 2007 (UTC)
 * 37) meco 21:35, 22 July 2007 (UTC)
 * 38) petze 09:00, 1 August 2007 (UTC)
 * 39)  tim <font color="#CBC4B9">.  bounceback  21:24, 4 August 2007 (UTC)
 * 40) Danelo 19:35, 9 August 2007 (UTC)
 * 41) / AB-me  ( chit-chat ) 23:25, 28 September 2007 (UTC)
 * 42) <font color="orange" face="comic sans ms">Captain  <font color="red" face="Papyrus">panda  02:40, 29 September 2007 (UTC)
 * 43) <font color="#000080" face="Lucida Calligraphy">Countincr <font color="#000080"> ( t@lk ) 20:13, 17 October 2007 (UTC)
 * 44) Mtmelendez (Talk) 15:47, 11 November 2007 (UTC)
 * 45) WhatamIdoing (talk) 21:30, 28 November 2007 (UTC)
 * 46) <font face="Trebuchet MS"> WEBURIEDOURSECRETSINTHEGARDEN we need to talk.  ☆ 21:49, 2 January 2008 (UTC)
 * 47) User:Pamela Gardiner
 * 48) User:SriMesh —Preceding comment was added at 04:37, 25 February 2008 (UTC)
 * 49) Brown HairedGirl (talk) • (contribs) 11:19, 13 March 2008 (UTC)
 * 50) & jj137  (talk)  19:26, 16 April 2008 (UTC)
 * 51) Camanda (talk) 23:02, 16 April 2008 (UTC)
 * 52) <font color="navy" face="Times New Roman">RyRy5 (<font color="navy" face="Times New Roman">talk  ♠ <font color="navy" face="Times New Roman">wikify ) 04:36, 1 May 2008 (UTC)
 * 53) Rosiestep (talk) 18:55, 5 May 2008 (UTC)
 * 54) <font style="color:#fef;background:red;">Solar <font style="color:#000000;background:white;">-Poseidon   11:45, 8 May 2008 (UTC)
 * 55) ——<font face="Ravie"><font color="#000066">Ryan  | <font face="Ravie"> t   • <font face="Ravie"> c   14:29, 25 May 2008 (UTC)
 * 56) -- <em style="font-family:Kristen ITC;color:#ff0000"> TinuCherian  (Wanna Talk?)  - 05:04, 29 May 2008 (UTC)
 * 1) -- <em style="font-family:Kristen ITC;color:#ff0000"> TinuCherian  (Wanna Talk?)  - 05:04, 29 May 2008 (UTC)
 * 1) - Running On  Brains  01:05, 1 July 2008 (UTC)

Templates included
Existing templates (those built into the script) will be removed on July 16. The user now maintains the templates they want in their monobook.js page. See installation instructions.

For adding to your own monobook.js, here is the code for templates that were in the script. You can copy these lines to your monobook.js "assessmentMyTemplateCode" line.

= Feedback/bugs =

Scratching my head
In the article Stanley cup, it's now GA but the script shows that it is still B. I have force refresh the page and it's still there. <font color="#0000FF">OhanaUnited 16:45, 2 June 2007 (UTC)
 * The talk page must not have been updated because the script shows GA status now. –<font color="#112299">Outriggr § 04:33, 3 June 2007 (UTC)


 * So how long is the talk page going to be updated? Cause I changed the ratings last night and now I woke up and it's still showing B. <font color="#0000FF">OhanaUnited  07:01, 3 June 2007 (UTC)
 * It shows GA for me. If it doesn't for you, your browser is from the 1980s or your script cache needs to be refreshed. –<font color="#112299">Outriggr § 22:51, 4 June 2007 (UTC)

All the user options defined seem to work, with the exception of the first one (available options - i.e. assessmentMyProjects). I'm probably doing something wrong, but not quite sure what it is. Any thoughts? Lightwiki 15:34, 22 June 2007 (UTC).

WikiProject Fishing
Could you add WikiProject Fishing to your script. There's only a couple of parameters currently, but it may grow.


 * Done. –<font color="#112299">Outriggr § 02:58, 6 June 2007 (UTC)

Assesment not showing
Something thats been happening is that I asses an article but it says it is not assesed. Bernstein2291 15:27, 4 June 2007 (UTC)
 * Once you have viewed an article that isn't assessed, the browser retains an old copy of the talk page before the assessment. You have to reload/refresh the page. –<font color="#112299">Outriggr § 22:51, 4 June 2007 (UTC)

listas and Asian names
Hello. A number of users are using this script in filling out the project banners for WikiProject Biographies. Care needs to be taken, however, with East Asian names and with others that may be written in the reverse order from what editors are used to. It can be tough to recognize if you're not familiar with Japanese names enough to know that Tanaka is a surname, and Mototsugu is a given name, etc. And I don't blame people for that, certainly. Please just try to be careful with it is all. Thank you. LordAmeth 15:42, 4 June 2007 (UTC)
 * Yes, the script will rearrange any article title "Onename Twoname" into a listas="Twoname, Onename". If the article title does not meet that format, it looks to the category sorts in the article if they exist (requiring another hidden browser request). In retrospect I may as well have programmed it to always get the category sort. –<font color="#112299">Outriggr § 22:51, 4 June 2007 (UTC)
 * Thank you for your response. I can see how such a thing would be overlooked, particularly given your initial purpose in dealing with articles that involve titles (e.g. Prince). I hope this problem can be resolved without too much bother. Cheers. LordAmeth 05:30, 5 June 2007 (UTC)
 * Has the automatic listas function disappeared now? -- Beloved freak  18:07, 21 June 2007 (UTC)
 * I doesn't seem to work anymore. I think it was changed to only look at the sortkey, but many articles don't have a sortkey? I don't know what's wrong with it. ssepp(talk) 12:04, 22 June 2007 (UTC)

Bug
Hi, everytime I assess an article, it brings me to a preview of the talk page (with changes) and tells me: "Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in." It has nothing to do with my session data, for I can edit other articles fine and even logging out and back in doesn't change it. What is it? ZOUAVMAN LE ZOUAVE 19:32, 4 June 2007 (UTC)
 * Not a (harmful) bug. Read the top of this page. The error message doesn't hurt anything. –<font color="#112299">Outriggr § 22:51, 4 June 2007 (UTC)

Okay, but how do we take it off? Or wait, does everybody have the same problem? ZOUAVMAN LE ZOUAVE 06:20, 5 June 2007 (UTC)
 * Can't take it off. It happens to everyone. –<font color="#112299">Outriggr § 02:58, 6 June 2007 (UTC)
 * Oh okay. Thanks! :) ZOUAVMAN LE ZOUAVE  12:18, 6 June 2007 (UTC)

Watchlist
Nice script, very handy when doing a series of assessments. Thanks for doing it. One question: I have my preferences set so that any article I edit, including doing assessments, is automatically added to my watchlist. It looks like using the script to do assessments does not add them to my watchlist. Is there a parameter which can be set to enable that? -- KenWalker | Talk 20:45, 15 June 2007 (UTC)


 * Thank you. I have fixed this issue, so refresh your browser and try again. It was previously pointed out that the script unwatched "watched" articles; that problem and your request are resolved the same way, luckily. –<font color="#112299">Outriggr § 00:36, 16 June 2007 (UTC)
 * I would like to be able to set "Watch this page" to no as a user option for the script. How about setting "yes" as a default and make it user configurable? Cheers, BNutzer 19:32, 17 June 2007 (UTC)
 * I think you must have "Add pages I edit to my watchlist" in Preferences turned on? I have created a new setting to ignore this. It's now in the instructions above, but to repeat, add this to monobook.js:

assessmentOverrideWatchPref = true;
 * Yes, I have it turned on in Preferences, and with your new setting, it is now off when assessing. Thank you very much! BNutzer 20:36, 18 June 2007 (UTC)

Bug
Firstly, love the tool, thanks for doing it! :-) One thing I've noticed though is if an article is already assessed for class, the tool won't give you the option of filling in the importance as well (of course if class isn't filled in, we can specify both using your script). (Seems to be fine if there is more than one WP on the talk page though...)

A similar issue is if importance is filled in but not class, the already-filled in importance won't be displayed by the script. Keep up the good work! Paulbrock 09:55, 16 June 2007 (UTC)


 * Thank you! I think this is not so much a bug as confusion based on the interface. You can select an importance for an article that already has a class - just choose the importance, then press the link for the same class the article already has. The links for "class" are what initiate the loading of the talk page, no matter what you are actually telling the script to change. (That would be a user interface concern, but I think this is used for adding classes 99% of the time.)


 * Come to think of it, the script will recognize a template on the talk page that is not part of the script, if the template has class filled in. However, because that template is not specified in the script, the script doesn't offer any further options for the template, such as the importance field. I don't know if that's related to your concern or not. –<font color="#112299">Outriggr § 11:20, 18 June 2007 (UTC)

AfricaProject template
Thanks for adding the template to the script. I can't seem to get it to work though. It isn't coming up on the drop-down menu at all. I don't know if it's me doing something wrong... (I have added it to my monobook.js). Can you help? -- Beloved freak  17:34, 18 June 2007 (UTC)

Dysfunction
A couple of plaints here. First, I echo the one aired above re not being able to rank an article's importance if its quality is already rated (without being navigated to the talk page itself and left to do it manually, which sort of defeats the script's purpose). But anyway, the script is having problems with Morse v. Frederick. Whichever template I choose, it takes me to the talk page...but with all the WikiProject banners (there are two there now) moved down below the first section. (And while you're there, maybe you could add WikiProject Alaska to the script). --zenohockey 03:46, 28 June 2007 (UTC)

Update
I have updated the script so that users don't have to come to me to add their own templates. I will therefore be deleting all the built-in templates in this script. Each user will have to update their own Special:Mypage/monobook.js page with the templates they want to use. Please see the first User option listed above for instructions on how to do this. You have until at least July 16 to make this change, before I remove the built-in templates. –<font color="#112299">Outriggr § 08:55, 1 July 2007 (UTC)

'''The setting that allowed you to customize the drop-down list had to be disabled. Until the built-in templates are removed in a few weeks, they will all appear in the drop-down. After that, the drop-down will contain only what you specify in your monobook.js.' –<font color="#112299">Outriggr §'' 05:43, 3 July 2007 (UTC)


 * Great idea on top of a very useful script. I found the script would not load until I took out the "assessmentMyProjects =" line which means that both the projects that are built in to the script and those I have set, including duplicates, show up.  I suppose that will sort out when the built in items are taken out.  Anyway, I seem to have it working now but I notice that the line it shows below the Page title (just above the drop downs) can be made to read "A B-class article a B-class article from Wikipedia, the free encyclopedia   [On] • [Hide] • [Off]   [On] • [Hide] • [Off]" by clicking the On button.  The more times I click On, the more it duplicates itself.  Hide and Off don't seem to work.  No idea whether I have something wrong in what I have done or if there is a bug in the code, but for what it is worth . . .  -- KenWalker | Talk 17:47, 1 July 2007 (UTC)


 * Thanks for the report. I should have tested that one. In any case, I have removed "assessmentMyProjects" so the bug shouldn't affect others. You are right about the On/Off function, it's buggy. –<font color="#112299">Outriggr § 21:45, 1 July 2007 (UTC)


 * Right now the drop-down menu shows up a whole list of templates that the project accepts, and has 2 entries for those that I specify in my monobook (1 entry is from the monobook, 1 entry is from the script built-in) <font color="#0000FF">OhanaUnited  Talk page  10:02, 2 July 2007 (UTC)
 * I'm having the same problem. -- Beloved freak  12:25, 2 July 2007 (UTC)


 * Ditto - :: Kevinalewis  : <sup style="color:#C90">(Talk Page) /<sub style="color:#C90">(Desk)  15:05, 2 July 2007 (UTC)


 * Alright, duplication of templates should be fixed. –<font color="#112299">Outriggr § 05:43, 3 July 2007 (UTC)


 * Duplication is fixed (although I still have 2 AfricaProjects), but isn't there a way of just having the projects specified in the monobook, and not the whole list? Also, our monobook pages are now showing up in the unassessed categories of the project pages. Is there any way to fix this? Thanks, -- Beloved freak  09:47, 3 July 2007 (UTC)
 * On the "monobook.js" issue I don't get that, so all I can think is that the project template might be the culprit somehow as it doesn't occur with the one I use, which is . :: Kevinalewis  : <sup style="color:#C90">(Talk Page) /<sub style="color:#C90">(Desk)  10:50, 3 July 2007 (UTC)
 * OK, I changed the code in my monobook so instead of

assessmentMyTemplateCode = [""];
 * it says:

assessmentMyTemplateCode = ["{"+"{WPBiography...}}"];
 * This has stopped my monobook turning up in the unassessed categories. I'd really love to know how to only have my specified projects come up on the drop down list though. -- Beloved freak  17:21, 3 July 2007 (UTC)
 * Thanks for that fix, it was a bit disconcerting seeing my js file showing up in project categories. The fix seems to have worked for me.  -- KenWalker | Talk 05:45, 4 July 2007 (UTC)

Installation instructions updated to deal with this. I use "&lt;nowiki>". –<font color="#112299">Outriggr § 10:04, 5 July 2007 (UTC)

"updated" or "added" in new edit summary
When adding the WPBiography template to a previously empty talk page (Talk:Soulside) or a talk page that only contains text without templates (Talk:8-Eyed Spy), the script does not use "added", but "updated" in the edit summary - if a different template is already present, it uses "added", see Talk:Belly (band). Cheers, BNutzer 14:59, 1 July 2007 (UTC)


 * Thanks for the report. Fixed I think. –<font color="#112299">Outriggr § 21:45, 1 July 2007 (UTC)

not working
I've just tried to install & had no luck, all it seems to do is disable my other scripts, any sugestions? --Nate1481(t/c) 09:09, 2 July 2007 (UTC)


 * Did you read User talk:Outriggr/metadatatest.js? <font color="#0000FF">OhanaUnited  Talk page  09:54, 2 July 2007 (UTC)


 * Yep installed the new version (literary copied & pasted direct from above) but didn't work, have Twinkle & another couple of plug-ins could this affect it?


 * You had four {{{{ in "WikiProject Mixed Martial Arts" instead of two. That shouldn't really hurt anything though, so I don't think I can help you here. –<font color="#112299">Outriggr § 05:43, 3 July 2007 (UTC)

WikiProject choice
When I used the script today, I realized that it didn't automatically choose WikiProject Biography and put WikiProject Africa by default. Many of my edits I had to revert. Has there been a change in the script or did I just mess something up? In both cases, how do I solve the problem? Thanks in advance. ZOUAVMAN LE ZOUAVE 11:57, 2 July 2007 (UTC)

I looked at your monobook. Try this:

// User:Outriggr/metadatatest.js importScript('User:Outriggr/metadatatest.js'); assessmentDefaultProject = "WPBiography"; assessmentMyTemplateCode = ["";


 * I've tried to use the above in my monobook but it doesn't work. If I exclude the bottom two lines I lose the dropdown box although it does tell me the class of an article. If I include them I lose the script presence entirely? Mudforce 10:59, 3 July 2007 (UTC)

I also looked at your monobook. Try this revise version: (mainly the square bracket was missing

// User:Outriggr/metadatatest.js importScript('User:Outriggr/metadatatest.js'); assessmentMyTemplateCode = [""]; assessmentDefaultProject = "WPBiography";


 * Cheers. That fixed it. Mudforce 12:42, 3 July 2007 (UTC)
 * Thanks mate, you rock! :) ZOUAVMAN LE ZOUAVE  13:41, 5 July 2007 (UTC)

Monobook in categories
The use of the assesmentMyTemplateCode entry has a side effect of putting the users monobook.js file in the categories used by the project templates entered. Thus for Wikiproject Yorkshire my monobook.js will appear in the category Unassessed Yorkshire articles. Is there any way to prevent the appearance on monobook.js in the categories? Keith D 22:46, 7 July 2007 (UTC)
 * Yes, there are a couple of ways. The best is probably the one recommended by Outriggr as the last comment above under the heading Update.  The one I use is more work and has no advantage, but it is described immediately above this question. -- KenWalker | Talk 00:53, 8 July 2007 (UTC)


 * Thanks for that, I must have missed the change in set-up and the discussion about the problem. Keith D 12:56, 8 July 2007 (UTC)

Not showing up
I'm not very skilled when it comes to editing my monobook, so would somebody please take a look at User:Nehrams2020/monobook.js and tell me what is wrong with the code, as it is currently not showing up. Am I missing something or are the parameters wrong? I've tried a variety of things but can't figure it out. --Nehrams2020 18:45, 10 July 2007 (UTC)


 * I'm hoping the new setup instructions will clarify this in general, but try the following:

// User:Outriggr/metadatatest.js &lt;nowiki> importScript('User:Outriggr/metadatatest.js'); assessmentMyTemplateCode = ["", "", ""]; assessmentDefaultProject = "Film"; assessmentDefaultWorkGroup = "filmbio-work-group"; // &lt;/nowiki>

Copy it as you see it, not from the talk page code. –<font color="#112299">Outriggr § 04:50, 11 July 2007 (UTC)
 * That worked, thanks for helping. --Nehrams2020 05:15, 11 July 2007 (UTC)

Image positioning fixed (right?)
Yesterday I updated the script, trying to fix the image positioning problem. Can someone confirm the out-of-place images are not occurring any more? It works for me and apparently user:Awadewit, who goaded me into looking at the problem. :) –<font color="#112299">Outriggr § 04:50, 11 July 2007 (UTC)
 * I went to several articles, and the images all looked fine. Thanks for fixing that. --Nehrams2020 05:16, 11 July 2007 (UTC)

Built-in templates removed
The time has come to remove the built-in templates from the script. If you haven't already adjusted your monobook.js to include the templates you want, you will need to do so now: see "Instructions" above. You can always look at the monobook.js file of a person who has it installed properly... this user has included lots of templates (cut and pasted from above): User:Zenohockey/monobook.js. –<font color="#112299">Outriggr § 03:04, 19 July 2007 (UTC)

Suggestion/request?
Hey there. First of all, i have to say this is an excellent program. Secondly... now this might sound like a bit of a impossibility, but maybe in the future would it be possible to implement every single wikiproject (at least the ones that are assigned to WikiProject 1.0) so when we see an article that isint in any wikiproject this will give us the ability to select the most appropriate wikiproject with out haivng to remember the code or having to go to the wikiproject site every time (as this wastes time) and this would speed things up a bit. But appart from that let me say again this little tool is excellent! Keep up the good work.petze 11:10, 1 August 2007 (UTC)


 * Thank you petze. The script and I will never implement every wikiproject, but any one user can take on that task hirself by adding all the wikiproject templates to their own monobook.js, per the instructions given above. The user could then share that code here for anyone else that wanted it! –<font color="#112299">Outriggr § 03:37, 5 August 2007 (UTC)

FA button
Is it ok to add FA to the shortcut button? <font color="#0000FF">OhanaUnited Talk page  14:32, 5 August 2007 (UTC)


 * I can't think of a reason this would be needed. FA status is updated by a bot I believe. –<font color="#112299">Outriggr § 08:44, 7 August 2007 (UTC)

French Wikipedian
Hello, is it somebody who can help me ? I'm a french wikipedian, and i have some difficult to understand your information, how to use this template, ... So, if somebody can translate some explications, or can explains more easy this page in court sentences ... I work on french WP, and my page is : fr:Utilisateur:Stef48, my monobook is fr:Utilisateur:Stef48/monobook.js, i have put : // User:Outriggr/metadatatest.js importScript('User:Outriggr/metadatatest.js'); assessmentMyTemplateCode = [""]; assessmentDefaultProject = "Wikiprojet Réalisateur"; // The Wikiprojet Réalisateur is the name of the template. Thanks for your help.

Best regards, Stef4854 06:34, 6 August 2007 (UTC)


 * Hello Stef. This script is not on the french wikipedia, so this monobook code will not work. You could try:

// en:User:Outriggr/metadatatest.js document.write('<script type="text/javascript" src="'              + 'http://en.wikipedia.org/w/index.php?title=User:Outriggr/metadatatest.js'               + '&action=raw&ctype=text/javascript&dontcountme=s"> '); assessmentMyTemplateCode = [""]; assessmentDefaultProject = "Wikiprojet Réalisateur"; //

Let me know if that helps. –<font color="#112299">Outriggr § 08:44, 7 August 2007 (UTC)
 * On his user talk page, Stef4854 10:04, 9 August 2007 (UTC)

Bug - deletes comments
I have been having this issue lately where besides adding a template or updating one, it also deletes recent comments added to the talk page, such as this. At first I thought it was only erasing my earlier comments, but now twice I have had people ask me why I removed their comments. Any idea what's wrong? Aboutmovies 18:53, 8 October 2007 (UTC)


 * I have got similar problem of the script removing a template.
 * On article Bradford North (UK Parliament constituency) it shows up as "Unassessed" yet has been assessed as Start/Mid by WikiProject Yorkshire which is my default project. If I attempt to reassess the article then it opens up the talk page and removes the UK Parliamentary Constituencies template. I have noticed this behaviour on a few different articles in the last couple of weeks.


 * I am using IE 6.0 on XP at work so no chance of changing it.


 * Keith D 10:13, 16 October 2007 (UTC)


 * Same problem a Keith I fix it by hard refreshing the page but it has cause me to reassess already assessed articles. --Nate1481(t/c) 10:58, 16 October 2007 (UTC)


 * If you've visited the talk page before you hit the article page, the script will make changes to the cached version of the talk page. If the talk page has changed since, it will overwrite the changes, sort of like editing a non-current page revision. Nate is right about the hard refresh, but that's inconvenient. I don't really know how to fix this. Would loading the talk page in "diff" mode help? At least you'd see what changes had been made that way.
 * The answer, I suppose, is to have the script request the page in the background again, which uses up more bandwidth and anyway, I'm largely done tweaking this script at this point; but I'd be willing to try having the script load the talk page with a diff in anyone cares. –<font color="#112299">Outriggr § 23:22, 16 October 2007 (UTC)
 * Loading the diff version would work for me. Otherwise I don't know if I'm deleting anything until someone accusses me of censorship with their comments. Aboutmovies 00:09, 17 October 2007 (UTC)

Recording whether an article lacks a freely licensed photograph
This is really neat! Identifying whether an article needs a freely licensed photograph would dovetail neatly with assessing article quality and importance. This is an "easy" decision to make compared to assessing quality or importance so wouldn't add substantial work to any reviewer. It would be great if you could modify the script to introduce a "needs a free photograph" option. To see the current requested photo status, it would be necessary to check whether the article talk page had one of the "requested photo" templates (reqphoto, reqphotoin, reqfreephoto or reqfreephotoin). The simplest way of flagging the article as needing a free photo would be to add reqphoto to the talk page; there is a User:PhotoCatBot that can later read the WikiProjects an article is assigned to and use this to add more specific parameters to reqphoto that will sort the article into a more specific subcategory of Category:Wikipedia requested photographs - I guess to save that bot work, it would be possible to add the appropriate parameters the moment that reqphoto is applied but that would make the programming substantially more complex. At the least, an option to slap on a "reqphoto" flag when assessing article quality would be useful, but I don't know how much work it would require to adapt the script? Regards, Purgatorio 12:00, 15 October 2007 (UTC)
 * Thanks for your interest! I'm afraid I'm somewhat uninterested in changing the script at the moment, but I will keep this in mind if I ever do an overhaul. I hope you will be able to use it anyway. –<font color="#112299">Outriggr § 23:27, 16 October 2007 (UTC)
 * Thanks for that. I might have a go at creating a script for the photo requirements myself - I take it your script is freely licensed so that I could base mine on yours? Purgatorio 16:30, 20 October 2007 (UTC)
 * It is either GFDL or CC-by-SA, so yes. If you want, you could provide me with the code I'd need to implement this - then I'd be willing to add it. :) I assume you would add a checkbox to the interface that adds the template reqphoto to the talk page if none of the four you mention already exist. The script is still driven by adding an "assessment template" though, so if you're looking for a one-stop shop to add any sort of talk-page template from an article page interface, a new script might be best. –<font color="#112299">Outriggr § 21:06, 20 October 2007 (UTC)

WP:Films task forces
Is it possible to add new task forces to the parameters of the Film banner? We've recently created new tasks forces from merging projects into ours and it would be beneficial if I could add the task force while assessing the article. Also down the line, it is also possible to indicate if the article needs an image/infobox if it is in the banner's parameters? Just curious, and would appreciate any assistance with this very helpful tool. --Nehrams2020 06:45, 26 October 2007 (UTC)

It doesn't like me
I've just installed the script to see whether it makes assessments faster for me. (There seem to be advantages and disadvantages, beginning with the fact that [Category:Unassessed-Class_medicine_articles takes me directly to the Talk pages.) However, the script doesn't seem to be working normally. Every assessment produces a Talk page error:
 * "Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in."

I can then save the Talk page, but it adds an extra step. I've already logged out and logged back in, and the problem persists. I've already tried editing a single page at a time insted of opening ten or so at once. I've tried opening article pages directly instead of going to the Talk page first. Any thoughts? Has anyone else encountered this problem? Has anyone else used this script in Apple's Safari? WhatamIdoing (talk) 20:52, 18 November 2007 (UTC)


 * The error message is "normal" and doesn't affect the script's operation (see instructions above). The script opens the talk page in "preview" mode not because of this error, but so that you can ensure it is making appropriate changes before saving. I could do away with that "preview" altogether, but I don't feel that would be responsible... as for the category problem, I know someone made a separate script to open the article page from the Talk: category links, but I don't know how to find it. Check with user:OhanaUnited, I think that's the person who I saw mention it. –<font color="#112299">Outriggr § 05:08, 19 November 2007 (UTC)

That sounds like a sensible rationale. I had just figured that the unexpected behavior meant I was doing something wrong. Thanks, WhatamIdoing (talk) 17:37, 19 November 2007 (UTC)

Suggestion
Since the article title is colored if the article is assessed under any wikiproject, and since the script doesn't display what task forces have already been added to the assessment template, I find I have to skip to the talk page directly for any article that already has at least one assessment template. I don't know if any of these feature ideas are realistic, but here they are: Thanks for all your work on this script! -- Avocado (talk) 00:26, 20 November 2007 (UTC)
 * display a list of wikiprojects the page has already been adopted by
 * display task forces already applied
 * allow for selection of multiple task forces at once ( or checkboxes)

Possible glitch?
I love the idea of this script, but it seems to be not working for me :( When I try to assess something, I can select WPMILHIST from the drop down list, then click on Start/Stub whatever, which then leads me to the talk page (no probs with that) but the class has become "class=yes" rather than "class=Stub". Obviously I can change it in the preview, but that seems like no easier than doing it by hand.

I have tried both

assessmentMyTemplateCode = ["", "", ""]; assessmentDefaultProject = "WPMILHIST";

and

assessmentMyTemplateCode = [""]; assessmentDefaultProject = "WPMILHIST";

Any ideas? Thanks! Cricketgirl (talk) 21:24, 28 November 2007 (UTC)
 * I can't see quite what the problem is - but is appears to be related to whether or not you select a Work group / Task force. If you select one it works fine, if you don't any selection of Class fails and "Yes" is substituted. I hope that helps "a bit". :: Kevinalewis  : <sup style="color:#C90">(Talk Page) /<sub style="color:#C90">(Desk)  09:56, 29 November 2007 (UTC)

Excellent thanks! Cricketgirl (talk) 10:54, 29 November 2007 (UTC)


 * It's not a solution - only a work around. :: Kevinalewis  : <sup style="color:#C90">(Talk Page) /<sub style="color:#C90">(Desk)  11:28, 29 November 2007 (UTC)

C-Class
In the unlikely case someone edits this script, can you add support for C-Class? Tito xd (?!? - cool stuff) 09:33, 19 June 2008 (UTC)

It is true that
 * a) I have come to wish I'd never unleashed this script on wikipedia (but it seemed like an interesting programming project at the time);
 * b) I no longer edit here, in principle at least, and
 * c) I have grave doubts about more assessment levels...

However, I am also somewhat of a utilitarian, and the last thing I want is for someone to say "this script is abandoned and doesn't support C class, so let's go make a new script that may encourage even more wiki behaviors that don't need any encouragement!"

I have concluded that it is probably less harmful to Wikipedia for me to quietly add "C" to this script, regardless of personal grievances, than to ignore your request and send the "assessors" on more wild goose chases than they may already be on. Therefore I have done so. From a brief test it looks to be working. Regards, –<font color="#112299">Outriggr § 03:11, 22 June 2008 (UTC)

Anti-script?
Outriggr, I realize you have some deep misgivings about article assessment, and wouldn't normally request enhancements. However, I wonder whether it would be easy to tweak this script to remove project banners just as easily as it adds them? There may be several hundred WPMED banners that really ought not be there (usually because it ought to be WikiProject Genetics or WikiProject Alternative medicine instead). WhatamIdoing (talk) 04:19, 3 July 2008 (UTC) (who removed the banner for WikiProject Medicine from an article on growing trees the other day.)