Skip to content

Commit

Permalink
Revert "Revert "Revert "Revert "Merge pull request #102 from Technica…
Browse files Browse the repository at this point in the history
…l-13/patch-3""""

This reverts commit 82b5ec2.
  • Loading branch information
stwalkerster committed Jan 7, 2014
1 parent 82b5ec2 commit 61d78d8
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 29 deletions.
24 changes: 12 additions & 12 deletions templates/zoom-parts/ip-links.tpl
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<!-- tpl:zoom-parts/ip-links.tpl -->
<a class="btn btn-small" target="_blank" href="https://en.wikipedia.org/wiki/User_talk:{$ipaddress}">Talk page</a>
<a class="btn btn-small" target="_blank" href="https://en.wikipedia.org/wiki/Special:Contributions/{$ipaddress}">Local Contributions</a>
<a class="btn btn-small" target="_blank" href="{$tsurl}/redir.php?tool=tparis-pcount&amp;data={$ipaddress}">Deleted Edits</a>
<a class="btn btn-small" target="_blank" href="{$tsurl}/redir.php?tool=luxo-contributions&amp;data={$ipaddress}">Global Contributions</a>
<a class="btn btn-small" target="_blank" href="https://en.wikipedia.org/w/index.php?title=Special:Log&amp;type=block&amp;page={$ipaddress}">Local Block Log</a>
<a class="btn btn-small" target="_blank" href="https://en.wikipedia.org/wiki/Special:BlockList/{$ipaddress}">Active Local Blocks</a>
<a class="btn btn-small" target="_blank" href="https://meta.wikimedia.org/w/index.php?title=Special:Log&amp;type=gblblock&amp;page={$ipaddress}">Global Block Log</a>
<a class="btn btn-small" target="_blank" href="https://en.wikipedia.org/wiki/Special:GlobalBlockList/{$ipaddress}">Active Global Blocks</a>
<a class="btn btn-small" target="_blank" href="{$tsurl}/redir.php?tool=oq-whois&amp;data={$ipaddress}">Whois</a>
<a class="btn btn-small" target="_blank" href="https://en.wikipedia.org/w/index.php?title=Special:AbuseLog&amp;wpSearchUser={$ipaddress}">Abuse Filter Log</a>
<!-- tpl:zoom-parts/ip-links.tpl -->
<a id="IPTalk-{$index}" class="btn btn-small" target="_blank" href="https://en.wikipedia.org/wiki/User_talk:{$ipaddress}" onMouseUp="$('#IPTalk-{$index}').addClass('btn-inverse');">Talk page</a>
<a id="IPLocalContribs-{$index}" class="btn btn-small" target="_blank" href="https://en.wikipedia.org/wiki/Special:Contributions/{$ipaddress}" onMouseUp="$('#IPLocalContribs-{$index}').addClass('btn-inverse');">Local Contributions</a>
<a id="IPDelEdits-{$index}" class="btn btn-small" target="_blank" href="{$tsurl}/redir.php?tool=tparis-pcount&amp;data={$ipaddress}" onMouseUp="$('#IPDelEdits-{$index}').addClass('btn-inverse');">Deleted Edits</a>
<a id="IPGlobalContribs-{$index}" class="btn btn-small" target="_blank" href="{$tsurl}/redir.php?tool=luxo-contributions&amp;data={$ipaddress}" onMouseUp="$('#IPGlobalContribs-{$index}').addClass('btn-inverse');">Global Contributions</a>
<a id="IPLocalBlockLog-{$index}" class="btn btn-small" target="_blank" href="https://en.wikipedia.org/w/index.php?title=Special:Log&amp;type=block&amp;page={$ipaddress}" onMouseUp="$('#IPLocalBlockLog-{$index}').addClass('btn-inverse');">Local Block Log</a>
<a id="IPActiveLocalBlock-{$index}" class="btn btn-small" target="_blank" href="https://en.wikipedia.org/wiki/Special:BlockList/{$ipaddress}" onMouseUp="$('#IPActiveLocalBlock-{$index}').addClass('btn-inverse');">Active Local Blocks</a>
<a id="IPGlobalBlockLog-{$index}" class="btn btn-small" target="_blank" href="https://meta.wikimedia.org/w/index.php?title=Special:Log&amp;type=gblblock&amp;page={$ipaddress}" onMouseUp="$('#IPGlobalBlockLog-{$index}').addClass('btn-inverse');">Global Block Log</a>
<a id="IPActiveGlobalBlock-{$index}" class="btn btn-small" target="_blank" href="https://en.wikipedia.org/wiki/Special:GlobalBlockList/{$ipaddress}" onMouseUp="$('#IPActiveGlobalBlock-{$index}').addClass('btn-inverse');">Active Global Blocks</a>
<a id="IPWhois-{$index}" class="btn btn-small" target="_blank" href="{$tsurl}/redir.php?tool=oq-whois&amp;data={$ipaddress}" onMouseUp="$('#IPWhois-{$index}').addClass('btn-inverse');">Whois</a>
<a id="IPAbuseLog-{$index}" class="btn btn-small" target="_blank" href="https://en.wikipedia.org/w/index.php?title=Special:AbuseLog&amp;wpSearchUser={$ipaddress}" onMouseUp="$('#IPAbuseLog-{$index}').addClass('btn-inverse');">Abuse Filter Log</a>
{if $ischeckuser == true}
<a class="btn btn-small" target="_blank" href="https://en.wikipedia.org/w/index.php?title=Special:CheckUser&amp;ip={$ipaddress}&amp;reason=%5B%5BWP:ACC%5D%5D%20request%20%23{$id}">CheckUser</a>
<a id="IPCU-{$index}" class="btn btn-small" target="_blank" href="https://en.wikipedia.org/w/index.php?title=Special:CheckUser&amp;ip={$ipaddress}&amp;reason=%5B%5BWP:ACC%5D%5D%20request%20%23{$id}" onMouseUp="$('#IPCU-{$index}').addClass('btn-inverse');">CheckUser</a>
{/if}
<!-- /tpl:zoom-parts/ip-links.tpl -->
6 changes: 3 additions & 3 deletions templates/zoom-parts/ip-section.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</td>
<td>
{if $proxy.showlinks}
{include file="zoom-parts/ip-links.tpl" ipaddress="{$proxy.ip}"}
{include file="zoom-parts/ip-links.tpl" ipaddress="{$proxy.ip}" index="{$proxy@iteration}"}
{/if}
</td>
</tr>
Expand All @@ -68,8 +68,8 @@
{else}
<div class="row-fluid">
<h3>IP Address links:</h3>
{include file="zoom-parts/ip-links.tpl" ipaddress="{$ip}"}
{include file="zoom-parts/ip-links.tpl" ipaddress="{$ip}" index="0"}
</div>
{/if}
<hr />
<!-- /tpl:zoom-parts/ip-section.tpl -->
<!-- /tpl:zoom-parts/ip-section.tpl -->
28 changes: 14 additions & 14 deletions templates/zoom-parts/username-section.tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- tpl:zoom-parts/username-section.tpl -->
<!-- tpl:zoom-parts/username-section.tpl -->
<div class="row-fluid">
<h3>Username data:</h3>
{if $isblacklisted}
Expand All @@ -7,13 +7,13 @@
{/if}

<div class="btn-group">
<a class="btn btn-small" target="_blank" href="https://en.wikipedia.org/wiki/User:{$usernamerawunicode|escape:'url'}">User page</a>
<a class="btn btn-small" target="_blank" href="https://en.wikipedia.org/w/index.php?title=Special:Log&amp;type=newusers&amp;user=&amp;page={$usernamerawunicode|escape:'url'}">Creation log</a>
<a class="btn btn-small" target="_blank" href="{$tsurl}/redir.php?tool=sulutil&amp;data={$usernamerawunicode|escape:'url'}">SUL</a>
<a class="btn btn-small" target="_blank" href="https://en.wikipedia.org/wiki/Special:CentralAuth/{$usernamerawunicode|escape:'url'}">Special:CentralAuth</a>
<a class="btn btn-small" target="_blank" href="https://en.wikipedia.org/w/index.php?title=Special%3AListUsers&amp;username={$usernamerawunicode|escape:'url'}&amp;group=&amp;limit=1">Username list</a>
<a class="btn btn-small" target="_blank" href="https://en.wikipedia.org/w/index.php?title=Special%3ASearch&amp;profile=advanced&amp;search={$usernamerawunicode|escape:'url'}&amp;fulltext=Search&amp;ns0=1&amp;redirs=1&amp;profile=advanced">Wikipedia mainspace search</a>
<a class="btn btn-small" target="_blank" href="{$tsurl}/redir.php?tool=google&amp;data={$usernamerawunicode|escape:'url'}">Google search</a>
<a id="UsernameUserPage" class="btn btn-small" target="_blank" href="https://en.wikipedia.org/wiki/User:{$usernamerawunicode|escape:'url'}" onMouseUp="$('#UsernameUserPage').addClass('btn-inverse');">User page</a>
<a id="UsernameCreationLog" class="btn btn-small" target="_blank" href="https://en.wikipedia.org/w/index.php?title=Special:Log&amp;type=newusers&amp;user=&amp;page={$usernamerawunicode|escape:'url'}" onMouseUp="$('#UsernameCreationLog').addClass('btn-inverse');">Creation log</a>
<a id="UsernameSUL" class="btn btn-small" target="_blank" href="{$tsurl}/redir.php?tool=sulutil&amp;data={$usernamerawunicode|escape:'url'}" onMouseUp="$('#UsernameSUL').addClass('btn-inverse');">SUL</a>
<a id="UsernameCentralAuth" class="btn btn-small" target="_blank" href="https://en.wikipedia.org/wiki/Special:CentralAuth/{$usernamerawunicode|escape:'url'}" onMouseUp="$('#UsernameCentralAuth').addClass('btn-inverse');">Special:CentralAuth</a>
<a id="UsernameUsernameList" class="btn btn-small" target="_blank" href="https://en.wikipedia.org/w/index.php?title=Special%3AListUsers&amp;username={$usernamerawunicode|escape:'url'}&amp;group=&amp;limit=1" onMouseUp="$('#UsernameUsernameList').addClass('btn-inverse');">Username list</a>
<a id="UsernameMainspaceSearch" class="btn btn-small" target="_blank" href="https://en.wikipedia.org/w/index.php?title=Special%3ASearch&amp;profile=advanced&amp;search={$usernamerawunicode|escape:'url'}&amp;fulltext=Search&amp;ns0=1&amp;redirs=1&amp;profile=advanced" onMouseUp="$('#UsernameMainspaceSearch').addClass('btn-inverse');">Wikipedia mainspace search</a>
<a id="UsernameGoogleSearch" class="btn btn-small" target="_blank" href="{$tsurl}/redir.php?tool=google&amp;data={$usernamerawunicode|escape:'url'}" onMouseUp="$('#UsernameGoogleSearch').addClass('btn-inverse');">Google search</a>
</div>

<h4>AntiSpoof results:</h4>
Expand All @@ -34,12 +34,12 @@
<tr>
<td><a target="_blank" href="https://en.wikipedia.org/wiki/User:{$spoof|escape:'url'}">{$spoof}</a></td>
<td>
<a class="btn btn-small" target="_blank" href="https://en.wikipedia.org/wiki/Special:Contributions/{$spoof|escape:'url'}">Contributions</a>
<a class="btn btn-small" target="_blank" href="https://en.wikipedia.org/w/index.php?title=Special%3ALog&amp;type=&amp;user=&amp;page=User%3A{$spoof|escape:'url'}&amp;year=&amp;month=-1&amp;tagfilter=&amp;hide_patrol_log=1&amp;hide_review_log=1&amp;hide_thanks_log=1">Logs</a>
<a class="btn btn-small" target="_blank" href="{$tsurl}/redir.php?tool=sulutil&amp;data={$spoof|escape:'url'}">SUL</a>
<a class="btn btn-small" target="_blank" href="https://en.wikipedia.org/wiki/Special:CentralAuth/{$spoof|escape:'url'}">Special:CentralAuth</a>
<a class="btn btn-small" target="_blank" href="https://en.wikipedia.org/wiki/Special:PasswordReset?wpUsername={$spoof|escape:'url'}">Send Password reset</a>
<a class="btn btn-small" target="_blank" href="{$tsurl}/redir.php?tool=tparis-pcount&amp;data={$spoof|escape:'url'}">Count</a>
<a id="SpoofContribs-{$spoof@iteration}" class="btn btn-small" target="_blank" href="https://en.wikipedia.org/wiki/Special:Contributions/{$spoof|escape:'url'}" onMouseUp="$('#SpoofContribs-{$spoof@iteration}').addClass('btn-inverse');">Contributions</a>
<a id="SpoofLogs-{$spoof@iteration}" class="btn btn-small" target="_blank" href="https://en.wikipedia.org/w/index.php?title=Special%3ALog&amp;type=&amp;user=&amp;page=User%3A{$spoof|escape:'url'}&amp;year=&amp;month=-1&amp;tagfilter=&amp;hide_patrol_log=1&amp;hide_review_log=1&amp;hide_thanks_log=1" onMouseUp="$('#SpoofLogs-{$spoof@iteration}').addClass('btn-inverse');">Logs</a>
<a id="SpoofSUL-{$spoof@iteration}" class="btn btn-small" target="_blank" href="{$tsurl}/redir.php?tool=sulutil&amp;data={$spoof|escape:'url'}" onMouseUp="$('#SpoofSUL-{$spoof@iteration}').addClass('btn-inverse');">SUL</a>
<a id="SpoofCentralAuth-{$spoof@iteration}" class="btn btn-small" target="_blank" href="https://en.wikipedia.org/wiki/Special:CentralAuth/{$spoof|escape:'url'}" onMouseUp="$('#SpoofCentralAuth-{$spoof@iteration}').addClass('btn-inverse');">Special:CentralAuth</a>
<a id="SpoofPassReset-{$spoof@iteration}" class="btn btn-small" target="_blank" href="https://en.wikipedia.org/wiki/Special:PasswordReset?wpUsername={$spoof|escape:'url'}" onMouseUp="$('#SpoofPassReset-{$spoof@iteration}').addClass('btn-inverse');">Send Password reset</a>
<a id="SpoofCount-{$spoof@iteration}" class="btn btn-small" target="_blank" href="{$tsurl}/redir.php?tool=tparis-pcount&amp;data={$spoof|escape:'url'}" onMouseUp="$('#SpoofCount-{$spoof@iteration}').addClass('btn-inverse');">Count</a>
</td>
</tr>
{/foreach}
Expand Down

0 comments on commit 61d78d8

Please sign in to comment.