User talk:Kevinalewis/metadatatest.js

Latest comment: 15 years ago by Outriggr


"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)Reply


A picture. 1000 words.

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 #Installation. 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)Reply

Use edit

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 edit

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 edit

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 edit

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)Reply

Setup edit

Installation edit

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 "{{TemplateName|class=|importance=}}", 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]] <nowiki>
importScript('User:Outriggr/metadatatest.js'); 
assessmentMyTemplateCode = ["{{TemplateA|class=|importance=}}", "{{TemplateB|class=|importance=}}", "{{TemplateC|class=|importance=}}"];
assessmentDefaultProject = "TemplateA";
// </nowiki>

User options edit

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"];

  • 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:
 assessmentMarkAsMinor = false;
  • 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:
assessmentOverrideWatchPref = true;
  • You can set the following defaults related to WPBiography or other projects:
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)

Users edit

  1. Outriggr § 05:28, 3 March 2007 (UTC)Reply
  2. - Titoxd(?!? - cool stuff) 06:01, 3 March 2007 (UTC)Reply
  3. - Jreferee 18:52, 3 March 2007 (UTC)Reply
  4. - • The Giant Puffin • 20:50, 3 March 2007 (UTC)Reply
  5. - Carom 21:05, 3 March 2007 (UTC)Reply
  6. - mqmpk --Mqmpk 21:18, 3 March 2007 (UTC)Reply
  7. - Thereen 22:09, 3 March 2007 (UTC)Reply
  8. RHB Talk - Edits 22:44, 3 March 2007 (UTC)Reply
  9. - GDon4t0 22:53, 3 March 2007 (UTC)Reply
  10. -Balloonguy 22:58, 3 March 2007 (UTC)Reply
  11. - Real96 23:06, 3 March 2007 (UTC)Reply
  12. - Awadewit 23:37, 3 March 2007 (UTC)Reply
  13. NMajdantalk 23:53, 3 March 2007 (UTC)Reply
  14. Errabee 01:07, 4 March 2007 (UTC)Reply
  15. Kimon 02:27, 4 March 2007 (UTC)Reply
  16. Sapphic 19:45, 4 March 2007 (UTC)Reply
  17. STTW (talk) 08:42, 5 March 2007 (UTC)Reply
  18. Tim (Xevious) 11:16, 5 March 2007 (UTC)Reply
  19. Planetneutral 03:10, 6 March 2007 (UTC)Reply
  20. Danski14 03:46, 6 March 2007 (UTC)Reply
  21. GringoInChile 06:33, 6 March 2007 (UTC)Reply
  22. Ilikeverin 22:11, 6 March 2007 (UTC)Reply
  23. BNutzer 15:20, 7 March 2007 (UTC)Reply
  24. MECUtalk 17:40, 7 March 2007 (UTC)Reply
  25. Danaman5 05:54, 8 March 2007 (UTC)Reply
  26. Fsotrain09 00:08, 9 March 2007 (UTC)Reply
  27. Dylan Lake 04:15, 9 March 2007 (UTC)Reply
  28. Nifboy 05:20, 9 March 2007 (UTC)Reply
  29. Nehrams2020 07:13, 9 March 2007 (UTC)Reply
  30. Trevor MacInnis (Contribs) 08:37, 9 March 2007 (UTC)Reply
  31. TodorBozhinov 09:40, 9 March 2007 (UTC)Reply
  32. American Patriot 1776 19:02, 9 March 2007 (UTC)Reply
  33. pd_THOR | =/\= | 01:00, 10 March 2007 (UTC)Reply
  34. --VS talk 00:54, 18 April 2007 (UTC)Reply
  35. Wizardman 17:40, 10 March 2007 (UTC)Reply
  36. PhoenixTwo 18:32, 11 March 2007 (UTC)Reply
  37. treelo talk 04:29, 12 March 2007 (UTC)Reply
  38. W3stfa11/Talk to me 06:49, 12 March 2007 (UTC)Reply
  39. --PresN 05:25, 13 March 2007 (UTC)Reply
  40. Coemgenus 19:02, 13 March 2007 (UTC)Reply
  41. Nol888(Talk)(Review me please) 22:24, 13 March 2007 (UTC)Reply
  42. Agathoclea 11:35, 14 March 2007 (UTC)Reply
  43. Tarret 14:32, 15 March 2007 (UTC)Reply
  44. Cricketgirl 17:04, 15 March 2007 (UTC)Reply
  45. MahangaTalk to me 14:21, 16 March 2007 (UTC)Reply
  46. Kusma (talk) 14:31, 16 March 2007 (UTC)Reply
  47. OhanaUnited 19:14, 16 March 2007 (UTC)Reply
  48. --Derwig 10:44, 17 March 2007 (UTC)Reply
  49. --Veesicle (Talk) (Contribs) 22:46, 17 March 2007 (UTC)Reply
  50. utcursch | talk 15:11, 18 March 2007 (UTC)Reply
  51. Rob C (Alarob) 17:30, 18 March 2007 (UTC)Reply
  52. Nishkid64 21:08, 18 March 2007 (UTC)Reply
  53. Staxringold talkcontribs 23:43, 19 March 2007 (UTC)Reply
  54. JACOPLANE • 2007-03-23 15:43
  55. HornandsoccerTalk 02:51, 25 March 2007 (UTC)Reply
  56. Walkerma 07:15, 29 March 2007 (UTC)Reply
  57. Secretlondon 02:02, 31 March 2007 (UTC)Reply
  58. Hemmingsen 09:32, 5 April 2007 (UTC)Reply
  59. :: Kevinalewis : (Talk Page)/(Desk) 10:06, 5 April 2007 (UTC)Reply
  60. Anas talk? 15:43, 5 April 2007 (UTC)Reply
  61. Baristarim 00:38, 7 April 2007 (UTC)Reply
  62. --Ideogram 17:35, 7 April 2007 (UTC)Reply
  63. Parutakupiu talk || contribs 02:25, 8 April 2007 (UTC)Reply
  64. --Göran Smith 21:04, 11 April 2007 (UTC)Reply
  65. PhantomS 07:01, 12 April 2007 (UTC)Reply
  66. --BirgitteSB 12:57, 12 April 2007 (UTC)Reply
  67. Belovedfreak 09:43, 14 April 2007 (UTC)Reply
  68. Curtangel 00:33, 15 April 2007 (UTC)Reply
  69. --Redaktor 06:27, 17 April 2007 (UTC)Reply
  70. --cj | talk 09:50, 18 April 2007 (UTC)Reply
  71. Indon (reply) — 07:53, 19 April 2007 (UTC)Reply
  72. --Fred | talk 14:50, 19 April 2007 (UTC)Reply
  73. RyguyMN 07:23, 21 April 2007 (UTC)Reply
  74. 52 Pickup 20:26, 21 April 2007 (UTC)Reply
  75. Viriditas | Talk 01:21, 2 May 2007 (UTC)Reply
  76. SatuSuro 12:06, 7 May 2007 (UTC)Reply
  77. --Cometstyles 15:30, 10 May 2007 (UTC)Reply
  78. Bookandcoffee 14:47, 20 May 2007 (UTC)Reply
  79. Noble Story 07:56, 23 May 2007 (UTC)Reply
  80. Triviaa 20:36, 25 May 2007 (UTC)Reply
  81. Bernstein2291 16:04, 2 June 2007 (UTC)Reply
  82. Avi 05:03, 3 June 2007 (UTC)Reply
  83. themcman1 Talk 15:36, 3 June 2007 (UTC)Reply
  84. ZOUAVMAN LE ZOUAVE 20:29, 4 June 2007 (UTC)Reply
  85. KenWalker | Talk 20:55, 16 June 2007 (UTC)Reply
  86. Mudforce 19:01, 20 June 2007 (UTC)Reply
  87. Gnangarra 11:55, 24 June 2007 (UTC)Reply
  88. BrokenSphere 17:45, 28 June 2007 (UTC)Reply
  89. Robert 07:50, 2 July 2007 (UTC)Reply
  90. Nate1481(t/c) 08:42, 2 July 2007 (UTC)Reply
  91. Keith D 09:36, 3 July 2007 (UTC)Reply
  92. zenohockey 18:32, 5 July 2007 (UTC)Reply
  93. Yamaka122 22:10, 6 July 2007 (UTC)Reply
  94. Boricuaeddie (talk · contribs) 22:21, 9 July 2007 (UTC)Reply
  95. Arundhati_lejeune (talk · contribs)
  96. Psychless 15:40, 20 July 2007 (UTC)Reply
  97. meco 21:35, 22 July 2007 (UTC)Reply
  98. petze 09:00, 1 August 2007 (UTC)Reply
  99. tim.bounceback 21:24, 4 August 2007 (UTC)Reply
  100. Danelo 19:35, 9 August 2007 (UTC)Reply
  101. /AB-me (chit-chat) 23:25, 28 September 2007 (UTC)Reply
  102. Captain panda 02:40, 29 September 2007 (UTC)Reply
  103. Countincr ( t@lk ) 20:13, 17 October 2007 (UTC)Reply
  104. Mtmelendez (Talk) 15:47, 11 November 2007 (UTC)Reply
  105. WhatamIdoing (talk) 21:30, 28 November 2007 (UTC)Reply
  106. WEBURIEDOURSECRETSINTHEGARDENwe need to talk. 21:49, 2 January 2008 (UTC)Reply
  107. User:Pamela Gardiner
  108. User:SriMesh —Preceding comment was added at 04:37, 25 February 2008 (UTC)Reply
  109. BrownHairedGirl (talk) • (contribs) 11:19, 13 March 2008 (UTC)Reply
  110. &jj137 (talk) 19:26, 16 April 2008 (UTC)Reply
  111. Camanda (talk) 23:02, 16 April 2008 (UTC)Reply
  112. RyRy5 (talkwikify) 04:36, 1 May 2008 (UTC)Reply
  113. Rosiestep (talk) 18:55, 5 May 2008 (UTC)Reply
  114. Solar-Poseidon 11:45, 8 May 2008 (UTC)Reply
  115. ——Ryan | tc 14:29, 25 May 2008 (UTC)Reply
  116. -- TinuCherian (Wanna Talk?) - 05:04, 29 May 2008 (UTC)Reply
  1. -RunningOnBrains 01:05, 1 July 2008 (UTC)Reply

