Jump to content

Talk:SWViewer/Archives/2023

From Meta, a Wikimedia project coordination wiki
Latest comment: 8 months ago by TenWhile6 in topic [BUG]: Error queue and chatboard

[ADDITION]: Metawiki warning templates

This section was archived on a request by: Mako001 (C)  (T)  🇺🇦 06:38, 3 January 2023 (UTC)
Type Addition
Setup unknown
  I have been trying to change the existing section for metawiki to:
code I was trying to add
"metawiki": [ {{ "defaultRollbackPrefix": "[[Meta:ROLLBACK|Reverted]] edits by [[Special:Contributions/$2|$2]] ([[User talk:$2|talk]]) to last revision by $1: ", "defaultUndoSummary": "Undid edits by [[Special:Contributions/$2|$2]] ([[User talk:$2|talk]]) to last revision by $1", "defaultUndoPrefix": "Undid edits by [[Special:Contributions/$2|$2]] ([[User talk:$2|talk]]) to last revision by $1: ", "speedySummary": "Requesting [[WM:CSD|speedy deletion]]", "speedyWarnSummary": "Notification: speedy deletion nomination of [[$1]]", "report": [ { "pageReport": "Meta:Requests for help from a sysop or bureaucrat", "regexReport": "\\s?\\{{2}vandal\\s?\\|1=\\s?$1\\s*?\\}{2}", "sectionReport": "$1", "withoutSectionReport": true, "textReport": "{{subst:VandalReport|1=$1|2=Vandalism}}", "summaryReport": "Reporting [[Special:Contributions/$1|$1]].", "autoReport": true } ], "speedy": [ { "name": "Nonsense", "template": "{{delete|No meaningful content}}", "warn": "{{subst:CSD notice|page=$1|reason=contains no meaningful content}} ~~~~" }, { "name": "Vandalism", "template": "{{delete|Vandalism}}", "warn": "{{subst:CSD notice|page=$1|reason=contains vandalism}} ~~~~" }, { "name": "Out of scope", "template": "{{delete|Out of scope}}", "warn": "{{subst:CSD notice|page=$1|reason=is [[Meta:scope|out of scope]]}} ~~~~" }, { "name": "Promotion", "template": "{{delete|Advertising}}", "warn": "{{subst:CSD notice|page=$1|reason=contains advertising/promotional material}} ~~~~" }, { "name": "Spambot", "template": "{{delete|Spam}}", "warn": "{{subst:CSD notice|page=$1|reason=is spam}} ~~~~" }, { "name": "Not translation", "template": "{{delete|Not a translation}}", "warn": "{{subst:CSD notice|page=$1|reason=is not a translation}} ~~~~" } { "name": "G3: Vandalism", "template": "{{SD|G3|2=Vandalism}}\n", "warn": "{{subst:QD-notice|page=$1|cat=G3|reason=Vandalism}} ~~~~" }, { "name": "G10: Obvious advertising", "template": "{{SD|G10|2=Obvious advertising}}\n", "warn": "{{subst:QD-notice|page=$1|cat=G10|reason=Obvious advertising}} ~~~~" }, { "name": "G10: Spam/Spambot", "template": "{{SD|G10|2=Spam/Spambot}}\n", "warn": "{{subst:QD-notice|page=$1|cat=G10|reason=Spam}} ~~~~" } ], "rollback": [ { "name": "Vandalism", "summary": "reverting [[Meta:Vandalism|vandalism]]", "global": true, "warn": "test" }, { "name": "Content removal", "summary": "unexplained content removal", "global": true, "warn": "test" }, { "name": "Test edit", "summary": "test edit, please use the [[Meta:Sandbox|sandbox]]", "global": true, "warn": "test" }, { "name": "Nonsense content", "summary": "purely nonsense content", "global": true, "warn": "test" }, { "name": "Spam/Unnecessary links", "summary": "unnecessary links", "global": true, "warn": "spam" }, { "name": "Wikimarkup", "summary": "please see [[meta:Help:Editing|wiki-markup]]", "global": true }, { "name": "Spelling/Punctuation", "summary": "spelling or punctuation errors", "global": true ], "warn": [ { "summaryWarn": "sending warning (warning $1)", "sectionWarn": "$MMMM $YYYY", "countWarn": "4", "months": [ { "1": "January", "2": "February", "3": "March", "4": "April", "5": "May", "6": "June", "7": "July", "8": "August", "9": "September", "10": "October", "11": "November", "12": "December" } ], "spam": [ { "tags": [ { "1": "Template:Spam" } ], "templates": [ { "1": "{{subst:Spam}}" } ] } ], "test": [ { "tags": [ { "1": "Template:Test1", "2": "Template:Test2", "3": "Template:Test3", "4": "Template:Test4" } ], "templates": [ { "1": "{{subst:Test1}}", "2": "{{subst:Test2}}", "3": "{{subst:Test3}}", "4": "{{subst:Test4}}" } ] } ] } ] } ],

Unfortunately, due to the massive size of the page, it crashes the browser when I try to edit it. First, can someone please try to add this to the page, and second, at some point, that massive page will have to be split up. Mako001 (C)  (T)  🇺🇦 05:15, 1 January 2023 (UTC)

In related news, the section for testwiki is in the wrong place. Again, I can't move it because browser crashes. Mako001 (C)  (T)  🇺🇦 05:28, 1 January 2023 (UTC)
The actual crashing issue seems to be limited to when pasting large sections in from the clipboard. Smaller sections take ages to paste, but don't crash the browser. Mako001 (C)  (T)  🇺🇦 10:50, 2 January 2023 (UTC)

[BUG]: Unable to use rollback

This section was archived on a request by: Iluvatar (talk) 10:17, 25 February 2023 (UTC)
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)

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)
Screenshot of the issue: https://phabricator.wikimedia.org/F36860788. —MarcoAurelio (talk) 21:45, 18 February 2023 (UTC)
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)
Hi @Superpes15: Thanks for the answer. Yes, rollback is authorized in the OAuth grants. —MarcoAurelio (talk) 21:57, 18 February 2023 (UTC)
@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)
@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)
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)
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)
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)
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)
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)
No problem, this is not urgent. Safe travels. —MarcoAurelio (talk) 15:25, 19 February 2023 (UTC)
MarcoAurelio, Fixed. Please clear cache and re-login.--Iluvatar (talk) 12:48, 24 February 2023 (UTC)
@Iluvatar: Thank you. It seems to work now. Again, thanks. —MarcoAurelio (talk) 21:49, 24 February 2023 (UTC)

