User talk:Evad37/rater.js
This is a subpage of Evad37's talk page, where you can send them messages and comments. |
|
Archives: Index, 1, 2Auto-archiving period: 3000 days |
This script has a documentation page at User:Evad37/rater. |
Index
|
||
This page has archives. Sections older than 3000 days may be automatically archived by Lowercase sigmabot III when more than 400 sections are present. |
Edit summaries
If all set to same class/importance, this can be shown once and not repeated for each project. - Evad37 [talk] 05:41, 9 November 2017 (UTC)
Better TemplateData integration: Labels
In the Add parameter prompt, also show parameter's labels (if defined) - Evad37 [talk] 05:41, 9 November 2017 (UTC)
Suppress auto-start for redirects.
As far as I know, there is no reason to add wikiprojects to redirects. Is there an easy way to suppress the 'autostart' feature for redirects? It would also be nice if it wouldn't pop up when looking at the history of an article, but I can live with that if it is not an easy thing to do. — Insertcleverphrasehere (or here) 14:11, 7 January 2018 (UTC)
- Many WikiProject banners templates track redirects and auto-rate as redirect when the parameters are absent. Last I checked, though, the rater.js defaults to blank parameters instead of start+low parameters, if that's what you mean. czar 23:24, 7 January 2018 (UTC)
- Czar Are you saying that we should be adding wikiproject templates to redirects? I've never done this and I've seen the removed from articles that had been converted to redirect. I was referring to the autostart feature, which is disabled by default, but which automatically triggers and pops the rater up when no wikiprojects are listed on the article's talk page. IMO the autostart feature is amazing as is, but should be disabled on redirects, because nearly all redirects lack wikiprojects and there is little reason to add wikiprojects to redirects, though perhaps if some people like to tag wikiprojects onto redirects (not sure if this is a thing or not) it would be better to create a toggle for this? — Insertcleverphrasehere (or here) 23:44, 7 January 2018 (UTC)
- Yes, many but not all WikiProjects classify redirects (Category:Redirect-Class articles). The ones that don't might remove the banner rather than letting the template sit as "unknown-class". Ah, I misunderstood "autostart" and don't have that activated myself so don't mind me czar 00:48, 8 January 2018 (UTC)
- Czar Are you saying that we should be adding wikiproject templates to redirects? I've never done this and I've seen the removed from articles that had been converted to redirect. I was referring to the autostart feature, which is disabled by default, but which automatically triggers and pops the rater up when no wikiprojects are listed on the article's talk page. IMO the autostart feature is amazing as is, but should be disabled on redirects, because nearly all redirects lack wikiprojects and there is little reason to add wikiprojects to redirects, though perhaps if some people like to tag wikiprojects onto redirects (not sure if this is a thing or not) it would be better to create a toggle for this? — Insertcleverphrasehere (or here) 23:44, 7 January 2018 (UTC)
Create Talk page if nonexistent?
@Evad37: At the moment, the script cowardly refuses to manifest when the "Talk" link is red. Would it be possible to enable it to create the talk page as well? `— AfroThundr (t•c)
- I haven't had an issue with this. As long as the mainspace page exists, the Rater tab consistently shows and will create the talk page. czar 02:09, 30 May 2018 (UTC)
- @AfroThundr3007730: I can't reproduce this either... do you see any errors in the browser javascript console (how to open) when this happens? - Evad37 [talk] 02:34, 30 May 2018 (UTC)
- Guess it must've been a gremlin. Restarted the browser and everything's working fine. Figures. — AfroThundr (t•c) 03:19, 30 May 2018 (UTC)
- @Evad37: Ok, I figured out what was happening. The only places I ran into this error is on category pages. The script appears on category talk pages, but not on the category page itself. Everywhere else still works fine. — AfroThundr (u · t · c) 08:59, 31 May 2018 (UTC)
- @AfroThundr3007730: Is this still happening for you? The script works for me on e.g. Category:Foods and Category:NA-importance Professional wrestling articles - Evad37 [talk] 04:02, 1 August 2018 (UTC)
- Yep, only on the category talk page will the script work for me. On the category page itself, the tab doesn't appear and I can't summon it with the shortcut either. — AfroThundr (u · t · c) 15:02, 1 August 2018 (UTC)
- @AfroThundr3007730: Is this still happening for you? The script works for me on e.g. Category:Foods and Category:NA-importance Professional wrestling articles - Evad37 [talk] 04:02, 1 August 2018 (UTC)
AFC banner and Geology
Hi Evad! Thanks for another great, timesaving tool. Two things: (a) When an article is reviewed at AFC and accepted into main space, but no other assessment is made by the reviewer, only {{WikiProject Articles for creation}} will be added to the talk page. Even if rater_autostartNamespaces = 0;
is set, Rater will then detect the AFC banner and no longer autostarts. Would some kind of "if only found 'WikiProject Articles for creation' then autostartanyway"-exemption be an idea? (b) In Special:Diff/847566836/847566871 the addition of {{WikiProject Geology}} caused the concurrent addition of {{Geology|class=Stub}} under the banner shell. Thanks again, Sam Sailor 10:53, 26 June 2018 (UTC)
- Yeah this would be a good change. Glad to see that someone else is using the autostart feature, I requested it and Evad37 put so much work into it, but I was kinda afraid that I might be the only one using it 😉. I wish that the autostart didn't pop up when visiting page history pages though, as it can be a bit annoying. Toggleable for redirects would be great as well, as I rarely have the need to add wikiprojects to redirect talk pages, and is generally just an annoyance. But really, whatever is convenient. — Insertcleverphrasehere (or here) 11:32, 26 June 2018 (UTC)
- It is, the autostart feature, a very nice detail, and Evad deserves a lot of thanks for implementing it.
As Insertcleverphrasehere suggests there are also cases where it could be nice to suppress autostart, e.g. when the article contains {{Db-*}}, {{Proposed deletion/dated}}, and {{Prod blp/dated}} and perhaps some I did not think about? I fully understand if it's not the first priority on your to-do-list. Sam Sailor 14:18, 6 July 2018 (UTC)
- It is, the autostart feature, a very nice detail, and Evad deserves a lot of thanks for implementing it.
Load time and blp parameter in banner shell
On an article like Jalaluddin Haqqani, I initially thought that Rater for some reason would not load. It turned out that I was wrong, it just takes (for me at least) some 8–10 seconds before it loads. Stick in a Hang on! Loading! message?
Special:Diff/809115520/849092349: Rater changed the |living=yes
to |living=no
in {{WikiProject Biography}}, but did not make changes to {{WikiProject banner shell|blp=yes}}. Sam Sailor 14:18, 6 July 2018 (UTC)
- @Sam Sailor: First part is Done – there is now a progress bar shown while loading. - Evad37 [talk] 14:34, 25 March 2019 (UTC)
- Thank you. Sam Sailor 14:36, 25 March 2019 (UTC)
Above, not below
In cases like this, the banner goes below the comment. Setting it to go on top of everything else is likely correct in most cases? Thanks, Sam Sailor 21:56, 16 July 2018 (UTC)
Remove Template:Stub from the bottom of the page when rating as higher than a stub
Many stub articles include {{stub}} or some variant. When rating the article as higher than a stub (ex. start or C class) it would be nice if these were removed automatically. LittlePuppers (talk) 04:29, 2 August 2018 (UTC)
- This feature could certainly be useful, but I would prefer an option to prompt the user, or a checkbox, instead of a fully automatic removal. — AfroThundr (u · t · c) 02:30, 3 August 2018 (UTC)
- Yeah, I'd be fine with that, too, I'd just prefer it to be a bit less manual. LittlePuppers (talk) 02:32, 3 August 2018 (UTC)
- A prompt. — Insertcleverphrasehere (or here) 02:35, 5 September 2018 (UTC)
- Yeah, I'd be fine with that, too, I'd just prefer it to be a bit less manual. LittlePuppers (talk) 02:32, 3 August 2018 (UTC)
Having the listas parameter for {{WikiProject Women scientists}} autofill like {{WP Bio}}
Could it be possible to automatically generate the listas parameter for {{WikiProject Women scientists}}, as it acts like the {{WP Bio}}s listas parameter.
Thanks, Dreamy Jazz 🎷 talk to me | my contributions 10:32, 5 September 2018 (UTC)
- Or better yet, can it just copy the parameter to all the projects like it copies the importance and class? --Nessie (talk) 22:20, 12 April 2019 (UTC)
Having the dashed purple line that surrounds the box for auto-fill disappear when something is copied in
At the moment the textbox for listas will show as auto-filled on the dialog box, even when a new value has been copied and pasted in. It should probably not show auto-filled when a value is copied and pasted in. Thanks, Dreamy Jazz 🎷 talk to me | my contributions 09:40, 6 September 2018 (UTC)
Detect the use of 'n' and 'y' when used in a parameter that takes 'no' or 'yes' (such as {{WP Bio}}s living)
It would be nice if the checkbox showed up for parameters such as living when the value of 'n' or 'y' is used. Thanks again, Dreamy Jazz 🎷 talk to me | my contributions 09:48, 6 September 2018 (UTC)
Add the |blp=
parameter to the {{WikiProject Banner Shell}} when living has been updated to yes
It would be useful when the |living=
parameter is set to 'yes' on supporting WikiProject Banners, the |blp=
parameter is also added and set to 'yes' in the {{WikiProject Banner Shell}}. This is not currently the case and a diff where it does not happen is here Special:Diff/859193293. Thanks, Dreamy Jazz 🎷 talk to me | my contributions 11:04, 12 September 2018 (UTC)
Detecting Category:Living people on the article
It may be worth to automatically tick the living box for {{WikiProject biography}} when the article has Category:Living people. Thanks for a great tool, Dreamy Jazz 🎷 talk to me | my contributions 20:52, 27 September 2018 (UTC)
Quality only
Is there a way to set it so that it doesn't automatically fill in importance? I wanted to go through all of the articles that have a quality rating from one wikiproject, but are missing it from another, and just use the same rating, without needing to remove the automatically-assessed importance each time.
Thanks,
--DannyS712 (talk) 04:53, 17 November 2018 (UTC)
- Yes, I'd appreciate this as well - and does it do anything intelligent beyond just autofilling low for everything? LittlePuppers (talk) 05:45, 1 December 2018 (UTC)
Does the script have keyboard shortcuts for 'add wikiproject' or 'save changes' buttons?
--Gryllida (talk) 10:58, 24 November 2018 (UTC)
- @Gryllida, yes, press "enter" when it loads to automatically open the "add wikiproject" prompt. You can then use autocomplete and "enter" to add the wikiproject. The button to add another WikiProject will automatically be selected, if you want to add another. To save changes, press tab seven times (to select the button) and "enter" once more. czar 19:38, 24 November 2018 (UTC)
- Thanks Czar; it'd be nice to add a separate keyboard shortcut for saving changes also as I would like to add a ton of newly created pages to wikiprojects to increase their involvement in the improvement of these pages. Gryllida (talk) 10:11, 25 November 2018 (UTC)
- @Gryllida:I checked your contribs and it seems you haven't been using Rater in a while. Since you made this comment, Evad37 added alt-shift-S as a save button! That should make it a lot easier to use for you. Good luck! Prometheus720 (talk) 15:12, 4 May 2019 (UTC)
- Thank you Prometheus720. I needed to stop because of this bug, any help would be welcomed. Gryllida (talk) 19:54, 4 May 2019 (UTC)
- @Gryllida:I checked your contribs and it seems you haven't been using Rater in a while. Since you made this comment, Evad37 added alt-shift-S as a save button! That should make it a lot easier to use for you. Good luck! Prometheus720 (talk) 15:12, 4 May 2019 (UTC)
- Thanks Czar; it'd be nice to add a separate keyboard shortcut for saving changes also as I would like to add a ton of newly created pages to wikiprojects to increase their involvement in the improvement of these pages. Gryllida (talk) 10:11, 25 November 2018 (UTC)
Add an unset option for set all
Sometimes I find myself in a situation where I want to unset all ratings on a page, for example when the importance is automatically filled in for a bunch of wikiprojects. At the moment this requires unsetting them all manually, or setting all the parameters to something and then setting them to nothing. What would be useful is an "Unset" option for the set all box, which would save time. Danski454 (talk) 20:00, 2 February 2019 (UTC)
- I could use a modified version of this. Sometimes I need to remove all quality ratings from all banners (such that the banner templates can auto-assess as redirects, for example), but while the "set all" drop-down lets me set B-class, etc., there is no option to set all quality ratings to blank. This is slightly different from unset all, but could be useful. czar 20:24, 2 February 2019 (UTC)
- I should be able to add an "(unset)" option to both of the Set-all dropdowns – will look into it. - Evad37 [talk] 02:17, 3 February 2019 (UTC)
Listas and living parameters
When I am going through Category:Biography articles without living parameter I might be rating several articles in a short space of time. For the fist few the listas and living are present (and listas autofills), but after around 2-3 articles the rater box does not already include living and listas. There does not seem a obvious reason for this (the class still autofills). There are not any errors in the console which seem to come from rater. Dreamy Jazz 🎷 talk to me | my contributions 09:39, 6 February 2019 (UTC)
Removing class and importance tags incorrectly placed on templates crashes
Some WikiProject templates do not have importance parameters (e.g. {{WikiProject Biography}}). If an importance parameter is added, and the user tries to remove it using rater, then the program crashes when generating an edit summary. This also occurs when removing the class parameter from {{WikiProject Essays}}. The error is at lines 1046 and 1047.
This could probably be fixed by adding && banner.parameters.class
and && banner.parameters.importance
to the conditions. Danski454 (talk) 14:24, 16 February 2019 (UTC)
Are parts of the script case sensitive?
I was trying to use the script, but had issues on the MILHIST template. I checked the template data to one that did work (Template:WikiProject_Biography) and one thing I noticed was that the biography template had the values all lowercase, while MILHIST had some with first letter capitalized. Is this what is causing it not to work? If it is, I would assume the MILHIST template would need to be changed, as opposed to the script, right? Thanks! WelpThatWorked (talk) 20:03, 28 February 2019 (UTC)
MHIST
Great script! I especially like the auto-load feature that I enabled. However, when I add {{WikiProject Military history}}, the template does not show up on the rater. Further, it auto fills the parameters b1=
b2=
b3=
b4=
b5=
as "no". It would be nice to be able to actually see the template and check or un-check those parameters. Additionally, not saying you have to do it, but leaving a space where wiki projects could add information like task forces to their template would be great. Thanks again! Eddie891 Talk Work 16:37, 2 March 2019 (UTC)
- @Eddie891, have you seen the configuration options on the main page? You can configure how the MILHIST banner parameters appear (and their defaults) czar 16:43, 2 March 2019 (UTC)
- Czar, tks for responding. Is it configured that the template does not appear after adding it? Will upload images shortly Eddie891 Talk Work 21:02, 2 March 2019 (UTC)
- Does not appear where after adding what? The instructions show how to edit the MILHIST banner's TemplateData to change the default labels when adding the banner. (You can also add other task force parameters through the rater interface.) czar 21:08, 2 March 2019 (UTC)
- Czar, just making sure you see this Eddie891 Talk Work 21:15, 2 March 2019 (UTC)
- See these: (it's there, just doesn't show up)
- Eddie891 Talk Work 21:14, 2 March 2019 (UTC)
- Hm. Strange. If you type "WikiProject Military history" perfectly each time, it should add the right template as long as the connection is good. If that doesn't work, might be a bug. (If it is a bug, might be hard to track down, as it usually works.) But more often than not, I would just type "military" in that input box and select the right project name rather than needing to get the template name exact. czar 22:17, 2 March 2019 (UTC)
- Does not appear where after adding what? The instructions show how to edit the MILHIST banner's TemplateData to change the default labels when adding the banner. (You can also add other task force parameters through the rater interface.) czar 21:08, 2 March 2019 (UTC)
- Czar, tks for responding. Is it configured that the template does not appear after adding it? Will upload images shortly Eddie891 Talk Work 21:02, 2 March 2019 (UTC)
- MILHIST, and maybe one or two other banners, have a nonstandard internal structure which for some reason results in the script (most likely, the action=parse API) taking a really long time to determine the applicable classes and importances, retrieve the TemplateData, and appear – 10 to 12 seconds on my connection (which is about 7Mbps download speed). Once it's done, it will be cached in localStorage for future use, which should make it faster next time (on the same computer). But that's not such a great UX, so I might have to make a special-case hardcoding of the classes/importances for MILHIST. - Evad37 [talk] 00:45, 3 March 2019 (UTC)
- Evad37, Ok, thanks for responding! Eddie891 Talk Work 13:55, 3 March 2019 (UTC)
- An FYI for @Audiodude: - You might already know about nonstandard MILHIST template mentioned above, but just in case I thought to pass this your way. Cheers! JoeHebda (talk) 18:43, 3 March 2019 (UTC)
- Evad37, Ok, thanks for responding! Eddie891 Talk Work 13:55, 3 March 2019 (UTC)
Errors when adding additional parameters to {{Computing}} template
For some reason, when I add an additional parameter (in this case |security=
) to {{Computing}}, Rater produces an error dialog Warning
. It seems that adding a parameter is triggering the check for a valid WikiProject banner. This only happened the first time I added a parameter to the template. Attempting to add another one in a separate edit (e.g. {{security}}
is not a recognized WikiProject banner. Do you want to continue?|security-importance=
) didn't trigger the warning again. — AfroThundr (u · t · c) 02:51, 15 March 2019 (UTC)
- I have reproduced this issue adding
|american=
and|american-importance=
to {{Wikiproject Politics}}. AntiCompositeNumber (talk) 20:22, 24 March 2019 (UTC)- @AfroThundr3007730 and AntiCompositeNumber: Fixed - Evad37 [talk] 07:42, 25 March 2019 (UTC)
Maths rating
Thank you once again for Rater.
On articles where the only talk page banner present is {{maths rating}}, Rater will autostart if rater_autostartNamespaces = 0;
is set, try e.g. Mellin transform. I suppose this could be because {{maths rating}} neither uses Template:WPBannerMeta nor has a title containing "WikiProject". Sam Sailor 07:50, 10 April 2019 (UTC)
- {{maths rating}} is a sore subject for me. People have asked them in the past to standardize and only have one banner like the rest of us, but they were not into it. Banner standardization is something that I have already started work on and it's on my to-do list to go over there and start yet another conversation about it. I don't think that Rater should work around their system--I think that they should standardize. Just my two cents. Prometheus720 (talk) 15:07, 4 May 2019 (UTC)
Bug Report: Rater Breaking on Microorganism
Rater broke for me on Microorganism. Text below: Rater [v.1.2.0] Initialising:
Loading talkpage wikitext... Done!
Parsing talkpage templates...
Checking if page redirects... Done!
Retrieving quality prediction... Done!
Building interface... Failed. API error: TypeError: Cannot read property 'length' of null ___________________________________________________________________________________________________________________________________________ I have never had this happen before and I've used Rater for dozens of pages (thanks by the way). Any idea on what is causing this problem on this page specifically? I can tell you more about my beta settings and so on if that might matter. Thanks again for this lovely tool! Prometheus720 (talk) 15:54, 11 April 2019 (UTC)
- One of the templates on the talk page isn't being parsed correctly by the script. I'll have to investigate further to determine the exact problem. - Evad37 [talk] 13:49, 15 April 2019 (UTC)
- Also found breaking on Stepnogorsk Scientific and Technical Institute for Microbiology when I tried to add the Wikiproject:Military History template. I think they have a weird one. It didn't show up in the panel (though it was added in the source code). When I tried to open Rater again after adding, it broke and would not load. Upon checking the source in the talk page I found that they have a really weird syntax. Another problem project is maths (they have two templates, one of which is a glorified category called maths banner). It is on my to-do list to talk to these projects and some others and attempt to standardize so that tools like yours are more effective. If you are interested in that conversation let me know. Prometheus720 (talk) 15:59, 15 April 2019 (UTC)
- @Evad37: I found another page, Julian Huxley, which has the milhist banner and yet does not break Rater! This one came up looking pretty weird, yes, but it still worked. I had no trouble. So I guess the question is, what is different between the format of this milhist banner and how it is set up on pages that break Rater? Prometheus720 (talk) 01:23, 14 May 2019 (UTC)
- Also found breaking on Stepnogorsk Scientific and Technical Institute for Microbiology when I tried to add the Wikiproject:Military History template. I think they have a weird one. It didn't show up in the panel (though it was added in the source code). When I tried to open Rater again after adding, it broke and would not load. Upon checking the source in the talk page I found that they have a really weird syntax. Another problem project is maths (they have two templates, one of which is a glorified category called maths banner). It is on my to-do list to talk to these projects and some others and attempt to standardize so that tools like yours are more effective. If you are interested in that conversation let me know. Prometheus720 (talk) 15:59, 15 April 2019 (UTC)
Any way to include pageview count from page information in the Rater panel?
I make my decisions on importance based mainly on 3 factors--traffic, importance to the project's discipline (which is sort of like anticipating traffic if the article is better linked-to), and which projects have the most responsibility for the article based on content. Pageview count is a huge part of my assessments, there is no access key for it, and I have to open it in a new tab. It really slows me down. I would estimate that I could probably rate another 25% to 30% more articles in an hour if pageviews were just easy to see in the panel. I am NOT asking for machine-generated importance ratings. I think that would not be good. I'm asking for you to provide the information to users, that's all. I would trade waiting a little longer for it to load, by the way. It's almost certainly faster than me doing it manually. Anyway, thanks again for Rater! — Preceding unsigned comment added by Prometheus720 (talk • contribs) 16:06, 13 April 2019 (UTC)
- @Prometheus720: if you go to Special:Preferences#mw-prefsection-gadgets and enable Xtools, does that do what you want? LittlePuppers (talk) 18:19, 13 April 2019 (UTC)
- Wow, yes it does! That is really helpful, thanks! Perhaps this should be mentioned in the documentation, though? Prometheus720 (talk) 18:38, 13 April 2019 (UTC)
Ignoring AFC banner?
Is there a way to exclude the {{WikiProject Articles for creation}} banner so that the autostart can work if that is the only WikiProject banner on the talk page? I feel like any article with only the AFC banner probably needs a more specific banner on the talk page. --Nessie (talk) 20:45, 14 April 2019 (UTC)
- I totally agree, Nessie. Might be good for {{Wikiproject Biography}} as well. Honestly, I wouldn't mind having a setting to just have it come up on every page I visit--but only if it had an off button in the interface rather than making me go back and flip the bit in my js settings. Sometimes I have to actually use Wikipedia instead of editing it! Prometheus720 (talk) 15:03, 4 May 2019 (UTC)
Feedback on WP Invention
Greetings, When I attempt to add "Invention" I get the warning box saying it's not a wikiproject. When I type "WikiProject Invention" it adds correctly. Example here. Also on that page, if I activate Rater a second time, Invention does not show up on the list as already being there even though it is present. JoeHebda (talk) 13:42, 15 April 2019 (UTC)
- @JoeHebda: If you start typing "Invention" and then select the entry from the dropdown menu, it will automatically add the "WikiProject " to input box. Otherwise, if you just hit enter after typing, the script thinks you mean the non-existent {{Invention}}. The script allows this – typing in any template name (with a warning that it might not be a project banner) – since sometimes project banners have shortcuts like {{HWY}} → {{WikiProject Highways}}, or occasionally a template might not be in the list of project banners (e.g. if it isn't categorised correctly, or if it is very new). - Evad37 [talk] 14:08, 15 April 2019 (UTC)
Access key for "Save changes" button?
Wondering if there is any keypress to do the "Save changes"? The reason I ask is that the button moves up & down the page depending on how many WPs there are. And sometimes the entire Rater box has a lot of empty whitespace after only 1 or two wikiprojects. JoeHebda (talk) 14:34, 15 April 2019 (UTC)
- Done I've added s as an access key – Alt+⇧ Shift+S on Windows. (I do intend to redesign the whole dialog box at some point, but it hasn't been my highest priority) - Evad37 [talk] 15:09, 15 April 2019 (UTC)
- Thanks! - For my Chrome-based browser, Alt+s also does the save. Cheers, JoeHebda (talk) 20:48, 15 April 2019 (UTC)
WikiProjects at bottom of talk page, not found
Greetings, Today for first time Rater showed no WPs on this talk page. After I moved to top, Rater now sees them. A minor concern since probably 99-percent of pages are setup correctly. Regards, JoeHebda (talk) 14:54, 26 April 2019 (UTC)
Failed on Jane Sbarborough
Rater failed on Jane Sbarborough and I could not remove it from the page.--Ipigott (talk) 14:01, 4 May 2019 (UTC)
- If you looked on the talk page, there were {{}} weirdly-bracketed statements. You can still see them if you check the history, of course. It looks like they were trying to make some sort of template for Women in Red. I followed the link to an Edinburgh edit-a-thon page and found almost identical text there. I replaced the template with the proper one and added Women's history and an initial assessment. Feel free to add to it or revise my assessment if you disagree. Rater should now work on that page, btw. Thanks for posting in here! Prometheus720 (talk) 14:59, 4 May 2019 (UTC)
Article with Template - WikiProject banner
Greetings, For Talk:Antonia of Florence, the wikicode was for {{WikiProject banner|1= and Rater is not following the redirect to {{WikiProject banner shell|1=. I added the "shell" & now Rater correctly displays the WPs. JoeHebda (talk) 12:55, 11 May 2019 (UTC)
- @JoeHebda: Fixed (that redirect was created relatively recently, so I needed to add it as a known redirect of WikiProject banner shell) - Evad37 [talk] 02:29, 12 May 2019 (UTC)
The
user-interface seems too unfriendly to me. ∯WBGconverse 15:41, 11 May 2019 (UTC)
- @Winged Blades of Godric: Could you be more specific about what you don't like, or any ideas you have to improve the interface? - Evad37 [talk] 02:32, 12 May 2019 (UTC)
- @Winged Blades of Godric: The new version of Rater has new interface you might prefer (and which can be customised to an extent) - Evad37 [talk] 06:10, 28 November 2019 (UTC)
Rater speedup tip
Greetings, At my common.js, I moved the Rater line up near the top (second place) of all the scripts. I noticed overall this causes a slight speedup for the Alt+5 to open Rater. Regards, JoeHebda (talk) 13:51, 20 May 2019 (UTC)
needs-image para not visible in drop down for some WikiProjects
When adding parameters for {{WikiProject Women scientists}} and {{WikiProject Australia}}, the drop down does not display |needs-image=
as an option, even though the templates use them. They can be added by typing the whole parameter in, but why is it not in the drop down like the other parameters? --Nessie (talk) 15:15, 21 May 2019 (UTC)
- NessieVL, It may be because both template have templatedata (Meaning the script does not grab them itself), but the templatedata does not have the needs-image parameter listed. WelpThatWorked (talk) 15:50, 22 May 2019 (UTC)
- WelpThatWorked I didn't even know what templatedata was, but I think I updated them correctly. I assume it takes a bit to propagate to the tool? Is this also how some template parameters (like some on {{WikiProject Biography}} have checkboxes or dropdowns instead of textboxes?
- Well, that doesn't seem to have worked, atleast not for both. {{WikiProject Australia}} is ok, but not {{WikiProject Women scientists}}. --Nessie (talk) 15:08, 31 May 2019 (UTC)
- WelpThatWorked I didn't even know what templatedata was, but I think I updated them correctly. I assume it takes a bit to propagate to the tool? Is this also how some template parameters (like some on {{WikiProject Biography}} have checkboxes or dropdowns instead of textboxes?
WPs after text
Added two WPs and saw that the WPs was added after the text on the talk page. Christian75 (talk) 15:33, 22 May 2019 (UTC)
Missing | for blp=y
Used the "rater menus", pressed preview/close and then save and got this[1] Christian75 (talk) 15:33, 22 May 2019 (UTC)
Rater posted to the article and not the talk page
See this edit where I used Rater and it didn't post on Template talk:Cryptista but on Template:Cryptista. --Nessie (talk) 15:11, 31 May 2019 (UTC)
Lockup on WP Bio, importance parameter removal
Hi, At Fred Huntington article, when I "X"ed the importance parameter, Rater stalls out. Have seen this behavior on a few other WP Biography articles. A minor issue. Regards, JoeHebda (talk) 14:26, 7 June 2019 (UTC)
- I have noticed this also, on any WP that does not use
|importance=
but has one listed anyways. If you try to remove it, rater stalls out.--Nessie (talk) 03:57, 9 June 2019 (UTC)
Rater for WikiProject military history
Greetings, Wondering if something in Rater tool can be changed to hilight a different color WPMILHIST when it displays? It is a very complicated wikiproject and I just received another talk page message about the incorrect assessments from Rater when I just take the defaults. The details are here on my talk page.
@Adamdaley: has alerted me several times of these errors. It would be helpful in Rater if that wikiproject was hilighted so I can then "Cancel" Rater & let someone else (an expert) deal with the article. Note: the backlog at Category:Unassessed biography articles was previously over 80,000. Yesterday I just completed the Hs & am now working on letter Is.
Rater is a really great tool for being able to quickly do assessments on a large number of articles. Many articles in the backlog are awaiting assessments for 1 to 2 years! Regards, JoeHebda (talk) 16:19, 13 June 2019 (UTC)
- Just don't have the rater tool. It's easy to assess WP:MILHIST. Another no no is putting all no's for the b class criteria. Adamdaley (talk) 09:44, 14 June 2019 (UTC)
- @Adamdaley: - It would be helpful for MH Assessment Department if that no-no could be added to a new section title, maybe Assessment tips. This guidance and more of your knowledge is valuable. Thanks for contributing. Regards, JoeHebda (talk) 13:13, 15 June 2019 (UTC)
- @Adamdaley: I understand your frustration. MILHIST is a very active and respected WikiProject, and I know that Joe made an oops or two per your assessment rules. However, Rater is an incredibly useful tool for almost every other project on Wikipedia, and it's growing in usage because of that. I have personally used it to assess thousands of articles by myself--that task would be impossible if I had to go back and forth between talk page editing and the main article, looking at this or looking at that. Rater allows me to assess from the article page, without remembering exact names of projects (thank you autocomplete), and it allows me to very quickly see all the permitted classes of pages and select accurate ones. It also has autocomplete for extra parameters, which is absolutely 100% needed for the work Joe is doing (working in Biography which could overlap with literally ANY WikiProject out there). You say, "don't have the rater tool," but Joe is not working on MILHIST directly--Joe is working on probably thousands of articles that have many different WikiProjects which needto be added. And this will be a problem whether or not Joe is the one working on this backlog, or whether or not Joe uses Rater, or whether or not it's even a backlog. Every new article made through WP:BIO is going to have this same problem--people are unfamiliar with the MILHIST guidelines and should not be expected to be experts just to notify your project of an article within your scope.
- I wrote a guide to the use of Rater, and I would be happy to coordinate with you on the development of a specific guide (or section) devoted to explaining MILHIST assessment to Rater users. I would like Rater and MILHIST to work together, because tools like Rater are desperately needed to maintain our nearly 6 million articles on enwiki, and because I respect the MILHIST model and the quality of your section of enwiki. However, I have to remind you, it is not possible to maintain this entire wiki with editing talk page banners in source mode. Please let me know if you'd be interested in such a joint measure.
- And Joe, please do everyone a favor and be a little more careful in how you assess articles. I noticed several people upset with you on your talk page. I don't want to call you out but I don't get those responses. Quality is always better than quantity. I know it is a big backlog but there is no deadline. Thank you for your discussions and your great work on that backlog so far. Prometheus720 (talk) 15:50, 15 June 2019 (UTC)
- @Prometheus720: – WP:MILHIST "B class" criteria can be viewed here: Wikipedia:WikiProject_Military_history/Assessment#Criteria. I doubt that WP:MILHIST will want to be part of your "Rater" system. Because it means that in order for it to be a "Start", "C" or even "B" the Criteria needs to be done manually assessed. Adamdaley (talk) 03:32, 16 June 2019 (UTC)
- @Adamdaley: I don't think you understand what Rater does. It allows for normal, manual assessment. A human fills out and checks all of the values input by Rater. It just makes it easier to do that with a little interface rather than making one go into the talk page source and flip back and forth to the article. It isn't a self-driving car, it's just a car with power steering. The human decides where to go and what to do, but it is made easier by a little technology.
- Again, I understand your frustration but there is no need to be anything but friendly here. We are trying to build a good encyclopedia for everyone, here. People use Rater because it is a better system than editing talk pages, hands down, and more people will continue to use it as time goes on. I'm not at all asking for the B class criteria. I can find those myself, easily enough. What I am asking for is some cooperation between Rater users and MILHIST to develop a policy for how we can best serve your project. For example, maybe we could highlight your project in the window and give users a little notice. Maybe you'd prefer that we simply tag the page with your banner and not fill out any assessment info, and leave that to you. Or maybe you'd like something else. I have no idea. So if you are so worried about this, why don't we come up with a few guidelines, yeah? Prometheus720 (talk) 06:46, 16 June 2019 (UTC)
- I've seen what JoeHebda does. He removes the "B class" criteria and still assess them as "C class" and that's not how it is done. The "B class" criteria requires that code to be there for, Start, C and B class. I've even put it there and he removes it and still classes that article as "C class" and I've asked him to do it properly. But removes it. Adamdaley (talk) 07:03, 16 June 2019 (UTC)
- I got the same issue, too. Rater is adding
|B-Class-1=no |B-Class-2=no |B-Class-3=no |B-Class-4=no |B-Class-5=no
to MILHIST banners, making it look like the user did the B-class criteria checks and all checks failed. SD0001 (talk) 05:53, 17 June 2019 (UTC)
Technical solutions for using Rater with CAT:UNBIO Backlog
@Prometheus720 and JoeHebda: I see that both of you thanked me for this edit If you are assessing CAT:UNBIO using Rater, you'd want to install User:SD0001/UNBIO-article-links.js which automates the first 3 of those steps. If you wish, I could also probably get Rater to open automatically when you open an article from the category page. Drop me a line if you want that extra feature. SD0001 (talk) 06:06, 17 June 2019 (UTC)
- @SD0001: I would love that last feature and it would perhaps convince me to use categories for this, but currently I use the Article Lists tool/Project summary tables to do this. I can easily sort by letter and quality and it makes things much easier than using categories. I can also easily tell the tab apart from another Wikipedia tab because of the forge icon. Oh, and it takes me straight to the article. Only problem I run into is the rare redirect, which I eventually notice when it doesn't leave the list despite me thinking I have assessed the page. See my worklist on my user page. I just ctrl+click on all of those links every day (well, some of them) and assess all of the articles in them. I also have a guide to the use of Rater at User:Prometheus720/sandbox/Assessing Articles with Rater--A Detailed Guide. It's a draft but it should give some useful tips! I really ought to publish a tutorial video at some point. Prometheus720 (talk) 06:21, 17 June 2019 (UTC)
- @Prometheus720: Done. If you want these features (i.e, no need to pres ctrl & auto open Rater) while using those wmflabs lists, do this:
- Get this Chrome extension for setting up custom JS on websites (similar one would likely be available for Firefox too I think). Then while viewing any such list, enter the following JS in the extension's window, and save:
var trs = document.querySelectorAll('.wikitable tbody tr'); trs.forEach(function(tr,i) { if (i == 0) return true; var td = tr.childNodes[3]; var a = td.childNodes[0]; a.href = a.href.replace(/$/, '&autostartrater=y'); a.target = '_blank'; });
- Now, it should work whenever you view any such list. You'll still need to have User:SD0001/UNBIO-article-links.js, to actually trigger Rater to open.
- If you wish, I could also probably solve your problem with redirects, perhaps by making show in a different color. SD0001 (talk) 07:43, 17 June 2019 (UTC)
- Considering that it isn't just my problem and that this may benefit many other Rater users (and trust me, I plan on recruiting many, many more), yes I absolutely would like that! Do you mean to say you can do this in wmflabs, or only from categories? And a further question, is that extension essentially the same thing as Grease/tampermonkey? I'm not super familiar with such extensions but those two have a bit of brand recognition, I think. I think I will wait to install for a bit until you play with that redirect feature, but thanks in advance! Prometheus720 (talk) 12:37, 17 June 2019 (UTC)
- @SD0001 and Prometheus720: - Thanks to both of you. I installed, ran all of above per instructions & now from Category talk pages list, it displays the Article page & auto-starts Rater! Better than sliced bread!! This is another step forward! On that Tools article list, I do not use because I'm unable to get it to start at a different Alphabet letter, for example, List starting at the Hs. JoeHebda (talk) 13:22, 17 June 2019 (UTC)
- Considering that it isn't just my problem and that this may benefit many other Rater users (and trust me, I plan on recruiting many, many more), yes I absolutely would like that! Do you mean to say you can do this in wmflabs, or only from categories? And a further question, is that extension essentially the same thing as Grease/tampermonkey? I'm not super familiar with such extensions but those two have a bit of brand recognition, I think. I think I will wait to install for a bit until you play with that redirect feature, but thanks in advance! Prometheus720 (talk) 12:37, 17 June 2019 (UTC)
- @JoeHebda: Done I have a treat for you! I may not be a javascript wizard, but I do know some basic Regex. On the article lists page, use settings like mine. This is for a different project but I made sure to use the same letter so you could see. Make sure to click the regex button and fill out the title section like that! The other good news is that this is a static link, so you can do it once and put the link on your userpage. I guess part of me knew you could do this, but I never really needed to until working with the giant UNBIO list. And even then it didn't occur to me until you mentioned the problem. I'll have to mention this in my guide. I hope it helps you! Prometheus720 (talk) 13:52, 17 June 2019 (UTC)
- @Prometheus720: - The code for Title works Ok, but when I change "Quality" to Unassessed-Class the list changes to nothing. For example ^[Ii] brings up all the "I" title articles. Then when I change Quality, results are zero articles. JoeHebda (talk) 15:44, 17 June 2019 (UTC)
- @JoeHebda: Done I have a treat for you! I may not be a javascript wizard, but I do know some basic Regex. On the article lists page, use settings like mine. This is for a different project but I made sure to use the same letter so you could see. Make sure to click the regex button and fill out the title section like that! The other good news is that this is a static link, so you can do it once and put the link on your userpage. I guess part of me knew you could do this, but I never really needed to until working with the giant UNBIO list. And even then it didn't occur to me until you mentioned the problem. I'll have to mention this in my guide. I hope it helps you! Prometheus720 (talk) 13:52, 17 June 2019 (UTC)
@JoeHebda:Moving the discussion to a new section because this is sure to interest people in the future. Here is the proper link to the UNBIO H section. I had to use percent encoding on the URL to get it to work properly because the bracket in it breaks the link format. To do that, where it has [Hh] in the actual URL, put "%5bHh%5d." Those are just alternate ways to represent brackets. Unfortunately you will have to do that every time you link one of these on Wikipedia. If you would like, I can change all of the links on that call for help section you made to use article lists. It would be very easy as I'd just have to paste this same link and then change two letters in each of them. Please let me know which you prefer. And while we are at it, let's just get all of our frustrations with Rater and working on big lists out on the table. We might be able to figure out some more cool solutions! Prometheus720 (talk) 16:31, 17 June 2019 (UTC)
- @Prometheus720: - Yes, your link for Article lists using Tools does work. It is the same issue as with AWB, where the list is from Title first character. Rather than "Last name" like in category which is driven by DEFAULTSORT and "Listas" elements. So those Article lists do not match Category lists. Regards, JoeHebda (talk) 21:35, 17 June 2019 (UTC)
Rater guide
@Prometheus720: - For the Guide draft you are working on, wonder if it could be merged into editing guideline Content assessment? Also there is an essay Assessing articles. Maybe a "How-to" section specifically about using Rater. JoeHebda (talk) 13:40, 18 June 2019 (UTC)
Redirects
Prometheus720, Now that I think of it, I don't understand what the issue is. Redirects aren't supposed to carry {{WPBIO}}, right? Even if they do, the class can be set to Redirect, so that it no longer appears in the unassessed lists, right?
Regarding Grease/tampermonkey, I've never used them, but it looks like the latter is a marketplace where people distribute scripts and others download them. The one I linked above is a very simple one which only lets you to add your own scripts to specific websites. SD0001 (talk) 14:29, 17 June 2019 (UTC)
- @SD0001: Sorry, did a bit of reformatting here. I actually only just put UNBIO on my docket. I haven't even started work on it yet. Previously I have done backlogs at WP:BIOL, WP:WOMSCI, WP:ECO, WP:MCB, and a few others. The situation is different depending on a project, but sometimes from article lists I end up hitting redirects on occasion. It actually happens less often with unassessed articles and much more often when I am assessing another quality class. For example, I went through all the stubs in WP:BIOL several weeks ago. That had a number of redirects. So while this would not be directly useful for UNBIO, it would be useful in other contexts.
- As for the exact feature, I'd take highlighting OR skipping the redirection so I go straight to the actual redirect page. Both would be wonderful, but either one will certainly get the job done! Prometheus720 (talk) 16:31, 17 June 2019 (UTC)
- Ahh, so the issue is that when you click on redirects listed on wmflabs lists, you desire to reach the actual redirect page rather than the redirect target? The latter feature is far easier to implement. Just replace in the above code fragment to
a.href = a.href.replace(/$/, '&autostartrater=y');
For categories, I've fixed the script. I have also updated the script to make it work on any category with name beginning with "Category:Unassessed" or "Category:Unknown-importance". SD0001 (talk) 18:12, 17 June 2019 (UTC)a.href = a.href.replace(/$/, '&redirect=no&autostartrater=y');
- Ahh, so the issue is that when you click on redirects listed on wmflabs lists, you desire to reach the actual redirect page rather than the redirect target? The latter feature is far easier to implement. Just replace
Unusual Wikitable behavior
@SD0001 and Prometheus720: - While wandering around Wikipedia, at Comparison of mobile operating systems wikitable, I found a wikitable link that is a problem. In the first section About OS click on "Android" link & it appends &autostartrater=y to the link. The correct link should be Android (operating system) . JoeHebda (talk) 10:46, 19 June 2019 (UTC)
- JoeHebda, that is surely because you're running the JavaScript I wrote above on Wikipedia. No, you only need to run that on wmflabs site to make Rater auto-start when clicking a link on those wmflabs lists. For WP categories, using User:SD0001/UNBIO-article-links.js is enough. SD0001 (talk) 12:32, 19 June 2019 (UTC)
Question - Parsing of Class-B checklist
Greetings, At Talk:Heaven in Christianity after assessing with Rater, the checklist is "re-formatted".
- Checklist Before
{{WikiProject Catholicism|class=C|importance=Low | b1 <!--Referencing & citations--> = <yes/no> |
- Checklist after
{{WikiProject Catholicism |class=C |importance=high |b1 <!--Referencing & citations-->=<yes/no> |b2 <!--Coverage & accuracy -->=<yes/no> |b3 <!--Structure -->=yes |b4 <!--Grammar & style -->=yes |b5 <!--Supporting materials -->=<yes/no> |b6 <!--Accessibility -->=<yes/no>}}
- Wondering if Rater can be changed to not reformat? Regards, JoeHebda (talk) 22:29, 18 July 2019 (UTC)
Watchlist option
- Previous discussion: User_talk:Evad37/rater.js/Archive_1#Do_not_add_to_watchlist?
This was brought up before and I think there was some confusion about how this can be implemented. As far as I understand, it's a relatively minor but useful change. API supports a parameter that overrides the watchlist action. It would be really useful to have at least the "don't change watchlist" option, otherwise all pages get watchlisted for those who have auto-watchlist enabled. The old rater used watchlist: 'nochange'
for the edit post and so didn't watchlist pages automatically. Many other tools/script do this too. To avoid forking (and maintaining) the whole script just for one change, could this be added as an optional setting? — HELLKNOWZ ▎TALK 11:41, 29 July 2019 (UTC)
- @Hellknowz: Done, see User:Evad37/rater#Watchlisting preference. - Evad37 [talk] 14:04, 30 July 2019 (UTC)
- @Evad37: Thanks. Though the documentation says to add the same text for both options? --Nessie (talk) 15:03, 30 July 2019 (UTC)
- oops, will fix now - Evad37 [talk] 15:05, 30 July 2019 (UTC)
- Thank you! — HELLKNOWZ ▎TALK 15:17, 30 July 2019 (UTC)
Question about "add parameter"
Greetings Evad37 - Wondering if add parameter can be pre-filled with "y" or "yes" value? This would be another time-saver. Regards, JoeHebda (talk) 10:35, 31 July 2019 (UTC)
- "y" or "yes" isn't neccesarily a valid value for all additional parameters (e.g. taskforce importances). Howver, you can define autovalues in a banner's TemplateData, which Rater will then use when that parameter is added. - Evad37 [talk] 04:52, 1 August 2019 (UTC)
- Yes I did look at TemplateData and maybe it's just me, but it is too complicated for me to understand and to change correctly. So for now I'm manually entering the "Y" for every time to Needs-photo parameter after adding the parameter - a multi-step process. If any expert knows how to do this, your help would be great. All it needs is to have "Needs-photo" auto-fill with a "Y" value when adding for the first time. Cheers! JoeHebda (talk) 18:04, 10 September 2019 (UTC)
- @JoeHebda: Which WikiProject banner are you needing this done with? I'm comfortable with the whole TemplateData framework and would be happy to drive by that template's page and update it as you're requesting. Or if you wanted to gain some facility with the system yourself, I could talk you through the process via an instant messenger and then you'd be able to make that improvement to any number of banner templates at your leisure. Let me know if I can be of help either way, pal. Regards, — ⚞ 🐈ℛogueScholar ₨Talk🗩 ⚟ My recent mischief 06:57, 16 September 2019 (UTC)
- @RogueScholar: Only needed for WikiProject Biography. There are over 75 thousand articles in backlog and many are missing a photo, so having that box appear pre-filled with "Y" or "Yes" is a time-saver. Thanks for your help! Sorry I don't know about instant messanger, but am a good "cloner" so if I can view the changes I can add to my offline WP-notes file (Notepad++) for future ref. JoeHebda (talk) 13:03, 16 September 2019 (UTC)
- @RogueScholar: I'd be interested as well. I was having a related issue (above) with {{WikiProject Women scientists}}, but would also love to learn how to do what JoeHebda asked for improving that template and all the WP:TOL projects. You can hit me up on Discord or I can pop in to IRC sometime. --Nessie (talk) 14:16, 16 September 2019 (UTC)
- @NessieVL: For the WP:TOL project you mention above, at the "To-do" section, I added wikilinks for "Popular pages" and "Quality operations" log. Regards, JoeHebda (talk) 14:36, 16 September 2019 (UTC)
- @RogueScholar: Thanks. I have a whole spreadsheet of all those logs and tools. I'm making sure each of the subprojects has all of them, and then I'm going to add links all at once. If I don't keep getting distracted. --Nessie (talk) 14:42, 16 September 2019 (UTC)
- @JoeHebda: Which WikiProject banner are you needing this done with? I'm comfortable with the whole TemplateData framework and would be happy to drive by that template's page and update it as you're requesting. Or if you wanted to gain some facility with the system yourself, I could talk you through the process via an instant messenger and then you'd be able to make that improvement to any number of banner templates at your leisure. Let me know if I can be of help either way, pal. Regards, — ⚞ 🐈ℛogueScholar ₨Talk🗩 ⚟ My recent mischief 06:57, 16 September 2019 (UTC)
- Yes I did look at TemplateData and maybe it's just me, but it is too complicated for me to understand and to change correctly. So for now I'm manually entering the "Y" for every time to Needs-photo parameter after adding the parameter - a multi-step process. If any expert knows how to do this, your help would be great. All it needs is to have "Needs-photo" auto-fill with a "Y" value when adding for the first time. Cheers! JoeHebda (talk) 18:04, 10 September 2019 (UTC)
@JoeHebda: Done (click for diff) Like I said, happy to help; I'm something of an assessment nerd myself so I have tremendous respect for you jumping into such a deep hole as WP:BIO. It'll take a few hours for the change to become active for the Rater gadget (I'm not sure why, that's just been my experience.) If you have questions about any of the changes or if something still isn't quite as you had hoped, don't hesitate to hit me up on my talk page. Respectfully, Peter
@NessieVL: Done (click for diff) Everything I said above to JoeHebda goes for you as well of course, Nessie. I hope this solves your immediate problem and gives you some insight into what is, admittedly, a fairly opaque system re: TemplateData. Honestly though, if you're a naturally curious person, just knowing that the information all has to conform to the standards of JavaScript Object Notation gets you where you need to go. The web is literally bursting with online tools like validators that allow you to copy/paste your edits into them and tell you if you've done it correctly and where you went astray if you didn't. Don't let that scare you away from reaching out to me again, though, like I said I'm happy to help with this sort of stuff since it's at the intersection of several of my bailiwicks. Warm regards, — ⚞ 🐈ℛogueScholar ₨Talk🗩 ⚟ My recent mischief 14:51, 16 September 2019 (UTC)
- RogueScholar Done - Just minutes ago, Rater assessment tool began pre-filling "Needs-photo" / "Photo needed?" with the Checkmark indicating a Yes. Thanks for getting this time-saver done. Regards, JoeHebda (talk) 23:52, 16 September 2019 (UTC)
Cam not working
The quick "OX" works for Oxford, but "CAM" is gone. Please fix. Your tool is great.--Dthomsen8 (talk) 17:25, 24 August 2019 (UTC)
Suggestion: Inactive WikiProjects
Greetings, Wondering if Inactive WPs could be displayed from the "Add WikiProject" button? Maybe a different color to indicate not active? Like the gadget does for Article title (Display an assessment of an article's quality in its page header) changes color. Recently I've added inactive WikiProject Invention, Myanmar to article assessments. Ditto for semi-active projects. Regards, JoeHebda (talk) 18:16, 10 September 2019 (UTC)
Placement issue
WikiProject banners go before the first discussion thread, not after
I think it's because the first thread did not have a heading. --Nessie (talk) 01:08, 21 September 2019 (UTC)
timeout while saving update
Greetings, After clicking on "Save changes" button, Rater stalls out, then error message "Saving...Failed. HTTP error: timeout". Happening several times this morning. Regards, JoeHebda (talk) 14:46, 21 September 2019 (UTC)
- For now I copied "rater.js" into a Scripts folder under my username. Seems to solve issue, & runs faster. JoeHebda (talk) 23:06, 23 September 2019 (UTC)
Posting for Redrose64
@Redrose64: is also upset that one can select "template" as a class type. See [3], Please follow up with them, as I don't see why it is such a menace. --Nessie (talk) 21:55, 23 September 2019 (UTC)
- Because it's redundant. When a WikiProject banner is used in any talk namespace, other than Talk: itself, the class is set automatically based upon that namespace. So when banners are used in Template talk: namespace, the banner will set Template-Class automatically. Similarly, when banners are used in Category talk: namespace, the banner will set Category-Class automatically. --Redrose64 🌹 (talk) 18:58, 21 October 2019 (UTC)
KML
Do you think you could look into the script to see if there's a way to add the |needs-kml=
to any calls for the WP:USRD banner? ToThAc (talk) 16:52, 28 September 2019 (UTC)
- @ToThAc: that's not quite necessary. That parameter isn't necessary in most cases as the banner will look to see if the KML file is in place and fill in the appropriate value. In the few cases where adding the parameter is needed, the script has the ability to add additional parameters. That's the same way we'd add
|needs-infobox=
, etc. Imzadi 1979 → 18:10, 28 September 2019 (UTC)
Ignoring comment markup for Template:WikiProject Medicinal botany
If you look at Template:WikiProject Medicinal botany (edit | talk | history | links | watch | logs) you will see two parameters, **PARAMETER** and |needs-photo=
, that exist only as comments. However, when using rater and adding parameters and typing 'u' to show all parameters, you can see these 'parameters' are available. Rater should screen out comments. --Nessie (talk) 18:18, 30 September 2019 (UTC)
- This is a bug in the templatedata api. I've reported it at phab:T237195 - Evad37 [talk] 14:05, 3 November 2019 (UTC)
Cannot open/start Rater
Greetings, as of this morning, Alt-5 to start Rater does not work. Help please. I did the usual, Purge, WP logout - login. Don't know what to do next.
Is there a way to run rater without the Alt-5 key? Help please. JoeHebda (talk) 15:17, 21 October 2019 (UTC)
- JoeHebda, Not appearing for me either, using the button in the "more" menu (i.e. where move is). ~~ OxonAlex - talk 17:03, 21 October 2019 (UTC)
- @OxonAlex: - How do you get that button to appear. Not showing on my menus. Also, I noticed "Move to draft" (also from Evad37) is missing on my menus. JoeHebda (talk) 17:49, 21 October 2019 (UTC)
- JoeHebda, my problem is that it isn't showing there. I think it should show there by default.
- Just noticed that Move to draft isn't showing for me either. ~~ OxonAlex - talk 18:29, 21 October 2019 (UTC)
- Both "move to draft" and "rater" were working this morning, now they have disappeared from my "more" drop-down menu. Onel5969 TT me 18:36, 21 October 2019 (UTC)
- @OxonAlex: - I will report issue at WP VPT right now. Way beyond anyting I could fix. JoeHebda (talk) 18:39, 21 October 2019 (UTC)
- Yeah its vanished for me as well, probably a wider technical problem. Captain Eek Edits Ho Cap'n!⚓ 19:04, 21 October 2019 (UTC)
- @OxonAlex: - I will report issue at WP VPT right now. Way beyond anyting I could fix. JoeHebda (talk) 18:39, 21 October 2019 (UTC)
- Both "move to draft" and "rater" were working this morning, now they have disappeared from my "more" drop-down menu. Onel5969 TT me 18:36, 21 October 2019 (UTC)
- @OxonAlex: - How do you get that button to appear. Not showing on my menus. Also, I noticed "Move to draft" (also from Evad37) is missing on my menus. JoeHebda (talk) 17:49, 21 October 2019 (UTC)
Me too!--Dthomsen8 (talk) 22:15, 21 October 2019 (UTC)
Interface-protected edit request on 21 October 2019
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change the instances of 'mw.RegExp.escape' found on lines 212 and 1,647 of the script source code to read 'mw.util.escapeRegExp'. The former was deactivated per phab:T218339 and the latter now provides its functionality. With abudant gratitude, — ⚞ ℛogueScholar🐈 ₨🗩 ⚟ 21:49, 21 October 2019 (UTC)
- Exact diff that needs to be applied. --MarioGom (talk) 21:54, 21 October 2019 (UTC)
- @Amorymeltzer, would you be able to do as you did with XFDcloser.js? czar 22:09, 21 October 2019 (UTC)
- @RogueScholar: Evad37 has been online as recently as today and this is already open at User_talk:Evad37#User_script_issues. — xaosflux Talk 23:01, 21 October 2019 (UTC)
- If Amorymeltzer really wants to force this in there, I don't have a strong objection, but this is someone's personal user space script - not something critical. — xaosflux Talk 23:02, 21 October 2019 (UTC)
- FWIW I'm in full agreement with Xaosflux here — Evad37 was recently active and has returned fairly quickly after the pings. I said this at VPT, but I did XFDcloser because, although a personal script, it is heavily relied upon for XfD closures (and it was a trivial fix I was already aware of). I had to get offline for a bit anyway, but I left rater as something certainly far from critical. ~ Amory (u • t • c) 23:41, 21 October 2019 (UTC)
- If Amorymeltzer really wants to force this in there, I don't have a strong objection, but this is someone's personal user space script - not something critical. — xaosflux Talk 23:02, 21 October 2019 (UTC)
- @RogueScholar: Evad37 has been online as recently as today and this is already open at User_talk:Evad37#User_script_issues. — xaosflux Talk 23:01, 21 October 2019 (UTC)
Fixed [4]. I don't have any objections to trivial fixes such as [5] if one of my script suddenly stops working due to mediawiki changes. It's happened before (with OOUI in XFDcloser), and it may unfortunately happen again in the future. - Evad37 [talk] 23:11, 21 October 2019 (UTC)
Bug: Removing | from blp used by WikiProjectBannerShell
See https://en.wikipedia.org/w/index.php?title=Talk:Peter_Lenk&diff=923889331&oldid=788302262 Christian75 (talk) 12:56, 31 October 2019 (UTC)
New version of Rater! Beta tester wanted!
What's new?
- Redesigned interface, including adding new banners and template parameters right from the main window
- Improved preference handling
- No need more editing your common.js, preferences now stored in a json subpage of your userspace. And they can be set from within Rater, just click on the cog wheel in the top-left
- New preferences include:
- Autostart on redirects
- minimum number of banners for WikiProject banner shell
- bypass redirects to banners
- autofill class (from other banners and/or ORES prediction)
- Autofill importance
- Better template parsing
- Better handling of WikiProject banner shell templates. They are now show in the window, can be edited like other banners, will automatically sync relevant parameters from WikipProject Biography banners, and will automatically be added/show when needed (according to you preferences)
- Able to unset all class/importance ratings
- Better checkbox handling for parameters with one or two allowed values: y, Y, 1, and several other "yes"-like values will result in a ticked box when the allowed value is also "yes"-like -- and similarly for "no"-like values. Unrecognised values will result in an "indeterminate" state for the checkbox.
- ORES prediction now includes probability
- Detects the (most common) spacing style of existing templates (around pipes, equal signs, and prior to the end braces), and will use this style when editing them
- Better placement of banners when adding to talk pages -- should no longer place after existing comments
- Edit summary no longer repeats the class/importance multiple times, when they are all the same
- Preview and show changes now also show the generated edit summary
- Will automatically do retry edits that fail
- Source code is now modularised, and available on github at https://github.com/evad37/rater
To test out the new beta version, change the importScript('User:Evad37/rater.js');
to importScript('User:Evad37/rater/beta.js');
. Keep in mind that you'll have to redo your preferences (unless you want the default ones), and check your edits for problems. - Evad37 [talk] 20:19, 9 November 2019 (UTC)
- I'll activate it^^ Regards SoWhy 20:33, 9 November 2019 (UTC)
- Installed, will let you know if/when I run into problems. Thanks! creffett (talk) 21:38, 9 November 2019 (UTC)
- Trivial bug: "Add paramter" should be "Add parameter" creffett (talk) 01:17, 11 November 2019 (UTC)
- Fixed - Evad37 [talk] 04:19, 11 November 2019 (UTC)
- Trivial bug: "Add paramter" should be "Add parameter" creffett (talk) 01:17, 11 November 2019 (UTC)
Issues reported by Czar
Extended content
|
---|
|
Issues reported by SD0001
Extended content
|
---|
|
Evaluation reported by JoeHebda
Extended content
|
---|
Following list of suggestions
Regards, JoeHebda (talk) 00:44, 13 November 2019 (UTC)
|
Feedback - Nov. 13
Extended content
|
---|
Thanks for above answers. Here are a few more items that I discovered.
html body.rater-mainWindow-open .oo-ui-window-content {
background-color: #EEE8AA; font-family: monospace; font-size: 8pt;
}
From doing thousands of assessments with Rater (cheers!), overall this new version, while different is still workable. Thanks. JoeHebda (talk) 14:56, 13 November 2019 (UTC)
Minor: - Within Bannershell: when add a WP, Rater adds a blank line before closing bannershell double-brackets. Example at Talk:Saint Sabina. JoeHebda (talk) 15:08, 13 November 2019 (UTC)
|
Feedback - Nov. 16
Extended content
|
---|
Greetings, For the Rater window, I am able to make it "go horizontal" by switching to accessible font "aphont" and 10pt size. Wondering if a way to make popups for "Add a wikiproject..." and "Set all..." tag to also use a different (smaller) font? JoeHebda (talk) 14:08, 16 November 2019 (UTC)
|
Feedback, suggestion - Nov. 18
Extended content
|
---|
For "Preferences" - it would be helpful to add "Warn before exit" option (Y/N). Being a keyboard-person sometimes when canceling pop-up box using "Esc" key, if I accidently hit a second time, it Exits Rater & all changes lost. Thanks. JoeHebda (talk) 14:21, 18 November 2019 (UTC)
|
Feedback, status for Nov. 19
Extended content
|
---|
Thanks Evad37 for above improvements. Firstly, I let those Button widgets & labels default back to bold. Then I changed line-height. Next, I adjusted rater window vheight. Lastly, I changed background-color on those popups - contrast makes it easier to read. When I first time click on "+ Add parameter" it correctly opens up a new line, however I have to then click on "parameter name" box to open it up. It would be helpful if Rater can automaticly add that line And open with cursor parked inside that location (parm.name). Maybe it's just me getting used to "the new look & feel" but Rater seems to be faster than before. When this new verion "goes live" these changes for my common.css should still be effective. Thanks again. JoeHebda (talk) 15:47, 19 November 2019 (UTC)
|
Feedback, WPMILHIST - Nov. 20
Check example at Talk:Owen Magee. The class-b checklist displays as "b1=y" for 1 thru 5, yet rater displays those plus new buttons for "B-Class-1" thru "B-Class-5", all set to No. These additional buttons are not needed as the plain "b1=" are sufficient. JoeHebda (talk) 15:59, 20 November 2019 (UTC)
- Fixed - Evad37 [talk] 02:19, 27 November 2019 (UTC)
Issues reported by NessieVL
Extended content
|
---|
Just installed it. More to come, probably.
--Nessie (talk) 14:32, 19 November 2019 (UTC)
|
Feedback, redirected talk pages - Nov. 21
Extended content
|
---|
I'm encountering an issue (Example here) using Rater to add project banners to redirects when their Talk pages are themselves redirects. I believe the template calls need to be placed below the magic word, but currently they're placed above it which then breaks the redirect. I can't recall encountering this issue in the mainline version of the gadget, but that may be the result of the infrequency of this edge case. The new version is coming along nicely; I'm quite enjoying the more polished interface and much improved UI text readability. I'm not sure if it's been brought up already, but am I mistaken in thinking that the old version would remove parameter names from the list once they had been applied to a particular template? I don't know that I can precisely articulate why I preferred that behavior, but I do. That's the only quibble I have with it currently. Thanks again for all your work on this, it really is a fantastic tool. — ⚞ ℛogueScholar🐈 ₨🗩 ⚟ 01:13, 22 November 2019 (UTC)
|