Templates included edit

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.

Templates

{{AfricaProject | class= }} {{Album\n|class=\n|importance=\n|attention=\n|needs-infobox=\n}} {{BCproject|class=|importance=}} {{Chemicals|class=|importance=}} {{Chemistry|class=|importance=}} {{Cooperatives|class=|importance=}} {{Cvgproj|class=|importance=}} {{Cycling project|class=}} {{Environment|class=|importance=}} {{Ethnic groups|class=|importance=}} {{Film|class=|importance=}} {{Ice hockey|class=}} {{LabourProject|class=|importance=}} {{LGBTProject|class=}} {{NFLproject|class=}} {{NovelsWikiProject\n|class= \n|importance= \n|attention= \n|needs-infobox= \n|incomp-infobox= \n|needs-infobox-cover= \n}} {{Numismaticnotice|class=|importance=}} {{OlympicsWikiProject|class=}} {{Physics|class=|importance=}} {{Saudi|class=|importance=}} {{TelevisionWikiProject\n|class=\n|importance=\n|type=\n|needs-infobox=}} {{Visual arts\n|cat =\n|class =\n}} {{WikiProject China\n|class=\n|importance=}} {{WikiProject College football|class=|importance=}} {{WikiProject Computer science|class=|importance=}} {{WikiProject Database|class=|importance=}} {{WikiProject Denmark|class=|importance=}} {{WikiProject Filmmaking|class=}} {{WikiProject Finland|class=|importance=}} {{WikiProject France\n|small=\n|class= \n|importance=\n|attention=\n|peer-review= \n|old-peer-review=\n}} {{WikiProject Germany|class=|importance=}} {{WikiProject Israel|class=|importance=}} {{WikiProject Law|class=|importance=}} {{WikiProject Malta|class=|importance=}} {{WikiProject Minnesota|class=|importance=}} {{WikiProject Oklahoma|class=|importance=}} {{WikiProject Oregon|class=|importance=}} {{WikiProject Palestine|class=|importance=}} {{WikiProject Radio|class=|importance=}} {{WikiProject Rugby union|class=|importance=}} {{WikiProject Russia|class=|importance=}} {{WikiProject Saints\n|class=\n|importance=\n|needs-infobox=\n}} {{WikiProject Serbia|class=|importance=}} {{WikiProject Taiwan|class=|importance=}} {{WikiProject Wales|class=|importance=}} {{WP Australia|class=|importance=}} {{WP Indonesia\n|importance=\n|class=\n|attention=\n|collaboration-candidate=\n|past-collaboration=\n|peer-review=\n}} {{WP Syria|class=|importance=}} {{WP:FISHING\n|class=\n|importance=\n}} {{WP_SCOTUS|class=|importance=|needs-infobox=|flag=}} {{WP1.0\n| class = \n| importance = \n| orphan = \n| VA = \n| core = \n| coresup = \n| category = \n| v0.7 = \n| WPCD = \n}} {{WPAstronomy|class=}} {{WPAVIATION\n|class=\n|Aircraft-project=\n|Airports-project=\n|Airlines-project=\n|Rotorcraft-task-force=\n|Gliding-project=\n|Red-Bull-project=\n|Defunct-Airlines-project=\n}} {{WPBiography\n|small = \n|living = \n|class = \n|priority = \n|needs-infobox = \n|listas = \n|needs-photo = \n}} {{WPE|class=|importance=}} {{WPFC\n|class=\n|HRE-taskforce=\n|GOV-taskforce=\n|flagneeded=\n|coatneeded=\n|mapneeded=\n|infoboxneeded=\n|structureneeded=\n}} {{WPHawaii|class=|importance=}} {{WPLinux|class=}} {{WPLondon|class=|importance=}} {{WPMILHIST\n|small=\n|nested=\n|class=\n|attention=\n|needs-infobox=\n|B-Class-1=\n|B-Class-2=\n|B-Class-3=\n|B-Class-4=\n|B-Class-5=\n}} {{WPSchools|class=|importance=}} {{WP-Tennis|class=|importance=}} {{WPTyneandWear|class=|importance=}}