[BUG]: SWViewer/config.json

This section was archived on a request by: Iluvatar (talk) 08:57, 29 April 2023 (UTC)
Type Bug
Setup unknown
  I edited the page two weeks ago and it still hasn't been updated. what can be done? Neriah - 💬 - 10:17, 26 April 2023 (UTC)
Oops, sorry. Done. Iluvatar (talk) 08:56, 29 April 2023 (UTC)
@Iluvatar Thank you! Neriah - 💬 - 18:16, 29 April 2023 (UTC)
@Iluvatar I changed something else. can you confirm? Neriah - 💬 - 19:19, 29 April 2023 (UTC)
Done Iluvatar (talk) 19:23, 29 April 2023 (UTC)

[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)

Done Special:Diff/24374159. ~~~~
User:1234qwer1234qwer4 (talk)
12:26, 15 January 2023 (UTC)
This section was archived on a request by: ‐‐1997kB (talk) 06:40, 15 September 2023 (UTC)

[BUG]: SWViewer Down

Type Bug
Setup Safari browser. Error on both IPhone and IPad.
  When I try to access SWviewer, I get error 504 that my connection had timed out.

Illusion Flame (talk) 02:20, 7 April 2023 (UTC)

I also meet the same condition. Hamish 17:08, 16 May 2023 (UTC)
This section was archived on a request by: ‐‐1997kB (talk) 06:37, 15 September 2023 (UTC)

[BUG]: Recent issue that I had when tagging CSD at Korean Wikiversity with GS report

Type Bug
Setup unknown
  When a page is tagged for deletion with SWviewer, GS report can be used, and the interwiki link will be automatically added to GSR. Recently, when I tagged CSD at Korean Wikiversity with GS report, Martin Urbanec told me that "linked page does not seem to exist" (special:diff/25261290), so I had to fix the interwiki link by myself to assist GS action. Does this kind of mismatch often occur with Korean language (or any other language), or was there anything wrong from my side? I would also like to hear if anyone else had a similar interwiki link mismatch at GSR. Thank you for your attention.

