Jump to content

Talk:SWViewer

From Meta, a Wikimedia project coordination wiki
This is an archived version of this page, as edited by Iluvatar (talk | contribs) at 12:48, 24 February 2023 ([BUG]: Unable to use rollback: +). It may differ significantly from the current version.

Latest comment: 1 year ago by Iluvatar in topic [BUG]: Unable to use rollback
SpBot archives all sections tagged with {{Section resolved|1=~~~~}} . For the archive overview, see Archive.

Translation progress

Hey, Minorax and Hasley

First of all thank you for all the work in preparation of translation of SWViewer and SWViewer/header.

I am just opening this thread to track translation progress. I see that you guys are fixing little issues. Please ping me once the page is actually ready and have no issues left, so that I can announce it at various places to get translators.

I have also added you two to SWViewer/members, in case you don't want feel free to remove yourself.

To other translators or who wish to help with documentation, if you wish please add yourself to SWViewer/members too. Thanks in advance! ‐‐1997kB (talk) 13:33, 25 August 2020 (UTC)Reply

The latest version looks good from my eyes, but perhaps needs a little tweaking. CC 1997kB and Minorax. Sgd. —Hasley 21:54, 25 August 2020 (UTC)Reply
@1997kB and Hasley: I've added a see also section to link to mediawiki. --Minorax (talk) 04:37, 26 August 2020 (UTC)Reply
@Minorax: Btw it was already linked in header. ‐‐1997kB (talk) 04:51, 26 August 2020 (UTC)Reply
@1997kB: It isn't prominent enough though. --Minorax (talk) 04:52, 26 August 2020 (UTC)Reply
@Minorax: this version seems stable, I think we can proceed now, but would like to suggest changing enwiki articles to Wikidata items. (P.S.: 1997kB, dummy edits are no longer needed. You can mark this page at Special:PageTranslationSWViewer → mark for translation.) Sgd. —Hasley 14:20, 26 August 2020 (UTC)Reply

Help with translation

‐‐1997kB (talk) 13:39, 25 August 2020 (UTC)Reply

[FEATURE]: Dubious edits

Type Feature
Setup unknown
  What about adding a feature where could be reported dubious edits and dubious newly-created pages (if an user si unsure whether a certain edit or newly-created page is vandalism or not, other users could verify those edits and pages)?

--NGC 54 (talk / contribs) 18:40, 21 March 2021 (UTC)Reply

@NGC 54: Are there any pages onwiki where people do such requests or you asking it to be added in SWViewer? ‐‐1997kB (talk) 14:00, 22 April 2021 (UTC)Reply
To be added in SWViewer. --NGC 54 (talk / contribs) 14:02, 22 April 2021 (UTC)Reply
It could look like the log where there are written the last edits/actions made with SWViewer (reverts, warnings, undos...). --NGC 54 (talk / contribs) 14:03, 22 April 2021 (UTC)Reply

[FEATURE]: Enable patrolling

Type Feature
Setup unknown
  Enable patrolling of the displayed edit/diff. This should be available only for patrollers (if not possible, add an option to disable it i.e. remove the button). Maybe a button for this action can be placed at the 1st position (as most of the edits are usually fine). Here's a link to the API reference: MediaWiki API help: action=patrol

StanProg (talk) 14:15, 22 April 2021 (UTC)Reply

Support Support. --NGC 54 (talk / contribs) 12:02, 25 April 2021 (UTC)Reply

[OTHER]: Rollback pings

Type Other
Setup unknown
  Recently I made an improvement to config.json, preventing users from being pinged, but today someone reported that they got pinged, so I guess my change hasn't been processed yet. My question is: when will SWViewer load the new config?

bdijkstra (talk) 11:37, 24 April 2021 (UTC)Reply

Tracked in Phabricator:
Task T281033
defaultRollbackPrefix — is parameter for custom rollback: default prefix + custom reason. But here was used normal rollback. String is configured by the MediaWiki, not SWViewer.—Iluvatar (talk) 11:59, 24 April 2021 (UTC)Reply
UPD: see nlwiki and enwiki. You need to ask about settings of MediaWiki for nlwiki on Phabricator. Sorry for my English.—Iluvatar (talk) 12:09, 24 April 2021 (UTC)Reply
I see, so apparently both use the same string, but the MediaWiki rollback suppresses the ping. Otherwise I would have received pings from those. So I think this is an issue with SWViewer. --bdijkstra (talk) 12:52, 24 April 2021 (UTC)Reply
Bdijkstra, No MediaWiki doesn't supress pings. I get them all the time when people revert to my edits. I guess it's depends upon notification settings. ‐‐1997kB (talk) 16:39, 24 April 2021 (UTC)Reply
This isn't about user A receiving a ping when user B reverts their edit, this is about user C receiving a ping when user B reverts an edit by user A to the last revision by user C. In my notification settings, I have mention pings turned on, but I haven't received this kind of ping in ages, except recently with SWViewer. Presumably this user had the same experience. --bdijkstra (talk) 16:54, 24 April 2021 (UTC)Reply