Feedback/bugs edit

Scratching my head edit

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. OhanaUnited 16:45, 2 June 2007 (UTC)Reply

The talk page must not have been updated because the script shows GA status now. –Outriggr § 04:33, 3 June 2007 (UTC)Reply
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. OhanaUnited 07:01, 3 June 2007 (UTC)Reply
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. –Outriggr § 22:51, 4 June 2007 (UTC)Reply

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).Reply

WikiProject Fishing edit

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

{{WP:FISHING
|class=
|importance=
}}
Done. –Outriggr § 02:58, 6 June 2007 (UTC)Reply

Assesment not showing edit

Something thats been happening is that I asses an article but it says it is not assesed. Bernstein2291 15:27, 4 June 2007 (UTC)Reply

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. –Outriggr § 22:51, 4 June 2007 (UTC)Reply

listas and Asian names edit

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)Reply

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. –Outriggr § 22:51, 4 June 2007 (UTC)Reply
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)Reply
Has the automatic listas function disappeared now? --Belovedfreak 18:07, 21 June 2007 (UTC)Reply
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)Reply

Bug edit

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)Reply

Not a (harmful) bug. Read the top of this page. The error message doesn't hurt anything. –Outriggr § 22:51, 4 June 2007 (UTC)Reply

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)Reply

