User talk:Kephir/gadgets/rater
Feedback
[edit]I just discovered the newest version of your rater gadget a few days ago. It looks really great!
I was wondering if you'd be willing to make a modified version of it for doing more detailed article quality research. We're working on a project to do fine-grained article quality ratings on various random sets of articles (using the article quality scale we used for previous research on the quality of student contributions), and having a gadget like this that would make it easy to rate articles (and at the same time, add or update the normal 1.0 ratings as well, since that fine-grained scale can be converted to the 1.0 scale) would make research like that much more feasible and fun. I'm guessing it wouldn't be much of a stretch to adapt your rater gadget to that end. If you're interested in talking about it, give me a ping.--Sage Ross (WMF) (talk) 19:37, 22 January 2013 (UTC)
- Right now my answer will have to be the old cliché: "Patches welcome". I will be busy studying, and it will take me at least this week, and maybe the following one. And even after that I promise nothing.
- But the idea seems interesting, so I am rather unwilling to just leave it. Though I am rather unsure what the idea is. The path of least resistance to support this assessment scheme in some way would be to add data for the relevant parameters. Which is doable without editing any source code. In fact, you could do it right now yourself, after getting familiar with the format used. Though admittedly the task is tedious, non-trivial and error-prone, and I guess the end result would not be satisfying either: the labels would have to be clicked to add the fields, just like with the regular ones.
- And to my taste, the tool looks rather awful, both in user-facing parts and in code (despite two rewrites!), and I have only a vague idea of a way to improve the latter. The fact that I am rather unfamiliar with the local coding conventions and available APIs certainly does not help.
- In short: I might do something, I am rather willing to, but I need some directions about the specifics — how it is supposed to work, and about writing wiki scripts in general. Keφr 18:42, 28 January 2013 (UTC)
- Cool, thanks! I'll get back to you with more details of what I was imagining soon, since I needed to work those out explicitly for myself anyway. And I'll try to do the simple, tedious version when I get a chance. Good luck with studying.--Sage Ross (WMF) (talk) 18:53, 28 January 2013 (UTC)
- I'm still working on it, and I need to code up a template, but here's the basic concept: User:Sage Ross (WMF)/Assessment.--Sage Ross (WMF) (talk) 20:05, 30 January 2013 (UTC)
- I managed to code up a prototype in two days: User:Kephir/gadgets/rater/goldfish.js. Import this script in your Special:MyPage/common.js instead of the "stable" Rater to give it a try. Not everything works yet, most noticeably actually saving the scores, there are a few overlooked situations, but you can already preview on the Source tab what markup will be generated when the tool is ready. You can also run it on User talk:Kephir/sandbox to see how reading already submitted scores works. I see that the template is still not ready. Should I expect any changes?
- This is a temporary location. When the script is done, it will be moved back to User:Kephir/gadgets/rater.js. Keφr 13:03, 9 February 2013 (UTC)
- Excellent! I've done a quick first iteration of the banner (although it doesn't work properly in userspace... preview on an article talk page to see how it works).--Sage Ross (WMF) (talk) 16:24, 11 February 2013 (UTC)
- Hi again Keφr. Are you still interested in working on this? Cheers--Sage Ross (WMF) (talk) 15:08, 13 March 2013 (UTC)
Template brackets
[edit]As here, your tool appears to have missed to }} on the {{talk header}} template. There is another one here. Sorry if I'm making a mistake. Jamesx12345 (talk) 17:07, 26 June 2013 (UTC)
Excellent
[edit]I find this gadget extremely useful in patrolling new articles. It saves me time and effort. Andrew327 18:50, 9 July 2013 (UTC)
class-ext
[edit]Is there a working example of "class-ext" implemented somewhere? I'd like to add "redirect" in the class (quality) dropdown for WPVG. czar · · 15:52, 2 September 2013 (UTC)
- WP:BYPASS your cache and try again. (You could also look up how I implemented this change and copy the parameter specification by hand.) I really ought to start working on the replacement, though... but not now. And may I say, your signature has awful contrast. Please fix it. Keφr 17:49, 2 September 2013 (UTC)
- Thanks
czar · · 01:11, 3 September 2013 (UTC)
- Thanks
class-ext
[edit]Hi, how can I get redirect and the other extended classes to show up as an option? Can't figure it out. Also a little bug report: the rater gadget doesn't show up when you open an article in the background (ctrl+click or middle click in chrome), you then have to reload the page to get it back. --WS (talk) 11:10, 17 October 2013 (UTC)
- You will have to edit
Template:WikiProject whatever/rater-data.js
. The easiest way to do it is to open Rater, add the banner, expand the banner editor ("+" link) and click the "[ed]" link to edit the data. You will get the page editor with some pointers to the data specification. Though this may be somewhat tricky and/or painful if you are not familiar with JSON. Yes, not very user-friendly, but I had little time to work on it. You can also just tell me the project name, and I will do it for you. After adding the data, WP:BYPASS your cache (three times, if it does not work the first time). Remember to add a link to the list of data pages. - I have no idea why Rater would randomly not show up. (Dependency problem, maybe.) I really need to start working on the new version. I will also have to poke User:Mr. Stradivarius… Keφr 16:57, 17 October 2013 (UTC)
The medicine project, have created Template:WikiProject Medicine/rater-data.js and added it to the list; however the syntax might not be completely right yet, it does not seem to work. Can you have a look what should be changed? --WS (talk) 19:56, 17 October 2013 (UTC)
- It works now, was probably a caching issue. Thanks for your help! --WS (talk) 21:10, 17 October 2013 (UTC)
Trying to add new project
[edit]Hi Kephir. I'm trying to add a new project, Wikipedia:WikiProject Women artists to rater. I created this Template:WikiProject Women artists/rater-data.js template, and refreshed my cache multiple times and it's not popping up on the rater tool and I keep getting two warnings - one that it's non existent and a second that the project template is broken. I also added it to the rater project list. Any help would be great. Thanks :) SarahStierch (talk) 08:52, 27 November 2013 (UTC)
- Oh, and I tried to create the template so I could tick the infobox and photograph needed boxes, but I don't think I did it right :( Gah..! SarahStierch (talk) 08:58, 27 November 2013 (UTC)
- I fixed the data syntax for you. Adding a new banner requires editing User:Kephir/gadgets/rater/projects.js, which can be done only by myself and admins. Remember to edit the template itself, though — right now Template:WikiProject Women artists does not actually recognise the parameters specified in the data page.
- I am still waiting for User:Mr. Stradivarius to return to working on Module:WikiProjectBanner… it would make so many things easier. (Data syntax errors would be caught at editing time, new project banners would be recognised right after creation, automatic documentation, no more out-of-sync data…) Perhaps I should start working on it myself, but I am afraid I might not have time for it. Keφr 09:57, 27 November 2013 (UTC)
- Yes, it is about time I started work on this again. Let me take a look at my old code and see how much of it I remember. — Mr. Stradivarius ♪ talk ♪ 10:46, 27 November 2013 (UTC)
Unassessed categories
[edit]The feature for turning links in unassessed categories into talk page links does not seem to be working on any pages, or in any browser. Is this just me? Courcelles 20:39, 27 December 2013 (UTC)
- It was removed in a rewrite, and I forgot to make up my mind whether to remove it from the documentation or add it back. I think I can find the code somewhere… Keφr 21:41, 27 December 2013 (UTC)
- I think it greatly enhances the ease-of-use of this tool, personally. Courcelles 00:12, 31 December 2013 (UTC)
Ideas
[edit]Nice gadget :-) I think it could be nice if the edit summary showed the change of the class, e.g. "Assessment: Physics: class=Stub → Start;" instead of just "Assessment: Physics: class=Start;"... And a option where all the projects get the same class by one click~. Christian75 (talk)
Feedback
[edit]Hi, can you enable that when someone enters "gender", or "gender studies", that Gender Studies will be used? It is apparently case sensitive. Sportfan5000 (talk) 02:56, 20 February 2014 (UTC)
Feedback
[edit]I think a feature that allows all the project tags to be placed in a multi tag/banner template would be helpful. Sportfan5000 (talk) 03:44, 21 February 2014 (UTC)
Feedback
[edit]When I use the categories gadgets available, they automatically show a drop down list of entries autofilling based on the letters already entered, this might be a good feature. I was just trying to add the Composers WikiProject, but it rejected it as I had not pluralized the entry. Sportfan5000 (talk) 03:19, 8 March 2014 (UTC)
- I thought I already did that. Keφr 07:29, 8 March 2014 (UTC)
- Nothing happens when I type in letters. Also is there a "master list" of entries available? I'm often mis-guessing what a WikiProject would be called. I'd be happy to update a bit, if allowed. Sportfan5000 (talk) 16:59, 8 March 2014 (UTC)
- Your browser? The suggestion list is implemented using the HTML5 datalist tag. I am told it does not work on older browsers and Internet Explorer.
- The list of projects is at User:Kephir/gadgets/rater/projects.js. Due to being placed where it is placed. I guess if I move it from the ".js" title to another, it will be available for editing by anyone, but we might lose syntax highlighting. I am a bit worried about vandalism, too. This version of Rater does not handle errors very well.
- And anyway, all of that will be obsolete when Module:WikiProjectBanner is done. Or should I say, if it is done (been really busy lately). Rater will be rewritten from scratch, and will pull data directly from the configuration of banners themselves. Keφr 17:10, 8 March 2014 (UTC)
- I'm using Safari. Maybe as a stop gap measure move the list and get it semi-protected to put off most vandalism, it would be an obscure thing to even get to, though. I'll help however I can. Sportfan5000 (talk) 17:19, 8 March 2014 (UTC)
- Nothing happens when I type in letters. Also is there a "master list" of entries available? I'm often mis-guessing what a WikiProject would be called. I'd be happy to update a bit, if allowed. Sportfan5000 (talk) 16:59, 8 March 2014 (UTC)
Feedback
[edit]It would be great if you could choose between Disambig, Template, Category etc. as well. (t) Josve05a (c) 12:05, 13 March 2014 (UTC)
- Already possible, if the extended quality scale is enabled for a given template. You need to edit the data for that. Keφr 17:45, 13 March 2014 (UTC) Argh! White-on-turquoise hurts my eyes.
Feedback - addition of Wikiproject
[edit]Would be grateful if WP:Physiology could be added to the list of available Wikiprojects. We already have rater data in the appropriate spot. Kind regards, --LT910001 (talk) 04:19, 1 May 2014 (UTC)
- Also, some serious thanks for creating such a useful tool! --LT910001 (talk) 04:19, 1 May 2014 (UTC)
Added your script to the Wikipedia:User scripts page
[edit]Just wanted to drop you a line and let you know I added this to the Wikipedia:User scripts page to give it better visibility for experienced editors. Nice tool, by the way. Meteor sandwich yum (talk • contribs) 03:29, 23 May 2014 (UTC)
- I removed it from the Wikipedia:User scripts page after I received a bug report. You were pinged, but in the name of contingency I thought I'd bring it here as well.
I see that you've just added User:Kephir/gadgets/rater.js to Wikipedia:User scripts. I tried adding this script to my vector.js to use it, but I get an error
TypeError: $(uiBox).draggable is not a function
upon visiting a page. Since you added the script, I posted here, but I'll also ping @Kephir to see what (s)he says.- — Preceding text originally posted on User talk:Meteor sandwich yum (diff) by Dudemanfellabra (talk⋅contribs) 03:38, 23 May 2014 (UTC)
- ...maybe I was a little hasty. Meteor sandwich yum (talk • contribs) 05:01, 23 May 2014 (UTC)
- I fixed it the moment I saw that message. As for code being buggy, well… I actually agree. It was started more as a proof of concept, and I often resorted to quick-and-dirty solutions when I bumped into problems. Still, some people already find it valuable and use it successfully anyway. I was working on a more robust replacement (based on Module:WikiProjectBanner); the general idea I have already figured out, but I constantly lack the time to flesh out the details. Oh well. I might return to it in early July. No promises, though. — Keφr 14:36, 23 May 2014 (UTC)
Draft support
[edit]Can you add Draft class support to "class-ext"? It looks like it'd be simple enough to add, but I thought I'd ask first. Also do you know of any WPs that use class-ext in their rater module? I want to see how it's implemented czar ♔ 15:07, 24 May 2014 (UTC)
- Simple enough indeed. Though if you ask me, I would rather have drafts assessed with regular article grades. There are quite a few projects using class-ext, just search for that string in Template namespace. — Keφr 16:46, 24 May 2014 (UTC)
Compatibility problem with WikiProject Computer science
[edit]Hi! Thanks a lot for your script, it's a very good idea. Unfortunately it's not working properly for the WikiProject Computer science because if a {{WikiProject Computer science}} is already present, it is not detected.
You can see the problem the page Talk:Speech recognition. It would be really great if you could fix this or tell me how to do it! Cheers − Pintoch (talk) 17:09, 15 August 2014 (UTC)
- Hi again! I think I know what the problem is, but I can't edit your script. The page User:Kephir/gadgets/rater/projects.js says "WikiProject Computer Science" whereas the name of the project is "WikiProject Computer science". The fix shouldn't take you more than 3 seconds, so please just do it! − Pintoch (talk) 16:22, 31 August 2014 (UTC)
Project Haiti
[edit]Hi. There is a bug in the script. Please see those diffs. [1] [2] [3] [4] Thank you. --Meno25 (talk) 08:00, 21 November 2014 (UTC)
Feedback by Revi
[edit]I think "Rater" should not appear on User/User talk page. — Revi 15:34, 29 November 2014 (UTC)
Adding 'FM' to selection list
[edit]I use rater a lot, and regularly select from a full list of things for the relevant projects (FA, FL, ...). However I can't select FM, something that would be very useful for the WikiProject I most work with (WP:ANAT). Any chance this could be added? --Tom (LT) (talk) 00:39, 20 December 2014 (UTC)
cosmology wikiproject doesn't show up
[edit]the Wikipedia:WikiProject Cosmology doesn't appear in the rate. what can i do? Tetra quark (talk) 18:41, 8 January 2015 (UTC)
- @Tetra quark: - I think it should be added to the list User:Kephir/gadgets/rater/projects.js Christian75 (talk) 13:26, 24 March 2015 (UTC)
Link to project in edit summary
[edit]@Kephir: It would be really nice if the edit summary could contain a link to the relevant project that is being assessed
--- :D Derry Adama (talk) 19:07, 14 April 2015 (UTC)
Decorative
[edit]What does "decorative" do? And if nothing, how can I disable the param? – czar 14:28, 14 June 2015 (UTC)
Feedback
[edit]I'm using Safari v8.06 on a Mac using OS X Yosemite v10.10.3. Rater is causing sluggish downloads on WP and I keep getting the following message in a pop-up: Error retrieving Rater "projects" data: error Rater will probably fail to work. Is there a work-around? --Atsme📞📧 12:31, 29 June 2015 (UTC)
- (talk page stalker) Perhaps consider using Maxthon for Mac http://www.maxthon.com/ where all user data is encrypted they “Do Not Track" you. I'm not using Yosemite but Rater does not appear to be slowing down Maxton at all. ww2censor (talk) 13:13, 29 June 2015 (UTC)
Proposing as an actual gadget
[edit]Hi Keφr! Have you considered proposing this as an actual gadget? Since I didn't know this script existed, I wrote my own and proposed it as a gadget, but I like yours better. Kaldari (talk) 23:34, 30 July 2015 (UTC)
Feedback on the close button
[edit]I just started using the tool, and I really love it. Would it be possible to get a close button on the upper right hand corner? That's the convention I've seen with every other dialog box popped up by Wikipedia user scripts. (You don't even have to remove the existing close link; even a little "x" in the corner would be great.) APerson (talk!) 13:20, 23 October 2015 (UTC)
Unrecognised parameters
[edit]In this edit, the script added parameters |1=
and |2=
- these are not recognised by {{WikiProject Trains}}
. As far as I am aware, the only WikiProject that does recognise those parameters is {{WikiProject Insects}}
. Also, please put a newline between the templates so that each goes on a line of its own. --Redrose64 (talk) 22:12, 8 April 2016 (UTC)
- @Redrose64: It didn't add them, they were already present but not numbered. Christian75 (talk) 08:49, 30 July 2016 (UTC)
- They were blanks, you could simply have reduced the double pipes to single. (I've since found that
{{WikiProject Women's Health}}
recognises|1=
and|2=
with the same meanings as{{WikiProject Insects}}
.) --Redrose64 (talk) 08:57, 30 July 2016 (UTC)
- They were blanks, you could simply have reduced the double pipes to single. (I've since found that
Auto-remove params
[edit]It would be great if there was a one-click option to erase all the params from a WikiProject (e.g., the equivalent of trashing the project's entry and adding it back). Since many project banners auto-fill their params when left blank (redirects, categories, etc.) based on the namespace, it would be helpful to have an option, say, next to the [+] that removed the params with one click. (Not watching this page, please ping me for a response.) czar 18:45, 19 November 2016 (UTC)
Feature req: Assess all projects at once
[edit]It's often a pain to change assessments on multiple project banners separately (especially when they are all stub/low). An option to assess all as the same quality/importance at once would be helpful. Yes, it wouldn't be useful for some edge cases, but I know it would help with the vast majority of my assessments. czar 18:37, 19 December 2016 (UTC)
- Great idea. ---Another Believer (Talk) 23:07, 19 December 2016 (UTC)
Safari
[edit]Note I can confirm that the tool works perfectly fine on safari (mac version). Ive recently swtiched back to windows and use chrome exclusively now, and it works the same to me on both browsers. InsertCleverPhraseHere 22:15, 12 January 2017 (UTC)
As a side note, I've noticed that it sometimes comes up with suggestions that are not real wikiprojects (i.e. 'harry potter' is a suggestion, but no such wikiproject exists). InsertCleverPhraseHere 22:17, 12 January 2017 (UTC)
Suggestion for Biography editor
[edit]Is it possible for the rater to autofill the 'List as' section using the title of the article? I realize that names should be listed as Last, First Middle. It should be easy to write a quick script that takes the title, strips off anything in parentheses, then puts the last word of the title in front of a comma and puts everything else after. This would vastly speed up rating most biography articles. I do know that Chinese and some other nationalities are sorted differently, but this kind of script would autofill the vast majority of biographies properly and a note could be added that certain nationalities are sorted differently. InsertCleverPhraseHere 22:38, 12 January 2017 (UTC)
- Agree − this would be pretty useful and speed things up much. Just a small note about it: the gadget needs to somehow notify the editor that the listas parameter was filled otherwise people might not check it before trying to save their other changes. --Fixuture (talk) 18:16, 15 January 2017 (UTC)
Praise and suggestion
[edit]Great tool! One suggestion is that once you've saved a rating, there could be an option for it to move to another unrated page within the same WikiProject. T.Shafee(Evo&Evo)talk 01:40, 15 January 2017 (UTC)
- @Evolution and evolvability: Great idea! There's already a variant of the tool that does that for drafts opposed to a specifiable WikiProject (btw for some reason you added that variant instead of the original gadget to your common.js - was that on purpose?). This change (or yet another variant) would probably be one of the most effective ways to improve WikiProject assessments throughout Wikipedia. Maybe the WikiProject Council should get involved here. --Fixuture (talk) 18:22, 15 January 2017 (UTC)
- @Fixuture: Ha, I'd intended to just add the original. I'm not particularly practised at installing .js tools so I probably copypasted the wrong bit! I completely agree it'd really help. It was pointed out at WT:GEN that there are over 2000 un-assessed genetics pages (WP:GEN/S). I added this tool to have a go at looking through some of them. T.Shafee(Evo&Evo)talk 23:06, 15 January 2017 (UTC)
Abandoned?
[edit]It appears that development of the tool has been abandoned by Kephir, about 4 years ago. Is anyone else still working on it behind the scenes? If not we should suggest it as a project to take over to some wikipedian who is also a competent coder. InsertCleverPhraseHere 02:48, 16 January 2017 (UTC)
- Now it doesn't work in Microsoft Edge on a xbox one console. When I click "rater" then it does kick me back to the xbox dashboard when Edge crashes. Any admins could handle it since abandoned? KGirlTrucker81 huh? what I've been doing 00:30, 8 April 2017 (UTC)
- There is a bug on the microsoft edge windowsn version that causes the suggestion list to drop down constantly (i.e. the full list of wikiprojects when the field is empty). This might be causing the crashes you are experiencing, or it could be a different bug altogether. — InsertCleverPhraseHere (or here) 01:13, 20 September 2017 (UTC)
Serious new error
[edit]It is no longer allowing the placing or reading of WikiProject templates that are in "gray". This includes {{WikiProject Chicago}}, {{WikiProject Women}}, {{WikiProject Islam}}, and others. This is a tool breaking error. I really can't use this tool anymore. — Mr. Guye (talk) (contribs)
- Yup, it's broken for many projects with the error message "Error while parsing: Cannot read property 'taskforces' of undefined. Fix the source code and try again." Broken {{WikiProject Computer science}} . Working {{WikiProject Computing}}. Widefox; talk 13:25, 3 November 2017 (UTC)
- This tool is not maintained by its creator any more. Pinging Evad37, as he has expressed some interest in remaking the tool and probably understands more about how it works than the rest of us and might know how to fix the error at least. — Insertcleverphrasehere (or here) 23:26, 3 November 2017 (UTC)
- It is also now removing WikiProject banners when you save, as in updates & keeps the one you are updating, but removes the others. Aboutmovies (talk) 01:37, 4 November 2017 (UTC)
- Aboutmovies example? (in this edit [5] it didn't recognise one if the two project templates, but left the unrecognised one intact) Widefox; talk 11:34, 4 November 2017 (UTC)
- Here is an example. There were likely about 20 around that time period. Aboutmovies (talk) 17:41, 4 November 2017 (UTC)
- Making this edit [6] to (a copy of) the script seems to fix the first error. I'm not sure about the banner removal issue, maybe it's related? And I have started working on my new version of the rater script, but it's not yet ready. - Evad37 [talk] 09:34, 4 November 2017 (UTC)
- Aboutmovies example? (in this edit [5] it didn't recognise one if the two project templates, but left the unrecognised one intact) Widefox; talk 11:34, 4 November 2017 (UTC)
- It is also now removing WikiProject banners when you save, as in updates & keeps the one you are updating, but removes the others. Aboutmovies (talk) 01:37, 4 November 2017 (UTC)
- This tool is not maintained by its creator any more. Pinging Evad37, as he has expressed some interest in remaking the tool and probably understands more about how it works than the rest of us and might know how to fix the error at least. — Insertcleverphrasehere (or here) 23:26, 3 November 2017 (UTC)
Edit request
[edit]![]() | This edit request to User:Kephir/gadgets/rater.js has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Per above, replace line 130
if (tpinfo === null) {
with:
if (tpinfo === null || typeof(tpinfo) === 'undefined') {
- Evad37 [talk] 09:34, 4 November 2017 (UTC)
- @Evad37:
Done --Meno25 (talk) 06:33, 5 November 2017 (UTC)
New script
[edit]My new version of Rater is available at User:Evad37/rater; bug reports and other feedback can be left on the talk page (at WT:RATER). Pinging users who have posted here in the last 12 months: @Another Believer, Fixuture, Evolution and evolvability, KGirlTrucker81, Mr. Guye, Widefox, and Aboutmovies. - Evad37 [talk] 00:42, 23 November 2017 (UTC)
- @Evad37: Thanks for the heads up. I enjoy using this tool, but I'm not very good at installing these things. Hoping this looks right, and I'm still unable to use OneClickArchiver even though I added that as well. Looking forward to trying this out. ---Another Believer (Talk) 05:02, 23 November 2017 (UTC)
- @Evad37: Of course, now that I've tried updating the tool, I no longer see the option to add WikiProject banners or quality assessments. Are you able to tell from my common.js why I'm unable to use both tools? If not, I'll just revert and use the old version. Thanks, ---Another Believer (Talk) 05:03, 23 November 2017 (UTC)
- @Another Believer: Are you looking in the right place? The new tool is located in the "More" menu, if you use Vector skin. I've also had some trouble with Technical 13's version of OneClickArchiver, you may want to try my slightly updated version at User:Evad37/OneClickArchiver - Evad37 [talk] 05:33, 23 November 2017 (UTC)
- @Evad37: I am embarrassed to say, I'm not sure what "'More' menu (Vector skin)" means. If you or anyone else is able to edit User:Another Believer/common.js to assist with either tool, I'd be much appreciated. In the meantime, I went ahead and reverted to the earlier version of "rater" so I can keep adding WikiProject banners to talk pages. ---Another Believer (Talk) 07:28, 23 November 2017 (UTC)
- @Another Believer: Perhaps I didn't phrase it well... What I should have said is that it will be located in the same menu as the "Move" link (for moving a page). Where this is located depends on which WP:Skin you use. The default (Vector) skin puts it in a dropdown menu labelled "More". Other skins don't have a "More" menu, but you would still find Rater near where the Move link is (either the menu at the top of the page, or in a menu on the left-side of the page). You can try having both the old and new scripts enabled at the same time (but then you'll get two "Rater" links in slightly different places). I can't actually edit your common.js (only you and admins can), but if you just follow WP:RATER#Install, it should work. - Evad37 [talk] 09:30, 23 November 2017 (UTC)
- Thanks for clarifying. I'll give this another try soon. ---Another Believer (Talk) 09:34, 23 November 2017 (UTC)
- @Evad37: I used the new tool for the first time and will keep doing so, thanks! I am curious how I can try to install User:Evad37/OneClickArchiver, since I am unable to get Technical 13's version of OneClickArchiver to work. ---Another Believer (Talk) 16:04, 29 November 2017 (UTC)
- @Another Believer: Perhaps I didn't phrase it well... What I should have said is that it will be located in the same menu as the "Move" link (for moving a page). Where this is located depends on which WP:Skin you use. The default (Vector) skin puts it in a dropdown menu labelled "More". Other skins don't have a "More" menu, but you would still find Rater near where the Move link is (either the menu at the top of the page, or in a menu on the left-side of the page). You can try having both the old and new scripts enabled at the same time (but then you'll get two "Rater" links in slightly different places). I can't actually edit your common.js (only you and admins can), but if you just follow WP:RATER#Install, it should work. - Evad37 [talk] 09:30, 23 November 2017 (UTC)
- @Evad37: I am embarrassed to say, I'm not sure what "'More' menu (Vector skin)" means. If you or anyone else is able to edit User:Another Believer/common.js to assist with either tool, I'd be much appreciated. In the meantime, I went ahead and reverted to the earlier version of "rater" so I can keep adding WikiProject banners to talk pages. ---Another Believer (Talk) 07:28, 23 November 2017 (UTC)
- @Evad37: Holy cow this is so much better than the old one. My only complaint is the reliance on TemplateData, but other than that this is awesome. — Mr. Guye (talk) (contribs) 15:28, 24 November 2017 (UTC)
- @Evad37: This looks interesting. I might try it out. Emir of Wikipedia (talk) 16:30, 29 November 2017 (UTC)
- I'll keep using Kephir's version -- not only doesn't it look better (which is a subjective and ultimately meaningless metric, I know), but I don't see why I'd downgrade by losing the ability to add stuff like image or discography requests, listas, most Tasforces, and all that with a few clicks without the need for TemplateData integration or manual input... or any such complexities.... Ben · Salvidrim! ✉ 17:33, 29 November 2017 (UTC)
- You can of course use whichever script you prefer (or both). But I will note that Keipher's script does use its own version of TemplateData, e.g. Template:WikiProject Biography/rater-data.js. Or else it guesses what the parameters might be (User:Kephir/gadgets/rater/default.js) – which I suppose is something my script could do. And Keipher's script isn't actively maintained, so new features like those suggested above aren't going to be implemented, and it could break again in the future (and might not be so easy to fix). - Evad37 [talk] 02:14, 30 November 2017 (UTC)
- I think that including the 'default' parameters that Kephir's rater includes as options for all WikiProjects is necessary, as most of these obscure wikiprojects will never have template-data added. Also, I'd like to see any templatedata options shown as tickable boxes, rather than having to search for them (which requires foreknowledge). Other common Wikiprojects such as WikiProject Videogames can have the templatedata added manually I suppose, but it would be good to have the available work from Kephir's rater migrated over as a starting point somehow. Can we have both? I mean a default, as well as updatable templatedata for new parameters that are added? Not sure exactly how all this works from a technical standpoint so just brainstorming here. — Insertcleverphrasehere (or here) 03:40, 30 November 2017 (UTC)
- @Evad37: What's the status on this? I'd like to use a maintained script but as Salvidrim points out, without having the ability to easily click on common things (e.g. living? for WPBIO) makes it hard to replace Kephir's script for now. Regards SoWhy 08:38, 20 March 2018 (UTC)
- @SoWhy: This has been done more-or-less since November/December last year. If there is TemplateData available, it is used, otherwise a default set of parameters is used. If a set of allowed values is specified, then it is displayed as either a checkbox or dropdown selection. If a parameter is marked as required/suggested, it is shown by default withput having to manually do a parameter lookup. So for WP:BIO, there is a "Living?" checkbox shown that you can easily tick/untick. What hasn't been done, to much extent that I'm aware of, is the migration of old-style rater banner data into TemplateData, or the creation of new TemplateData. Mostly because it is just a bit of a nuisance to do it manually, but its not that hard -- see the tutorial at WP:RATER. - Evad37 [talk] 04:06, 9 April 2018 (UTC)
- @Evad37: Thanks for the reply. Seems like it should be possible to convert rater-data to TemplateData automatically using a bot, no? After all, both use a certain style a bot could easily read. Should I raise this at WP:BOTREQ? Also, maybe your script could be modified to read the old data until it is converted? Regards SoWhy 07:19, 9 April 2018 (UTC)
- @SoWhy: This has been done more-or-less since November/December last year. If there is TemplateData available, it is used, otherwise a default set of parameters is used. If a set of allowed values is specified, then it is displayed as either a checkbox or dropdown selection. If a parameter is marked as required/suggested, it is shown by default withput having to manually do a parameter lookup. So for WP:BIO, there is a "Living?" checkbox shown that you can easily tick/untick. What hasn't been done, to much extent that I'm aware of, is the migration of old-style rater banner data into TemplateData, or the creation of new TemplateData. Mostly because it is just a bit of a nuisance to do it manually, but its not that hard -- see the tutorial at WP:RATER. - Evad37 [talk] 04:06, 9 April 2018 (UTC)
- @Evad37: What's the status on this? I'd like to use a maintained script but as Salvidrim points out, without having the ability to easily click on common things (e.g. living? for WPBIO) makes it hard to replace Kephir's script for now. Regards SoWhy 08:38, 20 March 2018 (UTC)
- I think that including the 'default' parameters that Kephir's rater includes as options for all WikiProjects is necessary, as most of these obscure wikiprojects will never have template-data added. Also, I'd like to see any templatedata options shown as tickable boxes, rather than having to search for them (which requires foreknowledge). Other common Wikiprojects such as WikiProject Videogames can have the templatedata added manually I suppose, but it would be good to have the available work from Kephir's rater migrated over as a starting point somehow. Can we have both? I mean a default, as well as updatable templatedata for new parameters that are added? Not sure exactly how all this works from a technical standpoint so just brainstorming here. — Insertcleverphrasehere (or here) 03:40, 30 November 2017 (UTC)
Awesome tool and 1 suggestion!
[edit]Thanks for the awesome tool and sped up my assessment of articles!
@Evad37, just wondering, can we enhance the script to allow adjustment of projects order? Say I like to shift project A to below Project B without going to the source to manually cut and paste but I can do it via the editor screen. If it is too tough, its okay not to do it. This is more vanity rather than effectiveness! Xaiver0510 (talk) 16:06, 13 July 2018 (UTC)
- Hi Xaiver0510. Reordering is something I might be able to do, but it wouldn't be simple to do – it would likely require a large-ish rewrite. But it would only be for my version of the tool (User:Evad37/rater) and not Kephir's older version which you seem to be using (User:Kephir/gadgets/rater). You can use whichever you want, but don't expect any new features in Kephir's script (which hasn't had any significant changes for several years, and Kephir hasn't made any Wikipedia edits for about a year) - Evad37 [talk] 03:06, 14 July 2018 (UTC)
- @Evad37, wow, major re-write then I guess you can KIV it and not worry unnecessarily unless you happen to have a major overhaul of the script. Yeah I guess I swap to your rater since you are maintaining it! --Xaiver0510 (talk) 01:27, 16 July 2018 (UTC)
Help needed - Please add WikiProject Women in Music to gadget
[edit]Hi everyone. Can someone please add Wikipedia:WikiProject Women in Music to the gadget? Much appreciated and thank you! (cc: Happypillsjr Missvain (talk) 19:36, 18 January 2020 (UTC)
Bug
[edit]If you use the preview function after adding some WikiProjects and then try to save the edits without going back to the editor, the gadget tells one the page was saved, but it wasn't. 1234qwer1234qwer4 (talk) 12:19, 7 May 2020 (UTC)
New WikiProject
[edit]Hello and thank you for this amazing tool. Could you please add Wikipedia:WikiProject Phoenicia to the list? thank you ~ Elias Z. (talkallam) 07:41, 26 August 2020 (UTC)
- @Elie plus: Maybe in the new version? 1234qwer1234qwer4 (talk) 10:42, 26 August 2020 (UTC)
Project renames
[edit]I noticed the rater recently changed an instance of "WikiProject Higher Education" to "WikiProject Universities". Higher education is the current name of the project, whereas universities was the old name; is there a database somewhere that needs an update? {{u|Sdkb}} talk 01:19, 27 September 2020 (UTC)
- @Sdkb: This version of Rater is unmaintained, though I think updating the WikiProject database shouldn't be that hard for uninvolved users with programming knowledge. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 13:17, 27 September 2020 (UTC)
Banner shell error
[edit]Is there any way for someone to deal with the "WikiProject banner shell" error which does not allow the gadget to rate articles? This is an issues where the banner shell has been inserted before an assessment takes place. ww2censor (talk) 11:55, 30 January 2021 (UTC)
Not working
[edit]The gadget seems not to be working. I can't search for any project. Nehme1499 (talk) 23:39, 31 January 2021 (UTC)
- @Nehme1499, this script is not actively maintained. I recommend using installing WP:RATER instead. czar 00:42, 1 February 2021 (UTC)
- Thanks. Nehme1499 (talk) 01:04, 1 February 2021 (UTC)
- Not working for me either. I prefer this script over WP:RATER because it's faster. – Finnusertop (talk ⋅ contribs) 01:10, 1 February 2021 (UTC)
- Indeed it seems to have broken completely. Perhaps someone else can take this one. It is indeed faster then WP:RATER, cleaner and involves less manual filling in. ww2censor (talk) 11:45, 1 February 2021 (UTC)
- @Nehme1499, Czar, Finnusertop, and Ww2censor: There have been many recent amendments of user scripts by Jon (WMF) (talk · contribs), and edits such as this and this may be related to the breakage. --Redrose64 🌹 (talk) 20:46, 1 February 2021 (UTC)
- The timing of the recent breakage certainly fits in exactly with @Jon (WMF):'s recent edit. Perhaps he can explain why and revert it or perhaps suggest an editor who might revise and fix the issues. ww2censor (talk) 22:57, 1 February 2021 (UTC)
- I've reverted my change and applied it in a different way. Note the script has been broken and triggering errors and failed XHR requests on every page view for some time which is spamming our new error logging service. Since the script has low usage this can identify users viewing habits, which is why I am fixing these issues
I've revised the change on this new information. Let me know if that does the trick.
That said, I do not recommend using scripts that are not maintained so echo the suggestion to try a different one if possible. Jon (WMF) (talk) 23:35, 1 February 2021 (UTC)
- @Jon (WMF): still not working (for me). Nehme1499 (talk) 00:06, 2 February 2021 (UTC)
- Also, I don't see any new changes since the 28 January edit. Nehme1499 (talk) 00:08, 2 February 2021 (UTC)
- User:Nehme1499 how about now? I thought we were talking about User:Kephir/gadgets/rater.js. User:Kephir/gadgets/rater/projects.js is not valid JavaScript which means if it's executed it throws errors. Looking at User:Kephir/gadgets/rater.js#L-28 perhaps this was meant to be a JSON page (with `.json` extension not `.js`)
It is being loading in the following places as JavaScript (perhaps more): User:Zppix/common.js, User:CAPTAIN_RAJU/common.js and User:Interstellarity/common.js . If it's meant to be JSON then it should never be executed as JavaScript and those user scripts should be fixed.
As a safety measure having considered all this it now seems like that those user scripts might be the ones at fault. Have created User:Kephir/gadgets/rater/projects.json in the mean time and updated the reference in the code, which should make this work again while we work this out. I am going to need more input from users such as User:CAPTAIN_RAJU, User:Zppix, User:Interstellarity to understand how they are using this script to understand better where these errors are coming from. Jon (WMF) (talk) 02:06, 2 February 2021 (UTC)
- @Jon (WMF): works perfectly on my end now :) Nehme1499 (talk) 04:41, 2 February 2021 (UTC)
- Jon (WMF): Brilliant stuff. It seems to work perfectly and even with the banner shell that I mentioned above. Thanks. Hopefully someone will try to fix the remaining issues as this is a great gadget for accessors. ww2censor (talk) 12:01, 2 February 2021 (UTC)
- Yes, this works for me, too. Interesting that the error in the file extension seems to only have taken effect after Jon's edits. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 21:09, 2 February 2021 (UTC)
- Glad to hear it. The good thing about logging such errors is when we address them we can usually help get bugs fixed :) Jon (WMF) (talk) 20:19, 3 February 2021 (UTC)
- @Jon (WMF): works perfectly on my end now :) Nehme1499 (talk) 04:41, 2 February 2021 (UTC)
New parameter
[edit]Hi, can someone add the following parameters to "Women's sport"?
- basketball
- boxing
- cricket
- fieldhockey
- figureskating
- footy
- golf
- gymnastics
- icehockey
- martialarts
- mma
- netball
- softball
- swimming
- tennis
- tennis-importance
- volleyball
- wnba
Thanks, Nehme1499 23:51, 15 April 2021 (UTC)
- @Nehme1499: Done, I have created Template:WikiProject Women's sport/rater-data.js BlackShadowG (talk) 10:37, 22 April 2022 (UTC)
- @BlackShadowG: Thanks! Nehme1499 22:24, 22 April 2022 (UTC)
Using class parameter in banner shell
[edit]It would be nice if edits like this could be avoided. The article was already rated C-class using the class parameter in the banner shell. The best way to change the rating is to change this parameter rather than adding separate parameters in each project which introduced conflicts. Apologies if this tool was not informed about WP:PIQA — Martin (MSGJ · talk) 09:26, 12 September 2023 (UTC)
- For the record, MSGJ, Kephir hasn't edited in three years and hasn't been (semi-)active for six. CLYDE TALK TO ME/STUFF DONE 23:18, 19 September 2023 (UTC)
- Is there anyone maintaining rater? — Martin (MSGJ · talk) 05:17, 20 September 2023 (UTC)
- Given it seems like no-one's maintaining this, I've added a message box to suggest to people to shift to using User:Evad37/rater instead as it was updated very recently to support WP:PIQA Harryboyles 06:32, 2 January 2024 (UTC)
- Is there anyone maintaining rater? — Martin (MSGJ · talk) 05:17, 20 September 2023 (UTC)
Someone should update this
[edit]A kind soul should update this for WP:PIQA. I liked this one better than Evad's. ~WikiOriginal-9~ (talk) 13:49, 7 February 2024 (UTC)