Template talk:Vandal-m

Latest comment: 9 years ago by Mr. Stradivarius in topic Converted to Lua

anchorencode to urlencode

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

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)
No, it's cascading protected, I could not do it myself. -- Prince Kassad (talk) 14:39, 15 December 2007 (UTC)
Sorry, I missed that. — Carl (CBM · talk) 15:17, 15 December 2007 (UTC)

Tweak

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

Doesn't it look odd with the "ssp" struck like that? — Martin (MSGJ · talk) 14:59, 17 June 2009 (UTC)
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)
 Done. I tweaked it a little more. — Martin (MSGJ · talk) 09:28, 18 June 2009 (UTC)

SPI

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)

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

Protected edit request on 26 April 2014

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)

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)
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)
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)
Y See below. -DePiep (talk) 19:26, 27 April 2014 (UTC)
  • New proposal in sandbox. Should cover objections. When no objections arise, I'll reopen the editrequest. -DePiep (talk) 19:26, 27 April 2014 (UTC)
Fine by me. All the best: Rich Farmbrough14:49, 8 May 2014 (UTC).

Protected edit request on 15 May 2014

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=ExampleMeteor sandwich yum (talkcontribs) 19:32, 15 May 2014 (UTC)

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

Converted to Lua

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)