Can't take it off. It happens to everyone. –Outriggr § 02:58, 6 June 2007 (UTC)Reply
Oh okay. Thanks! :) ZOUAVMAN LE ZOUAVE 12:18, 6 June 2007 (UTC)Reply

Watchlist edit

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)Reply

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. –Outriggr § 00:36, 16 June 2007 (UTC)Reply
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)Reply
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)Reply

Bug edit

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)Reply

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. –Outriggr § 11:20, 18 June 2007 (UTC)Reply

AfricaProject template edit

Thanks for adding the {{AfricaProject}} 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? --Belovedfreak 17:34, 18 June 2007 (UTC)Reply

Dysfunction edit

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)Reply

Update edit

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. –Outriggr § 08:55, 1 July 2007 (UTC)Reply

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.Outriggr § 05:43, 3 July 2007 (UTC)Reply


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)Reply
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. –Outriggr § 21:45, 1 July 2007 (UTC)Reply
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) OhanaUnitedTalk page 10:02, 2 July 2007 (UTC)Reply
I'm having the same problem. --Belovedfreak 12:25, 2 July 2007 (UTC)Reply
Ditto - :: Kevinalewis : (Talk Page)/(Desk) 15:05, 2 July 2007 (UTC)Reply
Alright, duplication of templates should be fixed. –Outriggr § 05:43, 3 July 2007 (UTC)Reply
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, --Belovedfreak 09:47, 3 July 2007 (UTC)Reply
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 {{NovelsWikiProject}}. :: Kevinalewis : (Talk Page)/(Desk) 10:50, 3 July 2007 (UTC)Reply
OK, I changed the code in my monobook so instead of
assessmentMyTemplateCode = ["{{WPBiography...}}"];
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. --Belovedfreak 17:21, 3 July 2007 (UTC)Reply
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)Reply

Installation instructions updated to deal with this. I use "<nowiki>". –Outriggr § 10:04, 5 July 2007 (UTC)Reply

"updated" or "added" in new edit summary edit

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)Reply

Thanks for the report. Fixed I think. –Outriggr § 21:45, 1 July 2007 (UTC)Reply

not working edit

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)Reply

Did you read User talk:Outriggr/metadatatest.js#Update? OhanaUnitedTalk page 09:54, 2 July 2007 (UTC)Reply
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. –Outriggr § 05:43, 3 July 2007 (UTC)Reply

WikiProject choice edit

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)Reply

I looked at your monobook. Try this:

// [[User:Outriggr/metadatatest.js]]      
 importScript('User:Outriggr/metadatatest.js');
 assessmentDefaultProject = "WPBiography";
 assessmentMyTemplateCode = ["{{WPBiography|class=|importance=}}";
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)Reply

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 = ["{{WPBiography|class=|importance=}}"];
 assessmentDefaultProject = "WPBiography";
Cheers. That fixed it. Mudforce 12:42, 3 July 2007 (UTC)Reply
Thanks mate, you rock! :) ZOUAVMAN LE ZOUAVE 13:41, 5 July 2007 (UTC)Reply

Monobook in categories edit

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)Reply

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)Reply
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)Reply

Not showing up edit

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)Reply

I'm hoping the new setup instructions will clarify this in general, but try the following:
// [[User:Outriggr/metadatatest.js]] <nowiki>
importScript('User:Outriggr/metadatatest.js'); 
assessmentMyTemplateCode = ["{{Film|class=|importance=}}", "{{WPBiography\n|living = \n|class = \n|priority = \n|needs-infobox = \n|listas = \n|needs-photo = \n}}", "{{Television\n|class=\n|importance=\n|needs-infobox=}}"];
assessmentDefaultProject = "Film";
assessmentDefaultWorkGroup = "filmbio-work-group";
// </nowiki>

Copy it as you see it, not from the talk page code. –Outriggr § 04:50, 11 July 2007 (UTC)Reply

That worked, thanks for helping. --Nehrams2020 05:15, 11 July 2007 (UTC)Reply

Image positioning fixed (right?) edit

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. :) –Outriggr § 04:50, 11 July 2007 (UTC)Reply

I went to several articles, and the images all looked fine. Thanks for fixing that. --Nehrams2020 05:16, 11 July 2007 (UTC)Reply

Built-in templates removed edit

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. –Outriggr § 03:04, 19 July 2007 (UTC)Reply

Suggestion/request? edit

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)Reply

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! –Outriggr § 03:37, 5 August 2007 (UTC)Reply

FA button edit

Is it ok to add FA to the shortcut button? OhanaUnitedTalk page 14:32, 5 August 2007 (UTC)Reply

I can't think of a reason this would be needed. FA status is updated by a bot I believe. –Outriggr § 08:44, 7 August 2007 (UTC)Reply

French Wikipedian edit

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 = ["{{Wikiprojet Réalisateur|class=|importance=}}"];
 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)Reply

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"></script>');
 assessmentMyTemplateCode = ["{{Wikiprojet Réalisateur|avancement=|importance=}}"];
 assessmentDefaultProject = "Wikiprojet Réalisateur";
 // 

Let me know if that helps. –Outriggr § 08:44, 7 August 2007 (UTC)Reply

On his user talk page, Stef4854 10:04, 9 August 2007 (UTC)Reply

Bug - deletes comments edit

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)Reply

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)Reply
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)Reply
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. –Outriggr § 23:22, 16 October 2007 (UTC)Reply
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)Reply

Recording whether an article lacks a freely licensed photograph edit

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)Reply

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. –Outriggr § 23:27, 16 October 2007 (UTC)Reply
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)Reply
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. –Outriggr § 21:06, 20 October 2007 (UTC)Reply

WP:Films task forces edit

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)Reply

It doesn't like me edit

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)Reply

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. –Outriggr § 05:08, 19 November 2007 (UTC)Reply

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)Reply

Suggestion edit

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:

  • 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 (<select multiple="multiple"> or checkboxes)

Thanks for all your work on this script! -- Avocado (talk) 00:26, 20 November 2007 (UTC)Reply


Possible glitch? edit

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 = ["{{WPMILHIST|class=Stub}}", "{{WPMILHIST|class=Start}}", "{{WPMILHIST|class=B}}"]; assessmentDefaultProject = "WPMILHIST";

and

assessmentMyTemplateCode = ["{{WPMILHIST|class=}}"]; assessmentDefaultProject = "WPMILHIST";

Any ideas? Thanks! Cricketgirl (talk) 21:24, 28 November 2007 (UTC)Reply

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 : (Talk Page)/(Desk) 09:56, 29 November 2007 (UTC)Reply

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

It's not a solution - only a work around. :: Kevinalewis : (Talk Page)/(Desk) 11:28, 29 November 2007 (UTC)Reply

C-Class edit

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

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, –Outriggr § 03:11, 22 June 2008 (UTC)Reply

Anti-script? edit

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.)Reply