MathXplore (talk) 08:18, 10 July 2023 (UTC)

Fixed, thanks! Iluvatar (talk) 11:01, 10 July 2023 (UTC)
This section was archived on a request by: ‐‐1997kB (talk) 06:37, 15 September 2023 (UTC)

[BUG]: Broken after rename

Type Bug
Setup unknown
  The queuee is always empity, the tool does not work. I believe this could have something to do with my recent global user rename.

The console has some errors:

presets.js:106 Uncaught TypeError: Cannot read properties of undefined (reading 'title')
    at selectPreset (presets.js:106:48)
    at presets.js:318:9
    at Object.success ((index):982:29)
    at c (jquery.min.js:2:28294)
    at Object.fireWith [as resolveWith] (jquery.min.js:2:29039)
    at l (jquery.min.js:2:79800)
    at XMLHttpRequest.<anonymous> (jquery.min.js:2:82254)
    
content.js:2 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getManifest')
    at r (content.js:2:195845)
    at e.value (content.js:2:1525373)
    at e.value (content.js:2:1525245)
    at o.onAddModule (content.js:2:406694)
    at o.addModule (content.js:2:418146)
    at ea (content.js:2:1527552)
    at content.js:2:1534526
    at u (content.js:2:1528890)
    at Generator._invoke (content.js:2:1528643)
    at Generator.next (content.js:2:1529253)
    
content-script.js:134 Uncaught TypeError: Cannot read properties of undefined (reading 'create')
    at content-script.js:134:25
    
(index):45 Service worker registered. ServiceWorkerRegistration
swv.js?v=8:696 Uncaught TypeError: Cannot read properties of undefined (reading 'title')
    at connectTalk (swv.js?v=8:696:99)
    at startEsenServices (swv.js?v=8:1051:13)
    at Object.success (swv.js?v=8:992:21)
    at c (jquery.min.js:2:28294)
    at Object.fireWith [as resolveWith] (jquery.min.js:2:29039)
    at l (jquery.min.js:2:79800)
    at XMLHttpRequest.<anonymous> (jquery.min.js:2:82254)

valcio ••• 14:21, 12 August 2023 (UTC)

Fixed. Iluvatar (talk) 11:06, 9 September 2023 (UTC)
This section was archived on a request by: ‐‐1997kB (talk) 06:37, 15 September 2023 (UTC)

[SUGGESTION]: Use rollback instead of undo when enabled such as eswiki

Type Suggestion
Setup Any
  For example, if you have rollback enabled on eswiki or simplewiki (despite enabled on enwiki earlier), SWViewer will use undo instead of rollback. Is this normal?

signed, 64andtim (chat) 00:26, 29 August 2023 (UTC)

seems like you got your eswiki & simplewiki rollback permissions quite recently, usually you need to log out of SWViewer (+ sometimes clear your cache) and log in again for SWViewer to recognise your new rollback permissions, did you do that? Johannnes89 (talk) 07:28, 29 August 2023 (UTC)
I logged out and re-logged back in, and when I reverted this edit on eswiki it said "Reversión" (rollback) instead of "Deshacer" (undo), so it worked. signed, 64andtim (chat) 19:41, 29 August 2023 (UTC)
This section was archived on a request by: ‐‐1997kB (talk) 06:37, 15 September 2023 (UTC)

[BUG]: 504 Gateway Time-out

Type Bug
Setup unknown
  SMViewer web (https://swviewer.toolforge.org/) is not working, giving error 504 all the time.

AramilFeraxa (Write to me!) 11:31, 12 September 2023 (UTC)

See also #[BUG]:_SWViewer_Down TenWhile6 (talk | SWMT) 11:28, 13 September 2023 (UTC)
This section was archived on a request by: ‐‐1997kB (talk) 06:37, 15 September 2023 (UTC)

[SUGGESTION]: Signed deletion requests

Type Suggestion
Setup unknown
  To fulfill the de.wikipedia policys, please add the signature --~~~~ to every Fast-Deletion Request. Like this: {{SLA|Reason --~~~~}} (for example {{SLA|Vandalismus --~~~~}} or {{SLA|Werbung --~~~~}})

--TenWhile6 (talk | SWMT) 11:27, 13 September 2023 (UTC)

Done. ‐‐1997kB (talk) 06:47, 15 September 2023 (UTC)
This section was archived on a request by: ‐‐1997kB (talk) 06:47, 15 September 2023 (UTC)

[BUG]: Reporting in dewiki

Type Bug
Setup unknown
  If you report someone, the link is red / wrong because the Special-page is not existing. SWViewer links to Spezial:Benutzerbeiträge/<IP or username> but that’s wrong, it should be Spezial:Beiträge/<IP or username>. Example. That’s the bug, now two little suggestions: Change “Berichterstattung <IP or username>.” to “<IP or username> gemeldet” and the report-text from “Störung nach letzter Warnung . ~~~~” to “Vandalismus nach letzter Warnung --~~~~”. I Hope, improving the sourcecode / text is not so complicated than fixing bugs. Thanks,

TenWhile6 (talk | SWMT) 06:48, 18 September 2023 (UTC)

This section was archived on a request by: TenWhile6 (talk | SWMT) 12:56, 25 January 2024 (UTC)

[Bug]: welcome message is treated like first warning

Type BUG
Setup unknown
  When reverting vandalism in the German Wikipedia, some welcome messages posted on the users talkpage cause SWViewer to skip the level 1 warning and send a level 2 warning directly. The problem does occur with {{subst:willkommen}}, {{subst:Willkommen-rand/kurz}} {{subst:Begrüßungsbox|Benutzername}} and {{subst:HalloIP}}.

The problem does not occur with {{subst:Hallo}} and subst:Welcome.

I've tested it here: de:Benutzer_Diskussion:NoNAja-Sockenpuppe. NoNAja (talk) 16:32, 8 November 2023 (UTC)

There is only one level warning anymore. --TenWhile6 (talk | SWMT) 13:39, 25 January 2024 (UTC)

This section was archived on a request by: TenWhile6 (talk | SWMT) 13:39, 25 January 2024 (UTC)

[SUGGESTION]: Thank icon

Type Suggestion
Setup unknown
  When you click more options on an edit and thank somebody, the icon next to it is a thumbs up. Change it to show a thumbs up in the notifications as well instead of a warning icon.

Dylan | ✉   23:07, 17 May 2023 (UTC)

Seems to be resolved to me. If I click Thanks, the notification icon is also a "thumbs up". TenWhile6 (talk | SWMT) 18:14, 20 April 2024 (UTC)
This section was archived on a request by: TenWhile6 (talk | SWMT) 18:19, 20 April 2024 (UTC)

[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 anyone help me? Quangkhanhhuynh (talk) 10:22, 20 February 2023 (UTC)
@Quangkhanhhuynh is this still happening? TenWhile6 (talk | SWMT) 09:21, 21 April 2024 (UTC)
@TenWhile6 That was 1 year ago and yes, it was fixed. Khanh ( talk | contribs | CA | vi ) 12:58, 21 April 2024 (UTC)
Thanks for your answer. TenWhile6 (talk | SWMT) 12:59, 21 April 2024 (UTC)
This section was archived on a request by: TenWhile6 (talk | SWMT) 13:00, 21 April 2024 (UTC)

[BUG]: Edit summaries at hrwiki

Type Bug
Setup unknown
  I noticed that every auto generated edit summary by SWViewer at hrwiki has a small error. For example, it shows like "uklanjanje izmjene suradnika 95.168.107.46 (razgovor) na zadnju inačicu suradnika MathXplorereverting vandalism" but it has to be "uklanjanje izmjene suradnika 95.168.107.46 (razgovor) na zadnju inačicu suradnika MathXplore reverting vandalism". Please make changes to add a space between username (author of the last version) and revert reason. Thank you for your attention.

MathXplore (talk) 12:32, 17 October 2023 (UTC)

@MathXplore hrwiki-summary fixed. Config-Changes will apply in the next days. TenWhile6 (talk | SWMT) 09:20, 21 April 2024 (UTC)
This section was archived on a request by: TenWhile6 (talk | SWMT) 09:35, 21 April 2024 (UTC)