Jump to content

Template talk:Vandal-m

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Template talk:Vandal-m/doc)

anchorencode to urlencode

[edit]

{{editprotected}}Currently, the link to the block log (both normal and autoblock) is broken if the user name contains any punctuation (like an equal sign or parenthesis). To fix this, replace all instances of anchorencode: with urlencode:. -- Prince Kassad (talk) 10:08, 15 December 2007 (UTC)[reply]

I did that, but the template isn't protected, so you could have done it yourself. — Carl (CBM · talk) 14:14, 15 December 2007 (UTC)[reply]
No, it's cascading protected, I could not do it myself. -- Prince Kassad (talk) 14:39, 15 December 2007 (UTC)[reply]
Sorry, I missed that. — Carl (CBM · talk) 15:17, 15 December 2007 (UTC)[reply]

Tweak

[edit]

{{editprotected}} This will align the suspected/confirmed socks and save space. See Template:Vandal-m/Sandbox. Simply replace the current template with everything between the <pre> tags. Headbomb {ταλκκοντριβς – WP Physics} 14:04, 17 June 2009 (UTC)[reply]

Doesn't it look odd with the "ssp" struck like that? — Martin (MSGJ · talk) 14:59, 17 June 2009 (UTC)[reply]
Uh, I thought I removed that part (used in testing). Anyway, i've updated things accordingly.Headbomb {ταλκκοντριβς – WP Physics} 15:20, 17 June 2009 (UTC)[reply]
 Done. I tweaked it a little more. — Martin (MSGJ · talk) 09:28, 18 June 2009 (UTC)[reply]

SPI

[edit]

Please add a link to the SPI for the user, in addition or instead of the the ancient SSP. Thanks. Someone not using his real name (talk) 21:29, 19 September 2013 (UTC)[reply]

Per WP:TESTCASES, could you please sandbox this change? --Redrose64 (talk) 21:51, 19 September 2013 (UTC)[reply]
Done. I was feeling nice, so I coded up the change for you. — Mr. Stradivarius ♪ talk ♪ 11:30, 20 September 2013 (UTC)[reply]

Protected edit request on 26 April 2014

[edit]

About: {{Vandal-m}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)

Changes: cleanup, use {middot} as separator.
  • One could consider reducing protection into TE, but I don't oversee substitution usage.

DePiep (talk) 23:19, 26 April 2014 (UTC)[reply]

Note: Requested lowering of protection level and cleaned up sandbox template some more. Got rid of some bits and used an actual middot instead of calling a template to do it and decreased template depth and size. If this gets lowered to TE, I'd be happy to make the change. — {{U|Technical 13}} (tec) 14:18, 27 April 2014 (UTC)[reply]
I see, [1]. But doesn't {middot} substitution require &nbsp;· (nbsp-middot-space) there? (and why use {{sp}} instead of coded space, as depth is the topic?) -DePiep (talk) 18:03, 27 April 2014 (UTC)[reply]
I was also wondering this. Perhaps DePiep's code is the verison that should be used? It's important for template updaters to understand these matters, especially if they are seem likely to update before consensus has been demonstrated. All the best: Rich Farmbrough18:09, 27 April 2014 (UTC).
Rich, Technical 13. I think the sandbox should contain literal code >&nbsp;· < (not {{middot}}). Skips all substitution issues. I've set |answ=yes as a pause status. -DePiep (talk) 18:39, 27 April 2014 (UTC)[reply]
checkY See below. -DePiep (talk) 19:26, 27 April 2014 (UTC)[reply]
Fine by me. All the best: Rich Farmbrough14:49, 8 May 2014 (UTC).

Protected edit request on 15 May 2014

[edit]

Change

-->[http://tools.wikimedia.de/~pgk/autoblock.php?blockee={{urlencode:{{ucfirst:{{{User|{{{1|Example}}}}}}}}}} <sup title="Autoblock: {{ucfirst:{{{User|{{{1|Example}}}}}}}}" style="color:#002bb8">auto</sup>]<!--

to

-->[//tools.wmflabs.org/xtools/autoblock/?user={{urlencode:{{ucfirst:{{{User|{{{1|Example}}}}}}}}}} <sup title="Autoblock: {{ucfirst:{{{User|{{{1|Example}}}}}}}}" style="color:#002bb8">auto</sup>]<!--

It's expired: https://tools.wikimedia.de/~pgk/autoblock.php?blockee=Example vs https://tools.wmflabs.org/xtools/autoblock/?user=Example Meteor sandwich yum (talkcontribs) 19:32, 15 May 2014 (UTC)[reply]

DoneMr. Stradivarius ♪ talk ♪ 07:53, 16 May 2014 (UTC)[reply]

Converted to Lua

[edit]

I've converted this template to use Module:Vandal-m. This is so that it can be used in Module:Protection banner without having to leave Lua. The test cases all check out, but please let me know if you spot any anomalies. — Mr. Stradivarius ♪ talk ♪ 11:03, 27 June 2014 (UTC)[reply]