Template:Checkuser: Difference between revisions

titleparts and fullpagename seem to return slightly different values if there's an apostrophe in the page title...
Enwikipedia>Luna Santin
(getting &reason field to populate for SPI case archives, as well)
Enwikipedia>Luna Santin
(titleparts and fullpagename seem to return slightly different values if there's an apostrophe in the page title...)
Line 1:
<span class="plainlinks">[[User:{{{User|{{{1|Example}}}}}}|{{{User|{{{1|''Example''}}}}}}]] ([[User talk:{{{User|{{{1|Example}}}}}}|talk]]<sup><big>[{{fullurl:User talk:{{{1|Example}}}|action=edit}}&section=new <font color="grey">+</font>]</big></sup> • [{{fullurl:User:{{{1|Example}}}|action=edit}} tag] • [[Special:Contributions/{{{User|{{{1|Example}}}}}}|contribs]] • [[Special:DeletedContributions/{{{User|{{{1|Example}}}}}}|deleted contribs]] • [{{fullurl:Special:Log|user={{urlencode:{{{User|{{{1|Example}}}}}}}}}} logs] • [{{fullurl:Special:AbuseLog|wpSearchUser={{urlencode:{{{User|{{{1|Example}}}}}}}}}} filter log] • [[Special:Block/{{{User|{{{1|Example}}}}}}|block user]]<!--
-->{{#ifeq:{{FULLPAGENAME}}|Wikipedia:Sockpuppet investigations||{{#ifeq:{{NAMESPACE}}|Wikipedia|{{#ifeq:{{BASEPAGENAME}}|Sockpuppet investigations|&#32;• [{{fullurl:Special:Block|wpBlockAddress={{urlencode:{{{User|{{{1|Example}}}}}}}}&wpBlockExpiry=indefinite&wpBlockReasonList={{urlencode:Abusing [[WP:Sock puppetry|multiple accounts]]}}&wpBlockReason={{urlencode:Please see: [[Wikipedia:Sockpuppet investigations/{{SUBPAGENAME}}]]}} spi block]}}}}}}}}<!--
-->&#32;• [{{fullurl:Special:Log/block|page={{urlencode:User:{{{User|{{{1|Example}}}}}}}}}} block log] • <span class="plainlinks">[http://toolserver.org/~vvv/sulutil.php?rights=1&user={{urlencode:{{{User|{{{1|Example}}}}}}}} SUL]</span> • [{{fullurl:Special:CheckUser|user={{urlencode:{{{User|{{{1|Example}}}}}}}}{{#ifeq:{{#titleparts:{{FULLPAGENAME}}}}|Wikipedia:Sockpuppet investigations/{{#titleparts:{{FULLPAGENAME}}|2|2}}|&reason=%5B%5B{{FULLPAGENAMEE}}%5D%5D|}}}} checkuser])</span>{{NOINDEX}}<noinclude>
{{pp-template|small=yes}}
{{documentation}}