[BUG]: Report function adds improper newline before report

Type Bug
Setup unknown
  See diff on English Wikipedia: it's a list, so a blank line in between the list items ends the list and starts a new one, instead of adding an item to the list. This is minor, but it'd be nice if it was fixed. Tol (talk | contribs) @ 05:06, 23 April 2022 (UTC)Reply
@Tol Seems no issues and these are unbulleted list after all and I think some noticeboard prefer newline and that's why it was added. (Don't remember exactly which require it). ‐‐1997kB (talk) 14:18, 20 July 2022 (UTC)Reply
@1997kB, this is per English Wikipedia's w:en:WP:LISTGAP guideline section and for accessibility in general; this is problematic because it creates a new list instead of adding another item to the existing list. Would there be any way to change this just for English Wikipedia? Tol (talk | contribs) @ 00:11, 21 July 2022 (UTC)Reply

[ADDITION + FEATURE]: About warnings on eswiki and enwikiquote

Type Addition + Feature
Setup unknown
 
  • Addition: First of all, on enwikiquote there are some vandal warnings yet to be added: For Spam, Level 1 and Level 2 (Last). Promotional/Advertising Spam: Only warring. Vandalism: 1 (more like for test edits in general), Level 2 (vandalism in general), Level 3, Level 4, there's also another warning, but it should be used only by admins, Lvl 5. Please add them, they're necessary. Also: vandals who passed the 4th or only warning, should be reported on q:Wikiquote:Vandalism in progress, with the following syntax, for IP addresses: * {{IPvandal|INSERT IP ADDRESS}}<br> Vandalism after the last or only warning. ~~~~ and * {{Vandal|INSERT USER}}<br>Vandalism after the last or only warning. ~~~~ for accounts. The header or thread text should read: New report {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}, {{CURRENTTIME}}
  • Feature: On the other hand, I noticed that there's a problem with the speed deletion warnings in Spanish Wikipedia. SWViewer is using speedy deletions warnings from Huggle, which are now outdated and we now use the following syntax: {{subst:Aviso destruir|PAGE NAME HERE|REASON HERE}} ~~~~. The other speedy deletion criteria can be found in es:WP:CBR.

-Alabama- (talk) 19:23, 17 July 2022 (UTC)Reply

@-Alabama- All of these can be changed by anyone. You just need to edit SWViewer/config.json. ‐‐1997kB (talk) 14:14, 20 July 2022 (UTC)Reply

[SUGGESTION]: Custom CSS/Javascript pages shouldn't appear

Type Suggestion
Setup unknown
  Hello! I feel like SWViewer shouldn't show edits to Custom Javascript and CSS pages since the majority of users can't do anything to them and it requires them to be an interface administrator. Including them in the SWViewer feed feels rather pointless if the majority of users can't do anything about them even if they're vandalism.

Blaze WolfTalkBlaze Wolf#6545 15:39, 13 September 2022 (UTC)Reply

@Blaze Wolf On the English wikipedia if you come across inappropriate content in a user CSS or JS page you should place a speedy deletion tag on the associated talk page. 192.76.8.74 10:04, 15 September 2022 (UTC)Reply
That's something you can do? I didn't even know they did have talk pages. ― Blaze WolfTalkBlaze Wolf#6545 13:01, 15 September 2022 (UTC)Reply
@Blaze Wolf All user pages have associated talk pages. Your common.js talk page is w:User talk:Blaze Wolf/common.js. 192.76.8.74 15:46, 15 September 2022 (UTC)Reply
Well I knew that all userpages had an associated talk page, but I didn't know that CSS and JS pages had one, I didn't even know you could edit them. ― Blaze WolfTalkBlaze Wolf#6545 15:47, 15 September 2022 (UTC)Reply

Translation errors

Hey, some of the Scowiki edit summaries are incorrect/Scotched. The Scots for "page" for example, is "page" rather than "paige", "Nae uiseful content" should be "Nae uissfu content", "Oot o projecht scope" should be "Oot o project scope" and "Baffle" should be "Haivers". I've asked a few other Scots editors to check in in case there's something I missed CiphriusKane (talk) 01:01, 11 November 2022 (UTC)Reply

Hey, please fix it on:
Summaries, warnings, etc: SWViewer/config.json.
WebApp interface: Translating:SWViewer. Iluvatar (talk) 18:44, 12 November 2022 (UTC)Reply

[FEATURE]: Remove edits that have already been reverted from the queue

Type Feature
Setup unknown
  I wish SWViewer could be able to remove from the queue edits that have already been rolled back by other good-faith users or bots, so as not to stumble upon irrelevant cases of vandalism.

evs 💬 19:20, 14 November 2022 (UTC)Reply

It's impossible. Too much load on the device, network and server. Every X seconds scan all queue for each user.—Iluvatar (talk) 05:56, 15 November 2022 (UTC)Reply
That's not entirely correct. If you enable "live updates" in the recent changes list and filter for "latest revision" vandalism (enwiki example), it does this just fine, so it's not just possible but rather already implemented in production somewhere. ToBeFree (talk) 20:45, 9 December 2022 (UTC)Reply
per above Support Support 🌸 Sakura emad 💖 (talk) 09:23, 15 February 2023 (UTC)Reply

[BUG]: SWViewer don't work on Nintendo Switch

Type Bug
Setup NetFront (Webkit based on Safari 9.0) on Nintendo Switch firmware 15.0.0
  I am trying to connect to SWViewer, but didn't connect. The error is 'System connection lost'.

Xeverything11 (talk) 18:28, 1 December 2022 (UTC)Reply

@Xeverything11 I don't think we have support for that browser. ‐‐1997kB (talk) 04:10, 3 December 2022 (UTC)Reply

[SUGGESTION]: "(level X)" in edit summaries

Type Suggestion
Setup N/A
  The edit summary generated by SWViewer unnecessarily contains "(level 1)", "(level 2)" or similar. This can be improved by replacing
  • "Message related to your edit (level 1)" by "Message related to your edit";
  • "Message related to your edit (level 2)" by "Caution";
  • "Message related to your edit (level 3)" by "Warning"; and
  • "Message related to your edit (level 4)" by "Final warning".
The current wording might confuse new users, and it might encourage them to test which level comes next (RPG style).

ToBeFree (talk) 20:41, 9 December 2022 (UTC)Reply

I tried updating the config page a few times, but the updated edit summary is not showing, unless it’s related to the console or it’s something else that needs to be updated? Tropicalkitty (talk) 23:51, 11 December 2022 (UTC)Reply

I'd suggest a similar feature like this, can we provide the level of warnings that user received close to their edits like Huggle? Lemonaka (talk) 04:37, 6 January 2023 (UTC)Reply

[BUG]: Bug on summary at ptwiki

Type Bug
Setup unknown
  There is a small bug I have seen on pt.wikipedia from watching edits by another user. example 1, example 2. The summary does not separate user name of the user being reverted and it is displayed as if it were the same word.

Teles «Talk ˱C L @ S˲» 01:47, 8 January 2023 (UTC)Reply

Done Special:Diff/24374159. ~~~~
User:1234qwer1234qwer4 (talk)
12:26, 15 January 2023 (UTC)Reply

[BUG]: Talk doesn't work on Opera GX

Type Bug
Setup Latest version of Opera GX
  As the title states, the talk doesn't seem to function on the Opera GX internet browser in that you are unable to send any messages. YOu can type a message and see others' messages, hwoever you can't send any yourself no matter what (clicking the send button doesn't work and neither does hitting enter). Works fine in Google Chrome

Blaze WolfTalkBlaze Wolf#6545 17:40, 23 January 2023 (UTC)Reply

[FEATURE]: Mental health: Take a break popup and slow down stream

Type Feature
Setup unknown
  It can be easy to "get lost" in the stream. Can we implement a popup that notifies you to take a break after a certain (programmable) amount of time has passed? This feature is becoming increasingly common in certain websites/apps and I believe it helps with mental health. Having a way to artificially slow down the stream could also be helpful. Personally speaking, it generates anxiety for me.

Klein Muçi (talk) 17:26, 8 February 2023 (UTC)Reply

it can be same as sleep(); function or anything similar. 🌸 Sakura emad 💖 (talk) 09:26, 15 February 2023 (UTC)Reply
Sakura emad, I suppose in a typical sleep function you'd get something like this: get all edits from the stream in that moment, sleep for 5 seconds, get all edits that happened during those 5 seconds up until that moment, sleep for 5 seconds, get all edits...
While what I'm mostly after is: Get precisely 1 edit, sleep for 5 seconds, get 1 edit that is known that it isn't acted upon by anyone at the time shown, sleep for 5 seconds, get 1 edit that is known that... — Klein Muçi (talk) 09:40, 15 February 2023 (UTC)Reply

[MINOR FEATURE]: Custom reverts should remember old given reasons (at least in the same session)

Type Minor feature
Setup unknown
  Usually I tend to use only 2-3 general reasons on custom reverts. If they can be remembered and autosuggested in a dropdown menu it could save me a lot of hassle.

