User talk:Evad37/rater.js/Archive 2
![]() | This is an archive of past discussions with User talk:Evad37/rater.js. 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)

- 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: