User talk:Evad37/rater.js/Archive 2
![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 |
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)
Reporting "Unknown API error"
{{resolved}}
Greetings, For Talk:Abuna Aregawi Rater does not open & shows this instead:
Initialising: Loading your Rater preferences... Done! Loading list of project banners... Done! Loading talkpage wikitext... Failed. Unknown API error Parsing talkpage templates... Failed. Unknown API error Getting templates' parameter data... Done! Checking if page redirects... Done! Retrieving quality prediction...
Suspect it might be the "Messagebox" code. JoeHebda (talk) 15:06, 30 November 2019 (UTC)
- Not functioning at all for me (Firefox).--☾Loriendrew☽ ☏(ring-ring) 00:14, 1 December 2019 (UTC)
- The script is tripping over the
{{{2|}}}
that was left over from a template substitution - Evad37 [talk] 03:42, 1 December 2019 (UTC)- @JoeHebda and Loriendrew:
Fixed Evad37 [talk] 07:55, 11 December 2019 (UTC)
- The rater is still not appearing for me. Check out Russell Treyz, an unassessed article with no Talk headers. It is in my "More" pulldown, but fails to auto-appear for unassessed articles.--☾Loriendrew☽ ☏(ring-ring) 18:44, 13 December 2019 (UTC)
- Never mind... someone rated it. Perhaps find any to see if you get the popup.--☾Loriendrew☽ ☏(ring-ring) 02:30, 14 December 2019 (UTC)
- @Loriendrew: The preferences, including for autostart, were overhauled in the new version of rater – see User:Evad37/rater#Preferences. You don't currently have any preferences saved, so you are getting the defaults (in which autostart is disabled). - Evad37 [talk] 04:13, 14 December 2019 (UTC)
- @JoeHebda and Loriendrew:
Rater not showing Wikiprojects
{{resolved}}
Greetings, For Talk:Eleanor Robinson Rater does not show wikiprojects.
{{WikiProjectBannerShell|1= {{WikiProject Biography | living=yes | class =C | listas=Robinson, Eleanor | sports-work-group = yes | sports-priority = | needs-photo = yes}} {{WikiProject Athletics |class=C |importance=}} {{WikiProject Running |class=C |importance=}} {{WikiProject Women's sport |class=C |importance=}} }}
I did several CEs attempting to correct issue without any improvement. Regards, JoeHebda (talk) 00:36, 6 December 2019 (UTC)
- @JoeHebda:
Fixed - Evad37 [talk] 00:55, 8 December 2019 (UTC)
Rating on talk pages
{{resolved}}
The script shows the ORES predicted class of the talk page and not the predicted class of the article when the script is used on the talk page of an article.– BrandonXLF (talk) 02:07, 11 December 2019 (UTC)
Fixed - Evad37 [talk] 07:56, 11 December 2019 (UTC)
Error: "Add a wikiproject" not working (at all)
{{resolved}}
Greetings, This morning Rater no longer adds a wikiproject. CHecked on several articles. The yellow popup box appears but clicking on WP does not add anymore. Even if I fully type out the WP's name & press Enter key, it does not Add. JoeHebda (talk) 14:00, 19 December 2019 (UTC)
- Got it to work by fully typing "WikiProject Biography" & clicking the "+" button. Not efficient. JoeHebda (talk) 14:05, 19 December 2019 (UTC)
- Same issue for "Add parameter" - clicking on popup box not working. Workaround is to fully type parameter (and value), then click the "Add" button. JoeHebda (talk) 14:07, 19 December 2019 (UTC)
- Probably a change to mw:OOUI, will investigate - Evad37 [talk] 14:25, 19 December 2019 (UTC)
- @JoeHebda:
Fixed - Evad37 [talk] 14:44, 19 December 2019 (UTC)
- Thanks - Rater is a great assessment tool. Cheers! JoeHebda (talk) 14:51, 19 December 2019 (UTC)
- Same issue for "Add parameter" - clicking on popup box not working. Workaround is to fully type parameter (and value), then click the "Add" button. JoeHebda (talk) 14:07, 19 December 2019 (UTC)
Featured Media
On Special:PermanentLink/646708182, Rater automatically strips "FM" status and attempts to add "Low" importance where it should default to blank. czar 05:51, 25 December 2019 (UTC)
- @Czar:
Fixed, added FM as a possible class (but it may take a couple of days for cached banner data to be updated), and the low-importance autofill will only be applied to articles. - Evad37 [talk] 02:22, 27 December 2019 (UTC)
{{resolved}}
Dab/redirect page handling
{{resolved}}
When called on a disambiguation/redirect page, Rater tries to rate the page normally, so might need some detection there. czar 01:25, 16 December 2019 (UTC)
- Yes, needs some attention for Disabig.--Dthomsen8 (talk) 02:06, 16 December 2019 (UTC)
- @Czar and Dthomsen8: Rater will now recognise disambiguation and redirect pages, and will not autofill the rating from ORES - Evad37 [talk] 02:28, 21 December 2019 (UTC)
ORES disambig rating
{{resolved}}
Greetings, For Anastasia of Serbia article, ORES shows Disambiguation page rating, and it's not. Just a regular article. JoeHebda (talk) 14:59, 21 December 2019 (UTC)
- Hiya, most pages I am checking are fine but i also got Disambiguation page when rating C-Squat and Abahlali baseMjondolo Mujinga (talk) 03:53, 22 December 2019 (UTC)
- @JoeHebda and Mujinga:
Fixed - Evad37 [talk] 01:43, 27 December 2019 (UTC)
- Thanks that's working for me! Mujinga (talk) 09:18, 27 December 2019 (UTC)
- @JoeHebda and Mujinga:
Pressing enter 5 times to auto-fill
{{resolved}}
Greetings, For WP Biography, when adding parameter "Needs-photo" it no longer is automatic. Now have to press Enter key FIVE times for it to add. Frequently added, so to have auto-fill is very helpful. Regards, JoeHebda (talk) 15:01, 26 December 2019 (UTC)
- Hmmm... still works for me... start typing
ne
, select "needs-photo" using arrow keys, press Enter once to select (and focus moves to the value input textbox), press Enter again to add with autovalue "yes". Looks like the templatedata was briefly mucked around with on 16 December[1][2], but the cached parameter information should have been updated since then. - Evad37 [talk] 00:36, 27 December 2019 (UTC)- Yes, it started working again (correctly) after about 1/2 hour of "weirdness". JoeHebda (talk) 00:54, 27 December 2019 (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)
![](http://upload.wikimedia.org/wikipedia/en/thumb/b/ba/Red_x.svg/20px-Red_x.svg.png)
- I still haven't had this issue in over a year, unless it's browser-specific or something. The closest I can reproduce is when a category page doesn't exist (i.e., is red), rater doesn't load. But that should be by design, as the category needs to exist for the talk page to warrant WikiProject banners. czar 02:27, 27 December 2019 (UTC)
{{User:ClueBot III/ArchiveNow}}
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)
{{User:ClueBot III/ArchiveNow}}
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)
{{User:ClueBot III/ArchiveNow}}
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)
- @Prometheus720:
- @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:
@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)
{{User:ClueBot III/ArchiveNow}}
Errors
I used Rater successfully earlier this morning, but now it won't load. Here's one of the more descriptive messages, from Staria lunata:
Initialising: Loading your Rater preferences... Done! Loading list of project banners... Failed. HTTP error 0 Loading talkpage wikitext... Failed. HTTP error 0 Parsing talkpage templates... Failed. HTTP error 0 Getting templates' parameter data... Done! Checking subject page... Failed. API error internal server error: Traceback (most recent call last): File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/urllib3/connectionpool.py", line 421, in _make_request six.raise_from(e, None) File "<string>", line 3, in raise_from File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/urllib3/connectionpool.py", line 416, in _make_request httplib_response = conn.getresponse() File "/usr/lib/python3.5/http/client.py", line 1198, in getresponse response.begin() File "/usr/lib/python3.5/http/client.py", line 297, in begin version, status, reason = self._read_status() File "/usr/lib/python3.5/http/client.py", line 258, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/usr/lib/python3.5/socket.py", line 576, in readinto return self._sock.recv_into(b) File "/usr/lib/python3.5/ssl.py", line 937, in recv_into return self.read(nbytes, buffer) File "/usr/lib/python3.5/ssl.py", line 799, in read return self._sslobj.read(len, buffer) File "/usr/lib/python3.5/ssl.py", line 583, in read v = self._sslobj.read(len, buffer) socket.timeout: The read operation timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/urllib3/connectionpool.py", line 720, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/urllib3/util/retry.py", line 400, in increment raise six.reraise(type(error), error, _stacktrace) File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/urllib3/packages/six.py", line 735, in reraise raise value File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/urllib3/connectionpool.py", line 672, in urlopen chunked=chunked, File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/urllib3/connectionpool.py", line 423, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/urllib3/connectionpool.py", line 331, in _raise_timeout self, url, "Read timed out. (read timeout=%s)" % timeout_value urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='en.wikipedia.org', port=443): Read timed out. (read timeout=5.0) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/mwapi/session.py", line 101, in _request auth=auth) File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/requests/adapters.py", line 529, in send raise ReadTimeout(e, request=request) requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='en.wikipedia.org', port=443): Read timed out. (read timeout=5.0) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "./ores/wsgi/routes/v3/util.py", line 105, in process_score_request score_response = scoring_system.score(score_request) File "./ores/scoring_systems/scoring_system.py", line 59, in score response = self._score(request) File "./ores/scoring_systems/celery_queue.py", line 196, in _score return super()._score(*args, **kwargs) File "./ores/scoring_systems/scoring_system.py", line 104, in _score request, missing_model_set_revs) File "./ores/scoring_systems/scoring_system.py", line 151, in _extract_root_caches model_set, rev_ids, injection_caches=request.injection_caches) File "./ores/scoring_context.py", line 171, in extract_root_dependency_caches for rev_id, (error, values) in zip(rev_ids, error_root_vals): File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/revscoring/extractors/api/extractor.py", line 126, in _extract_many rev_docs = self.get_rev_doc_map(revids_to_lookup, rvprop=rvprop) File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/revscoring/extractors/api/extractor.py", line 233, in get_rev_doc_map return {rd['revid']: rd for rd in rev_docs} File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/revscoring/extractors/api/extractor.py", line 233, in <dictcomp> return {rd['revid']: rd for rd in rev_docs} File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/revscoring/extractors/api/extractor.py", line 244, in query_revisions_by_revids **params) File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/mwapi/session.py", line 309, in get continuation=continuation) File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/mwapi/session.py", line 171, in request files=files) File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/mwapi/session.py", line 103, in _request raise TimeoutError(str(e)) from e mwapi.errors.TimeoutError: HTTPSConnectionPool(host='en.wikipedia.org', port=443): Read timed out. (read timeout=5.0) Retrieving quality prediction...
On Category:MMR vaccine controversy I get:
Initialising: Loading your Rater preferences... Done! Loading list of project banners... Failed. HTTP error 0 Loading talkpage wikitext... Failed. HTTP error 0 Parsing talkpage templates... Failed. HTTP error 0 Getting templates' parameter data... Done! Checking subject page...
--Nessie (talk) 15:18, 8 January 2020 (UTC)
- Works for me, at the moment. The http 0 error likely means there was a problem with the Wikipedia server not sending a response. This is also what the verbose message is basically about: the ORES service timed out while trying to connect to en.wikipedia which caused a bunch more errors in subsequent code. - Evad37 [talk] 05:18, 9 January 2020 (UTC)
- Yea, I think it was a system-wide thing. Seemed to work after an hour or so. Cheers. --Nessie (talk) 15:07, 9 January 2020 (UTC)
{{User:ClueBot III/ArchiveNow}}
Bug: Suggestions are gone
{{Resolved}}
As of a few days ago, Rater no longer provides autocomplete-style suggestions for WikiProject banners. I have attempted to use the plugin in Safari and Firefox. signed, Rosguill talk 23:40, 29 January 2020 (UTC)
- @Rosguill: That's weird – it works for me in both Chrome and Firefox. Do you get any javascript error in your browser console (see point 6 of WP:JSERROR) either before or after you start typing? - Evad37 [talk] 00:50, 30 January 2020 (UTC)
- Evad37, yep, here's the snippet, which seems to fire every time I type a letter:
jQuery.Deferred exception: this.suggestions.filter is not a function. (In 'this.suggestions.filter(function(suggestionItem){return pattern.test(suggestionItem.label)||!suggestionItem.label&&pattern.test(suggestionItem.data)})', 'this.suggestions.filter' is undefined) – "https://en.wikipedia.org/w/index.php?title=User:Evad37/rater/app.js&action=raw&ctype=text/javascript:3:51166↵[native code…" – undefined
- - signed, Rosguill talk 00:57, 30 January 2020 (UTC)
- FWIW, I'm currently using Safari and don't have Firefox installed on this computer. I'm pretty sure I attempted to use Rater on Firefox recently and had the same issue, but I'll confirm that once I'm back at my other computer. signed, Rosguill talk 01:04, 30 January 2020 (UTC)
- @Rosguill: I think I've found and fixed something that may have been causing the a problem. I've also added an options to reset Rater's cache to the preferences page – the cog wheel in the top-left of the Rater dialog – which you may need to do. (The reset cache button can also be used to update the list of available wikiprojects, and the available parameters, if there have been any recent updates.) - Evad37 [talk] 03:30, 30 January 2020 (UTC)
- Evad37, well, I can confirm that it's working on Firefox. I'll see about Safari tomorrow. signed, Rosguill talk 03:56, 30 January 2020 (UTC)
- Evad37, ok, I checked it on my other computer and can confirm that everything now works as intended. signed, Rosguill talk 18:12, 30 January 2020 (UTC)
- @Rosguill: I think I've found and fixed something that may have been causing the a problem. I've also added an options to reset Rater's cache to the preferences page – the cog wheel in the top-left of the Rater dialog – which you may need to do. (The reset cache button can also be used to update the list of available wikiprojects, and the available parameters, if there have been any recent updates.) - Evad37 [talk] 03:30, 30 January 2020 (UTC)
- FWIW, I'm currently using Safari and don't have Firefox installed on this computer. I'm pretty sure I attempted to use Rater on Firefox recently and had the same issue, but I'll confirm that once I'm back at my other computer. signed, Rosguill talk 01:04, 30 January 2020 (UTC)
Military history
{{Resolved}}
I can't get the Military History wikiproject to load. It just 'waits' forever. — Insertcleverphrasehere (or here)(click me!) 23:36, 30 January 2020 (UTC)
- @Insertcleverphrasehere:
Fixed. Using the API to parse classes and importances from the Military History banner has always been slow, and it now seems unresponsive (hence the wait forever – the script is waiting for an API response which for some reason isn't being sent). I've fixed it by hard-coded the MilHist values in, which should also make it quicker than it was before. - Evad37 [talk] 02:53, 31 January 2020 (UTC)
- Evad37, Nice. Thanks mate. Overall my feedback for the new rater is positive, though it is slightly slower than the old one, I do like the new setup, especially with regards to parameters coming up as a pre-populated list. — Insertcleverphrasehere (or here)(click me!) 20:08, 2 February 2020 (UTC)
{{User:ClueBot III/ArchiveNow}}
Hi on the recently created Kate Purdy, I'm trying to add the wikiprojects Television, Comedy and Screenwriters with Rater but am unable to do so. I get the "Ratings saved successfully" popup but then nothing gets saved. I've tried a few times with no luck, now instead of adding them manually I thought I'd leave it in case anyone wants to try to replicate the error. Cheers! Mujinga (talk) 21:29, 10 February 2020 (UTC)
- Mujinga, I was able to add the aforementioned projects just now, so this was likely an issue on your end. What browser are you using? signed, Rosguill talk 21:32, 10 February 2020 (UTC)
- Ah thanks Rosguill for having a look, come to think of it I am actually using a rather decrepit version of Chrome tonight (Chromium version 49.0.2623.108 Built on 8.3, running on Debian 8.4) so it was probably that. Cheers! Mujinga (talk) 21:40, 10 February 2020 (UTC)
- It might have also been a temporary glitch on the server – the saved successfully message should only show up if there is a positive response from the attempted edit. - Evad37 [talk] 00:53, 11 February 2020 (UTC)
- Ah thanks Rosguill for having a look, come to think of it I am actually using a rather decrepit version of Chrome tonight (Chromium version 49.0.2623.108 Built on 8.3, running on Debian 8.4) so it was probably that. Cheers! Mujinga (talk) 21:40, 10 February 2020 (UTC)
Article not Disambig
{{Resolved}}
Greetings, Article Dabheog instead of "Start", shows "Disambiguation page" for ORES. Regards, JoeHebda (talk) 15:31, 12 February 2020 (UTC)
- @JoeHebda:
Fixed - Evad37 [talk] 00:40, 16 February 2020 (UTC)
Change links to respective article page
{{Resolved}}
Hi Evad37 and others! Thank you for this great tool! I recently uninstalled Kephir's rater considering I don't need two raters and only use this one. After uninstalling, I realized there was a key feature missing: changing all the links in an unassessed category page to the respective article rather than the talk page. Is this something that exists in this rater? It's a bit inconvenient to go to the talk page and then click the article page so it can be reviewed. Thanks. --Nannochloropsis (talk) 02:40, 19 March 2020 (UTC)
- @Nannochloropsis: The second script at Wikipedia:User scripts/List#Categories, User:Equazcion/CatListMainTalkLinks, can do that for you. - Evad37 [talk] 03:07, 19 March 2020 (UTC)
- @Evad37: All set, thanks! --Nannochloropsis (talk) 03:44, 19 March 2020 (UTC)
WIR
{{Resolved}}
I know it’s not a traditional talk page template, but the {{WIR}} functions much like one for WikiProject Women in Red and should probably be tracked by Rater. --Nessie (talk) 01:45, 2 January 2020 (UTC)
- @NessieVL: Rater looks in categories to find banners, currently WikiProject banners with quality assessment, WikiProject banners without quality assessment, and Category:WikiProject banner wrapper templates. Perhaps we need a category for non-wikiproject talk page banners. In the mean time, you can add the banners just by typing WIR into the search box (you'll just get a warning that it isn't a recognised wikiproject banner) - Evad37 [talk] 13:06, 2 January 2020 (UTC)
- @NessieVL and CaptainEek:
Fixed WIR banners are now in the newly-created Category:WikiProject banner templates not based on WPBannerMeta, which means Rater can now find them - Evad37 [talk] 05:27, 23 March 2020 (UTC)
- Evad37, Ooh, thank you for dealing with that! CaptainEek Edits Ho Cap'n!⚓ 05:37, 23 March 2020 (UTC)
- @NessieVL and CaptainEek:
WIR issue
This recent edit with rater removed the WIR template from the talk page. Dunno if its a feature or a bug. Perhaps because it was in the WikiProject banner shell? CaptainEek Edits Ho Cap'n!⚓ 07:56, 18 January 2020 (UTC)
- Yeah, that's a problem. I've started looking in to fixing it, so templates not recognised as banners don't get removed from the banner shell. - Evad37 [talk] 11:54, 18 January 2020 (UTC)
- @CaptainEek:
Fixed, Rater will now keep WIR and other non-standard templates that already present within a banner shell. - Evad37 [talk] 00:51, 19 January 2020 (UTC)
- Evad37, Thank you very much! I very much love rater, one of my favorite tools. Keep up the good work!! CaptainEek Edits Ho Cap'n!⚓ 00:56, 19 January 2020 (UTC)
Autoadding WBS not working
{{Resolved}}
Autoadding of {{WikiProject banner shell}}
has stopped. I'm sure it worked yesterday. I added a third project to a page today and the shell didn't add like usual.--Auric talk 10:52, 24 March 2020 (UTC)
- @Auric:
Fixed. Yesterday's update accidentally broke that feature. - Evad37 [talk] 23:25, 24 March 2020 (UTC)
- Thanks for fixing this so quickly.--Auric talk 23:28, 24 March 2020 (UTC)
Predicted ratings
{{resolved}}
Hi Evad37, the rating of the script is way too lenient. It's, in fact, usually inaccurate.
- The rater should not predict article ratings as GA/FA as these require a thorough reviwe;
- The rater is really, really optimistic sometimes, like predicting a C-class on Masataka Kubota (which is just a list of filmography) or a GA on Newman's conjecture.
Could you please address the concerns? Thanks, from TLOM (The Lord of Math) (Message) 04:17, 31 March 2020 (UTC)
- The machine-generated predictions can be problematic – this has been raised before (User talk:Evad37/rater.js/Archive 1#ORES with a grain of salt), which resulted in autofill being restricted to the lower ratings only. Version 2 of Rater introduced preferences to enabled/disable autofilling from predicted quality, and added the probability percentage of the rating to the displayed prediction. Rater itself can't make more accurate predictions – it does not generated them itself, but uses ORES, so feedback would need to be given to that service's maintainers. But Rater can probably improve the way it handles data it gets back from ORES. My thoughts on this are:
- Detect featured articles/list and good articles (via presence of templates like
{{Featured article}}
), and for those pages show that status instead of the ORES prediction - Limit displayed predictions on other articles to B-Class.
- Detect featured articles/list and good articles (via presence of templates like
- - Evad37 [talk] 10:05, 31 March 2020 (UTC)
- @The Lord of Math:
Done - Evad37 [talk] 00:50, 1 April 2020 (UTC)
- @The Lord of Math:
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)
- Since upgrading my internet connection speed (with my ISP) have not seen this issue.{{Resolved}} - JoeHebda (talk) 14:38, 14 April 2020 (UTC)
Rater not working with custom importance masks
If you use rater for a WikiProject Video games article, the only options it gives you for importance are "(Auto-detect)" and "NA". My belief is that this is due to WPVG having a custom "importance mask" (Template:WikiProject Video games/importance) which is used to force certain classes of articles to be NA-importance by default. WPVG is, as far as I'm aware, the only large project to use it, and we had to adjust the code this summer when the Banner shell template had an update, which seems to have broken whatever Rater is using to detect possible importances. Can this be fixed? Alternately, does Evad37 or anyone else know what the Rater tool is looking for in terms of detecting what importance values are valid, that WPVG is missing and maybe I can add? Thanks! --PresN 20:46, 22 September 2023 (UTC)
- As far as I can tell, there's an easy fix without having to parse out importance masks, because Rater already supports custom lists of classes/importances per wikiproject. Just change the bit in app.js that has:
customBanners:{"WikiProject Military history":{classes:["FA","FL","A","GA","B","C","Start","Stub","List","AL","BL","CL","Category","Draft","File","Portal","Project","Template","Disambig","Redirect","Book"],importances:[]},"WikiProject Portals":{classes:["FPo","Complete","Substantial","Basic","Incomplete","Meta","List","Category","Draft","File","Project","Template","Disambig","NA","Redirect"],importances:["Top","High","Mid","Low","Bottom","NA"]}}
to add a bit for WikiProject Video Games:
customBanners:{"WikiProject Military history":{classes:["FA","FL","A","GA","B","C","Start","Stub","List","AL","BL","CL","Category","Draft","File","Portal","Project","Template","Disambig","Redirect","Book"],importances:[]},"WikiProject Portals":{classes:["FPo","Complete","Substantial","Basic","Incomplete","Meta","List","Category","Draft","File","Project","Template","Disambig","NA","Redirect"],importances:["Top","High","Mid","Low","Bottom","NA"]},"WikiProject Video games":{classes:["FA","FL","FM","GA","B","C","Start","Stub","List","Category","Draft","File","Portal","Project","Template","Disambig","Redirect"],importances:["Top","High","Mid","Low","NA"]}}
--PresN 01:36, 23 September 2023 (UTC)
- Want to test your change then make an {{IAER}}? –Novem Linguae (talk) 06:01, 23 September 2023 (UTC)
![]() | This edit request to User:Evad37/rater/app.js has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Requesting an edit to the app.js subpage of this script (User:Evad37/rater/app.js). The top-level rater.js page does not need to be edited.
- The changed code is at User:PresN/rater/app.js. Two changes have been made:
,"WikiProject Video games":{classes:["FA","FL","FM","GA","B","C","Start","Stub","List","Category","Draft","File","Portal","Project","Template","Disambig","Redirect"],importances:["Top","High","Mid","Low","NA"]}
is inserted after"WikiProject Portals":{classes:["FPo","Complete","Substantial","Basic","Incomplete","Meta","List","Category","Draft","File","Project","Template","Disambig","NA","Redirect"],importances:["Top","High","Mid","Low","Bottom","NA"]}
- The version number is bumped from 2.6.4 to 2.6.5
- Problem this fixes: Rater was not allowing users to select an importance level for the Video game wikiproject, as it could not recognize the importance levels supported by the project. The custom list fixes this.
- Testing: Tested using User:PresN/rater.js, which is adjusted to use the edited app.js. Verified that the dropdown now has the right options, and made a test edit to see that it saves the selection as well. --PresN 14:12, 23 September 2023 (UTC)
Done Izno (talk) 16:34, 23 September 2023 (UTC)
- @Izno: Thank you! Verified it works now. --PresN 16:55, 23 September 2023 (UTC)
Missing ORES predication
Hi, Reporting that ORES is gone from lower right corner. It says "Article page" all the time now, even when on Talk page. That prediction percent is helpful. JoeNMLC (talk) 21:06, 25 September 2023 (UTC)
- I second that bug report. Is this a regression in this new version 2.6.5 ? Widefox; talk 21:38, 25 September 2023 (UTC)
- The technology behind ORES was recently changed to Lift Wing. Any WP:CONSOLEERRORs? This might be the relevant bug report: https://phabricator.wikimedia.org/T347344 –Novem Linguae (talk) 21:43, 25 September 2023 (UTC)
- I was able to reproduce. The console error is
Access to XMLHttpRequest at 'https://ores.wikimedia.org/v3/scores/enwiki?models=articlequality&revids=1164786582' from origin 'https://en.wikipedia.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I'll go comment in that Phab ticket. –Novem Linguae (talk) 21:45, 25 September 2023 (UTC)- Yes, thanks for that link. I've confirmed it in that Phab ticket. Widefox; talk 22:08, 25 September 2023 (UTC)
- Update: - Happy to report Rater ORES is now functioning Okay. Since I run rater daily, multiple times, I will keep an eye out that it continues to work in the days ahead. THanks! Cheers, JoeNMLC (talk) 20:28, 26 September 2023 (UTC)
- Yes, thanks for that link. I've confirmed it in that Phab ticket. Widefox; talk 22:08, 25 September 2023 (UTC)
- I was able to reproduce. The console error is
- The technology behind ORES was recently changed to Lift Wing. Any WP:CONSOLEERRORs? This might be the relevant bug report: https://phabricator.wikimedia.org/T347344 –Novem Linguae (talk) 21:43, 25 September 2023 (UTC)
Vital article templates should not be placed in banner shell
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Bug fix request: My testing and diffs such as this reveal that Rater automatically places {{Vital article}} templates in the banner shell. This goes against WP:TALKORDER and also confuses certain user scripts. I'd like to request coding Rater to not move the {{Vital article}} template into the WikiProject banner template. –Novem Linguae (talk) 23:07, 19 February 2023 (UTC)
- They changed WP:TALKORDER today, so this is now correct behavior instead of a bug. Go ahead and disregard. –Novem Linguae (talk) 23:41, 20 February 2023 (UTC)
- The close was undone, so this still applies. However, unless it's an easy fix, it's probably savier to wait for the issue to be resolved before coding a fix. {{u|Sdkb}} talk 06:22, 21 February 2023 (UTC)
- Yeah, there are so many idea floated and other stuffs going on now after the passage of the global quality rating RfC, that it would be best to wait, until all dust has been settled. The expected behaviour of the various banners, their parameters, their order among many other things may be changed while we find ways to implement the consensus. —CX Zoom[he/him] (let's talk • {C•X}) 12:02, 21 February 2023 (UTC)
- The close was undone, so this still applies. However, unless it's an easy fix, it's probably savier to wait for the issue to be resolved before coding a fix. {{u|Sdkb}} talk 06:22, 21 February 2023 (UTC)
Rater Use
Hello, how to use rater from phone ?? I don't know, so can anyone help me ? Bapinghosh (talk) 06:25, 25 July 2021 (UTC)
Rater does not seem to "see" certain WikiProjects
{{Resolved}} When I use Rater on any Australian article, e.g. City of Sydney, it does not display anything about WikiProject Australia, yet the Talk page has what appears to be a normal WikiProject tagging, e.g. for City of Sydney
{{WikiProject Australia|class=C|importance=Mid|Sydney=yes|Sydney-importance=top}}
When I use Rater on Vanuatu, it displays
{{Vital article}} {{WikiProject banner shell}}
but nothing about the WikiProjects Countries, Oceania, etc which can be seen on its Talk page.
Not sure when the problem started but I last used it on 24 October and everything was normal. Thanks Kerry (talk) 12:33, 26 October 2023 (UTC)
- Yep, came here to say the same. Earlier today I tried to rate a new article for Biography, Malaysia, and one other (Politics?) projects, none of which was found. I've just now tried Scotland and Lakes, again the same problem. -- DoubleGrazing (talk) 15:53, 26 October 2023 (UTC)
- I think it's not just certain WikiProjects, but all WikiProjects. Rater seems to only see those templates that aren't WikiProjects (like the WP banner shell). Dieter Lloyd Wexler 16:46, 26 October 2023 (UTC)
- Glad (?) i'm not the only one. On a recent article it showed {{WPMED}} but wouldn't let me add {{WikiProject Tree of Life}}, and didn't even show that one of the dropdown options. awkwafaba (📥) 18:09, 26 October 2023 (UTC)
- Greetings, Rater is Okay for me with all above mentions. I'm on Timeless Skin, Vivaldi browser, Linux Mint O/S. Not sure what to make of these "glitches". I see Rater was updated 2.6.4 to 2.6.5 on 23 September 2023. Don't know if that makes a difference. Regards, JoeNMLC (talk) 19:42, 26 October 2023 (UTC)
- Also getting the issues on Firefox as of yesterday. signed, Rosguill talk 22:19, 26 October 2023 (UTC)
- Also getting the issues on Brave today. Significa liberdade (she/her) (talk) 01:04, 27 October 2023 (UTC)
- This contributor's install was working on Windows Edge till this overnight. (Patience is a virtue...) --Slgrandson (How's my egg-throwing coleslaw?) 07:37, 27 October 2023 (UTC)
- Glad (?) i'm not the only one. On a recent article it showed {{WPMED}} but wouldn't let me add {{WikiProject Tree of Life}}, and didn't even show that one of the dropdown options. awkwafaba (📥) 18:09, 26 October 2023 (UTC)
- I -WAS NOT- able to reproduce the Talk:City of Sydney error. I -WAS- able to reproduce the Talk:Vanuatu error. There are no JavaScript warnings or errors in the browser console. Vector 2010, Chrome, Windows 10. –Novem Linguae (talk) 20:31, 26 October 2023 (UTC)
- I replicated the errors on both those pages. Another example is Sporidia which shows nothing in rater. @MSGJ: has been making changes to a lot of the talk page templates recently, maybe they know of a change from the templates that may be causing this? awkwafaba (📥) 22:27, 26 October 2023 (UTC)
- If it helps, I noticed that I was able to do this one just fine a minute ago, but every one I tried after that was blank and I would have to do it manually. No idea why that first one would work for me but not the following ones since it looks like this isn't an issue that just started this hour or anything. - Aoidh (talk) 03:22, 27 October 2023 (UTC)
- Would love to hear from @MSGJ. Since Rater's code hasn't been edited in years, the hypothesis that a change to something onwiki broke Rater is a good hypothesis. –Novem Linguae (talk) 06:29, 27 October 2023 (UTC)
- Well yes, the banner module is being actively developed and there have been numerous changes to it over the past weeks, mainly related to quality assessments. Without a detailed knowledge of how Rater is coded and what aspects it is using, it will be hard to know which change has affected it. Does it read/use the code of the banner template or just the wikitext on the page it is used? — Martin (MSGJ · talk) 07:29, 27 October 2023 (UTC)
- I replicated the errors on both those pages. Another example is Sporidia which shows nothing in rater. @MSGJ: has been making changes to a lot of the talk page templates recently, maybe they know of a change from the templates that may be causing this? awkwafaba (📥) 22:27, 26 October 2023 (UTC)
- This might be unrelated, but I forked Evad37's script three years ago (the only difference between his rater script and my fork is that my fork uses User:Epicgenius/rater/app-24.js, and that fork was working properly until today). Whatever the error is, it seems to be affecting both of our scripts, since the only change I made to my script in the past three years was to beautify the code. I was able to replicate the errors on City of Sydney and Vanuatu using both scripts. – Epicgenius (talk) 22:09, 26 October 2023 (UTC)
- Just chiming in I have the same problem, only seeing template wrappers and like (Islam in China but not China, History of Poland but not Poland). Hope this is fixed soon. Piotr Konieczny aka Prokonsul Piotrus| reply here 08:41, 27 October 2023 (UTC)
- Also chiming in to report that im also having the same problem. It seems that only inactive wikiprojects are showing up.Mason (talk) 12:28, 27 October 2023 (UTC)
For anyone who's still having trouble, you should reset your Rater cache. Open Rater, go to settings (cog wheel at top left of Rater dialog), and click the "Reset cache" button. - Evad37 [talk] 12:24, 28 October 2023 (UTC)
- Thank you, I can confirm that after doing that Rater now works for me. - Aoidh (talk) 12:29, 28 October 2023 (UTC)
- Ditto, thanks! signed, Rosguill talk 14:56, 28 October 2023 (UTC)
Technical investigation
I'm now able to reproduce the error on both pages (Talk:City of Sydney and Talk:Vanuatu). I was going to set some breakpoints and poke around, but the code is partially minified. The code is built from about 24 .js files located at https://github.com/evad37/rater/tree/master/rater-src. Poking around the browser's devtools network tab, there are 5 API queries that execute when you click "More -> Rater". The API queries look healthy. In particular, https://en.wikipedia.org/w/api.php?action=query&format=json&prop=revisions&rvprop=content&rvsection=0&titles=Talk%3ACity%20of%20Sydney&indexpageids=1 returns "*": "{{WikiProject Australia|class=C|importance=Mid|Sydney=yes|Sydney-importance=top}}"
as expected. A good spot to breakpoint would be whatever code parses the result of that API query. –Novem Linguae (talk) 05:49, 27 October 2023 (UTC)
- The script finds which templates are actually Wikiproject banners based on categories, which seem to have changed. Category:WikiProject banners with quality assessment, for example, is currently empty. - Evad37 [talk] 12:49, 27 October 2023 (UTC)
- Could you change it to look into Category:WikiProject banner templates? — Martin (MSGJ · talk) 12:51, 27 October 2023 (UTC)
- Hmm, Category:WikiProject banners without quality assessment is also empty... - Evad37 [talk] 13:10, 27 October 2023 (UTC)
- They have been combined into one. If you still need these separate categories for some reason, I can repopulate? — Martin (MSGJ · talk) 13:13, 27 October 2023 (UTC)
- Yeah, Rater needs to know which banners it can set the quality parameters for, and which ones it shouldn't. - Evad37 [talk] 13:16, 27 October 2023 (UTC)
- Okay standby then. But would be better if Rater could start using WP:PIQA and add the quality assessment to the banner shell instead. — Martin (MSGJ · talk) 13:18, 27 October 2023 (UTC)
- It does. For me it adds a shell when there are 3 or more talk tamplates. The quality assessment for the shell was added recently, and uses a separate dropdown. I agree it could be integrated better, but it is there. awkwafaba (📥) 14:16, 27 October 2023 (UTC)
- Great. Maybe I should start using it — Martin (MSGJ · talk) 14:22, 27 October 2023 (UTC)
- Adding a shell banner is not the issue (which does include a class parameter), the issue to me is the default adding of ratings to individual projects so to just do it in the banner requires "manually" adding the rating to the banner (no dropdown) and setting the project ratings to null (which can be done all at once at least). -Kj cheetham (talk) 17:03, 12 November 2023 (UTC)
- Yes, I getting tired of seeing edits like this which completely goes against the unified rating by ignoring the class parameter in the banner shell and adding a conflicting rating to each individual project banner. We need to stop rater doing this, as soon as possible — Martin (MSGJ · talk) 21:57, 13 November 2023 (UTC)
- I'd prefer to continue to allow projects to give their own assessment. While that may not be usually needed, sometimes there is room for disagreement between different projects' expectations. Stefen Towers among the rest! Gab • Gruntwerk 22:20, 13 November 2023 (UTC)
- That ended with WP:PIQA, except for a very few projects that decided to "opt-out". We are moving towards a unified assessment system for all projects/articles. — Martin (MSGJ · talk) 23:22, 13 November 2023 (UTC)
- OK, but that could lead to some conflicts between projects, and I thought we were wanting to move away from that, like by changing "membership" to "participation". It's a shame we didn't have a wider discussion on that matter before the decision came down. Stefen Towers among the rest! Gab • Gruntwerk 23:25, 13 November 2023 (UTC)
- That ended with WP:PIQA, except for a very few projects that decided to "opt-out". We are moving towards a unified assessment system for all projects/articles. — Martin (MSGJ · talk) 23:22, 13 November 2023 (UTC)
- I'd prefer to continue to allow projects to give their own assessment. While that may not be usually needed, sometimes there is room for disagreement between different projects' expectations. Stefen Towers among the rest! Gab • Gruntwerk 22:20, 13 November 2023 (UTC)
- Yes, I getting tired of seeing edits like this which completely goes against the unified rating by ignoring the class parameter in the banner shell and adding a conflicting rating to each individual project banner. We need to stop rater doing this, as soon as possible — Martin (MSGJ · talk) 21:57, 13 November 2023 (UTC)
- P.S. May want to consider adding the shell banner for less than 3 projects by default too. -Kj cheetham (talk) 17:04, 12 November 2023 (UTC)
- Yes, it is even possible to add banner shell when there are zero projects — Martin (MSGJ · talk) 21:56, 13 November 2023 (UTC)
- Adding a shell banner is not the issue (which does include a class parameter), the issue to me is the default adding of ratings to individual projects so to just do it in the banner requires "manually" adding the rating to the banner (no dropdown) and setting the project ratings to null (which can be done all at once at least). -Kj cheetham (talk) 17:03, 12 November 2023 (UTC)
- Great. Maybe I should start using it — Martin (MSGJ · talk) 14:22, 27 October 2023 (UTC)
- It does. For me it adds a shell when there are 3 or more talk tamplates. The quality assessment for the shell was added recently, and uses a separate dropdown. I agree it could be integrated better, but it is there. awkwafaba (📥) 14:16, 27 October 2023 (UTC)
- Okay standby then. But would be better if Rater could start using WP:PIQA and add the quality assessment to the banner shell instead. — Martin (MSGJ · talk) 13:18, 27 October 2023 (UTC)
- Yeah, Rater needs to know which banners it can set the quality parameters for, and which ones it shouldn't. - Evad37 [talk] 13:16, 27 October 2023 (UTC)
- They have been combined into one. If you still need these separate categories for some reason, I can repopulate? — Martin (MSGJ · talk) 13:13, 27 October 2023 (UTC)
- Hmm, Category:WikiProject banners without quality assessment is also empty... - Evad37 [talk] 13:10, 27 October 2023 (UTC)
- Could you change it to look into Category:WikiProject banner templates? — Martin (MSGJ · talk) 12:51, 27 October 2023 (UTC)
- Hurray! It is working again! How much I missed it and how glad I am to see it working again! Thanks to all who helped! Kerry (talk) 21:50, 28 October 2023 (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)
- Patch filed. SD0001 (talk) 18:34, 9 December 2019 (UTC)
List of and rater
Good Morrow, is it possible that rater.js identifies "List" as class by default (of course that can be changed manually if needed) if an article title starts with "List of...." such as List of districts in Telangana by GDP? Regards. --Titodutta (talk) 06:29, 3 April 2020 (UTC)
- @Titodutta:
Done - Evad37 [talk] 02:18, 8 April 2020 (UTC)
Down?
Seems like Rater is down at the moment. Abductive (reasoning) 00:36, 2 July 2020 (UTC)
- @Abductive: Still working for me. Did you change any gadgets, or add or remove any userscripts recently? Also can you clarify what you mean by "down" – i.e. does it not show up at all, does loading the Rater dialog fail, does it not save edits, ...? - Evad37 [talk] 02:09, 2 July 2020 (UTC)
- It seems to hang at the part where it is supposed to present the class and assessment pulldowns. Abductive (reasoning) 02:11, 2 July 2020 (UTC)
- I'm getting that error now on some pages... it seems to come from a recent change was made to mw:OOUI. - Evad37 [talk] 02:26, 2 July 2020 (UTC)
- I really should learn some code... Abductive (reasoning) 02:41, 2 July 2020 (UTC)
Fixed - Evad37 [talk] 03:02, 2 July 2020 (UTC)
- I really should learn some code... Abductive (reasoning) 02:41, 2 July 2020 (UTC)
- I'm getting that error now on some pages... it seems to come from a recent change was made to mw:OOUI. - Evad37 [talk] 02:26, 2 July 2020 (UTC)
- It seems to hang at the part where it is supposed to present the class and assessment pulldowns. Abductive (reasoning) 02:11, 2 July 2020 (UTC)
Error on 25 September 2020
Receiving this error on any page:
Checking subject page... Failed. API error internal server error: Traceback (most recent call last): File "./ores/wsgi/routes/v3/util.py", line 105, in process_score_request score_response = scoring_system.score(score_request) File "./ores/scoring_systems/scoring_system.py", line 60, in score response = self._score(request) File "./ores/scoring_systems/celery_queue.py", line 194, in _score self._check_queue_full() File "./ores/scoring_systems/celery_queue.py", line 204, in _check_queue_full queue_size = self.redis.llen(DEFAULT_CELERY_QUEUE) File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/redis/client.py", line 1953, in llen return self.execute_command('LLEN', name) File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/redis/client.py", line 898, in execute_command conn = self.connection or pool.get_connection(command_name, **options) File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/redis/connection.py", line 1192, in get_connection connection.connect() File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/redis/connection.py", line 567, in connect self.on_connect() File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/redis/connection.py", line 643, in on_connect auth_response = self.read_response() File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/redis/connection.py", line 739, in read_response response = self._parser.read_response() File "/srv/deployment/ores/deploy/venv/lib/python3.5/site-packages/redis/connection.py", line 340, in read_response raise error redis.exceptions.ConnectionError: max number of clients reached
--☾Loriendrew☽ ☏(ring-ring) 23:58, 25 September 2020 (UTC)
- I have the same problem. I have reinstalled the script but the issue still persists. Darwin Naz (talk) 00:23, 26 September 2020 (UTC)
- @Loriendrew and Darwin Naz: Looks like it was a temporary problem with ORES, seems to be resolved now. In any case, I've modified Rater so that if ORES has a problem again, it will just continue without the ORES predicted rating - Evad37 [talk] 04:08, 26 September 2020 (UTC)
- Hi, Evad37. It's already working. Thanks for the update! Regards, Darwin Naz (talk) 22:24, 28 September 2020 (UTC)
- @Loriendrew and Darwin Naz: Looks like it was a temporary problem with ORES, seems to be resolved now. In any case, I've modified Rater so that if ORES has a problem again, it will just continue without the ORES predicted rating - Evad37 [talk] 04:08, 26 September 2020 (UTC)
Duplicate in dropdown
Why does the Military history WikiProject show up twice in the Rater dropdown? Is it listed twice somewhere? czar 04:52, 10 December 2020 (UTC)
- Yes, it was in Category:WikiProject banner templates not based on WPBannerMeta, and had also been manually added to Category:WikiProject banners with quality assessment which is only meant to for WPBannerMeta-based templates. Fixed, but may take a little time for Rater's cache to update - Evad37 [talk] 00:43, 17 January 2021 (UTC)
Add {Talk header} automatically? Also, any rating guides?
Hi, thanks for making Rater, great tool. Two quick questions, anybody may answer.
- Would it make sense to add {{Talk header}} to rated pages automatically, or to have an option for this in Rater's settings? That's a particularly good talk page banner as it combines instructions for newer editors, a talk search function, and talk archive links.
- Is there a guide to rating somewhere with some WikiProject specific tips? For example, I ran across a biography of a British person, but I have no idea if WikiProject UK cares about bios, or is just geography and issue focused.
Thanks. –Novem Linguae (talk) 12:23, 4 March 2021 (UTC)
- @Novem Linguae: Please do not add
{{Talk header}}
to any pages automatically. Per its documentation,this template should be used only when a page requires it. There is no need to add this template to every talk page.
It goes on:talk pages that are frequently misused, that attract frequent or perpetual debate, articles often subject to controversy, and highly-visible or popular topics may be appropriate for this template.
This means that the template should not be added to a talk page that is not misused, that rarely attracts debate, and does not attract controversy. A script cannot make this judgement. --Redrose64 🌹 (talk) 22:35, 4 March 2021 (UTC)