Klein Muçi (talk) 01:03, 10 February 2023 (UTC)Reply

[BUG]: "Language set" doesn't work when "small wikis" and/or "additional wikis" are enabled

Type Bug
Setup unknown
  If you have "small wikis" and/or "additional wikis" enabled you start getting edits in languages different from what you've set up in the list.

Klein Muçi (talk) 17:38, 15 February 2023 (UTC)Reply

[BUG]: Unable to use rollback

Type Bug
Setup Firefox 110.0 (64-bit)
  I've tried to use rollback instead of undo, but that checkbox is grayed out to me and therefore can't change it. As steward I can rollback in all CentralAuth wikis, so it's not clear to me why SWViewer won't let me rollback. See e.g. diff 149346152@eswiki. Thank you.

MarcoAurelio (talk) 21:52, 17 February 2023 (UTC)Reply

I have also tried to clear the cache, log-in, log-out, etc. without success. On the console, I see some CSP errors but it seems they're only reporting, and not actually blocking. —MarcoAurelio (talk) 21:43, 18 February 2023 (UTC)Reply
Screenshot of the issue: https://phabricator.wikimedia.org/F36860788. —MarcoAurelio (talk) 21:45, 18 February 2023 (UTC)Reply
Hi @MarcoAurelio:, just to be sure, have you checked here if "Rollback changes to pages" is granted for SWViewer? --Superpes15 (talk) 21:55, 18 February 2023 (UTC)Reply
Hi @Superpes15: Thanks for the answer. Yes, rollback is authorized in the OAuth grants. —MarcoAurelio (talk) 21:57, 18 February 2023 (UTC)Reply
@MarcoAurelio: Uhm, actually it's weird. I saw you made a rollback today on eswikt. Is the problem only with eswiki or with all wikis now? Superpes15 (talk) 22:01, 18 February 2023 (UTC)Reply
@Superpes15: Happened on Meta too and some other projects; no idea why I can rollback "intermitently" then. I could rollback on eswiktionary yesterday as well, then swviewer only allowed me to undo. No idea what's going on :-) —MarcoAurelio (talk) 22:05, 18 February 2023 (UTC)Reply
Checking here and there I think this was introduced in c304dcb by @Iluvatar and may be intentional, but is this the expected behaviour? Neither the global rollbacker nor the steward global groups are limited to a wikiset. Plus, on wikis where I am a local rollbacker or sysop I am being prevented from using it. I don't think rollback should be restricted. Thanks, —MarcoAurelio (talk) 22:31, 18 February 2023 (UTC)Reply
No, its not expected behavior.
Under what conditions does the problem occur? Immediately after re-login? Only custom rollback or not? Iluvatar (talk) 06:04, 19 February 2023 (UTC)Reply
c304dcb is a feature to force undo instead rollback in a custom rollback for some wikis where (according to they rules) a rollback with comment does not equate to a undo. But just ruwiki now. Iluvatar (talk) 06:15, 19 February 2023 (UTC)Reply
Hello @Iluvatar and thanks for your reply. In my case SWViewer defaults to undo, but I'm not sure if this happens immediately after login or at a later point. It happened to me on both, default and custom rollback. I've tried to Ctrl+Shift+R several times to clear the cache and see if that fixed the issue, but it didn't. Please let me know if you need more details. Happy to do a live debug IRC session as well when we both can if needed. Best regards, —MarcoAurelio (talk) 14:54, 19 February 2023 (UTC)Reply
Ok, thank you. I will be able to test it in 6 days. Now I am 400 km away from my PC. :( Iluvatar (talk) 15:23, 19 February 2023 (UTC)Reply
No problem, this is not urgent. Safe travels. —MarcoAurelio (talk) 15:25, 19 February 2023 (UTC)Reply
MarcoAurelio, Fixed. Please clear cache and re-login.--Iluvatar (talk) 12:48, 24 February 2023 (UTC)Reply

[SUGGESTION]: Allow custom CSD reason

Type Suggestion
Setup unknown
  When tagging a page on any wiki for deletion, SWViewer gives the user a bunch of set reasons for the tagging. Often, though, it would be quite helpful and convenient if it allowed entering a reason manually instead of having to "edit" the page to do so. Similar to how undoing with reason works, I think this will be useful.

--Svartava (talk) 16:30, 19 February 2023 (UTC)Reply

[BUG]: Error queue and chatboard

Type Bug
Setup unknown
  When I go to SWViewer, the queue and chatboard don't active on my phone though my desktop still fine. I reloaded that page, but not useful. And day by day that error is still there. Can everyone help me? Quangkhanhhuynh (talk) 10:22, 20 February 2023 (UTC)Reply