Jump to content

Template talk:UserSummary

Add topic
From Meta, a Wikimedia project coordination wiki
Latest comment: 2 years ago by MarcoAurelio in topic Protected edit request on 14 June 2022

Another update of style? This one feels like it can fit lots more stuff, so if you have good things to include, let me know. – Mike.lifeguard | @en.wb 06:01, 17 April 2008 (UTC)Reply



Some clarification, I guess...

  • Google searches for User:Whatever
  • Luxo's is the global contribs tool (also lists blocks)
  • Purodha's lists all wikis with a user, including user groups, edit counts and links to their user page and talk page and the wiki
  • Links are the local pages (maybe not useful? remove them and make room for something better?)
  • meta and enwiki link to (in order) userpage, talk page, contributions, deleted contributions, the user's log entries (ie stuff they did), log entries for the user (ie stuff done to them)
    Note that the arrows there indicate which way the action happened. the left-pointing arrow shows that the user did some action to the logs, and that's what you see when clicking on the left one :)
  • search meta and search en will do a Google search on those sites
  • Again, there's plenty of room here for more useful things – Mike.lifeguard | @en.wb 06:13, 17 April 2008 (UTC)Reply

This makes sense, generally on this wiki there are not huge lists of usersummary templates (which happens on en wiki sometimes; by the way, we there also have {{IPSummary}}, more suitable for IPs). Nice layout! --Dirk Beetstra T C (en: U, T) 10:41, 17 April 2008 (UTC)Reply

Mike, this looks beautiful!
Suggestions:
  • Ditch the IP stuff and instead work your magic on {{IPSummary}} which is a version of {{UserSummary}} that was adapted for IPs.
    • Since users aren't supposed to use "subst" with {{IPSummary}}, {{UserSummary}} or {{LinkSummary}}, those templates get updated wherever they're used whenever we improve our tools. If you work your magic on {{IPSummary}}, it will automatically update all the existing instances of that template.
  • Any IP templates should include CompleteWhois and traceroute; these are currently included in {{IPSummary}}. CompleteWhois is better for blacklisted IPs than other reports (when it's working!)
  • All of these free tools (CompleteWhois, robtex, ippages, etc.) come and go with the vagaries of their developers and their hosts. That's also true of stuff on the Wikimedia tool server. I think this just comes with the word "free". We normally leave tool links in our templates even when a tool is down since they usually are back up in a few weeks.
  • I suggest just having Google search on the user name or IP without the "User:" prefix. Google searching an IP can turn up its presence on Project Honeypot or on some list of open proxies. Many spammers use the same user name in SEO forums, etc as they do on Wikipedia -- it's useful to see what else is out there. Sometimes, for instance, they'll have a Digg or Stumbleupon page that they've listed all their domains on.
  • Likewise, I'd leave the "User:" prefix off the meta and en.wikipedia searches.
Thanks for all your work on this. --A. B. (talk) 21:31, 18 April 2008 (UTC)Reply
Updates & working on IPSummary now. – Mike.lifeguard | @en.wb 22:21, 18 April 2008 (UTC)Reply

Template update

[edit]

I have updated the template to remove the dead links, and updated the coding to use internal and/or relative urls where possible. We may need to redo the graphic for the documentation. billinghurst sDrewth 07:04, 28 November 2011 (UTC)Reply

[edit]

{{edit protected}} In the template, there are three Google links that are hardcoded to use HTTP. At the same time, HTTPS would work for these links, and would provide greater security and privacy for users. The links that should be changed are as follows:

  • http://www.google.com/search?q={{urlencode:{{{1|Example}}}}}+site:commons.wikimedia.org should be changed to https://www.google.com/search?q={{urlencode:{{{1|Example}}}}}+site:commons.wikimedia.org
  • http://www.google.com/search?q={{urlencode:{{{1|Example}}}}} should be changed to https://www.google.com/search?q={{urlencode:{{{1|Example}}}}}
  • http://www.google.com/search?q={{urlencode:{{{1|Example}}}}}+site:en.wikipedia.org should be changed to https://www.google.com/search?q={{urlencode:{{{1|Example}}}}}+site:en.wikipedia.org

Thanks. --Elegie (talk) 07:03, 1 July 2016 (UTC)Reply

@Elegie: Done I hope. Best regards, —MarcoAurelio 18:29, 8 July 2016 (UTC)Reply

Urlencode for CentralAuth

[edit]

Hello, can the Urlencode be removed for the CentralAuth link? Should work as a normal wikilink. Currently it gives errors, for instance if there is a space (converted to +) in the username. Savhñ 11:49, 22 January 2021 (UTC)Reply

Done revert if anything important breaks. — xaosflux Talk 19:14, 22 January 2021 (UTC)Reply

Protected edit request on 14 June 2022

[edit]
Extended content
Line 1: Line 1:
<includeonly> <includeonly>----
<div class="plainlinks" style="background: #F8FCFF;">
----
'''User:{{{1|Example}}}'''<br>
<div class="plainlinks" style="background:#F8FCFF">
'''User:{{{1|Example}}}'''<br/> : (''commons:'' [[:c:User:{{{1|Example}}}|userpage]] &#124; <!--
:(''commons:'' [[commons:User:{{{1|Example}}}|userpage]] | <!-- -->[[:c:User talk:{{{1|Example}}}|talk]] ([[:c:Special:Whatlinkshere/User talk:{{{1|Example}}}|&larr;links]]) &#124;&#124; <!--
-->[[commons:User talk:{{{1|Example}}}|talk]] ([[commons:Special:Whatlinkshere/User talk:{{{1|Example}}}|&larr;links]]) || <!-- -->Edits: [[:c:Special:Contributions/{{{1|Example}}}|+]]/[[:c:Special:DeletedContributions/{{{1|Example}}}|-]] &#124; <!--
-->Edits: [[commons:Special:Contributions/{{{1|Example}}}|+]]/[[commons:Special:DeletedContributions/{{{1|Example}}}|-]] | <!-- -->[{{fullurl:c:Special:Log|user={{urlencode:{{{1|Example}}}}}}} logs] &larr; {{{1|Example}}} &larr; <!--
-->[[Commons:Special:Log&user={{urlencode:{{{1|Example}}}}}|logs]] &larr; {{{1|Example}}} &larr; <!-- -->[{{fullurl:c:Special:Log|page=User:{{urlencode:{{{1|Example}}}}}}} logs] &#124;&#124; <!--
-->[[Commons:Special:Log?page=User:{{urlencode:{{{1|Example}}}}}|logs]] || <!--
-->[https://www.google.com/search?q={{urlencode:{{{1|Example}}}}}+site:commons.wikimedia.org search])<!-- -->[https://www.google.com/search?q={{urlencode:{{{1|Example}}}}}+site:commons.wikimedia.org search])<!--
--><span style="float:right; font-size:84%">(''Reports:'' [[User:COIBot/UserReports/{{{1|Example}}}|'''COIBot''']])<br /><!-- --><span style="float: right; font-size: 84%;">(''Reports:'' [[User:COIBot/UserReports/{{{1|Example}}}|'''COIBot''']])<br><!--
-->(''Tools:'' [[luxo:{{{1|Example}}}|'''GUC''']] | [//toolserver.org/~pathoschild/crossblock/?target={{urlencode:{{{1|Example}}}}} crossblock] | <!-- -->(''Tools:'' [[:luxo:{{{1|Example}}}|'''GUC''']] &#124; [[:toolforge:meta/stalktoy/{{{1|Example}}}|stalktoy]] &#124; <!--
-->[[Special:CentralAuth/{{{1|Example}}}|CA]]) <!-- -->[[Special:CentralAuth/{{{1|Example}}}|CA]]) <!--
-->(''Search:'' [https://www.google.com/search?q={{urlencode:{{{1|Example}}}}} '''Google'''] | <!-- -->(''Search:'' [https://www.google.com/search?q={{urlencode:{{{1|Example}}}}} '''Google'''] &#124; <!--
-->[[Special:WhatLinksHere/User talk:{{{1|}}}|&rarr; links &larr;]]<span style="display:none;">[[User talk:{{{1}}}|User talk]]</span>&nbsp;)</span> -->[[Special:WhatLinksHere/User talk:{{{1|}}}|&rarr; links &larr;]]<span style="display: none;">[[User talk:{{{1}}}|User talk]]</span>&nbsp;)</span>
:(''enwiki:'' [[:w:en:User:{{{1|Example}}}|userpage]] | <!-- : (''enwiki:'' [[:en:User:{{{1|Example}}}|userpage]] &#124; <!--
-->[[:en:User talk:{{{1|Example}}}|talk]] ([[w:Special:Whatlinkshere/User talk:{{{1|Example}}}|&larr;links]]) || <!-- -->[[:en:User talk:{{{1|Example}}}|talk]] ([[:en:Special:Whatlinkshere/User talk:{{{1|Example}}}|&larr;links]]) &#124;&#124; <!--
-->Edits: [[w::en:Special:Contributions/{{{1|Example}}}|+]]/[[:en:Special:DeletedContributions/{{{1|Example}}}|-]] | <!-- -->Edits: [[:en:Special:Contributions/{{{1|Example}}}|+]]/[[:en:Special:DeletedContributions/{{{1|Example}}}|-]] &#124; <!--
-->[[w:en:Special:Log&user={{urlencode:{{{1|Example}}}}}|logs]] &larr; {{{1|Example}}} &larr; <!-- -->[{{fullurl:en:Special:Log|user={{urlencode:{{{1|Example}}}}}}} logs] &larr; {{{1|Example}}} &larr; <!--
-->[[:w:en:Special:Log?page=User:{{urlencode:{{{1|Example}}}}}|logs]] || <!-- -->[{{fullurl:en:Special:Log|page=User:{{urlencode:{{{1|Example}}}}}}} logs] &#124;&#124; <!--
-->[https://www.google.com/search?q={{urlencode:{{{1|Example}}}}}+site:en.wikipedia.org search]) -->[https://www.google.com/search?q={{urlencode:{{{1|Example}}}}}+site:en.wikipedia.org search])
</div> </div>
----</includeonly><noinclude>
----
</includeonly><noinclude>
{{documentation}} {{documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->

</noinclude> </noinclude>

Please replace the content of this template with the sandbox version. I fixed some broken links, escaped pipes and removed leading/succeeding blank lines. NguoiDungKhongDinhDanh 05:16, 14 June 2022 (UTC)Reply

Looks good. Done. Thanks. —MarcoAurelio (talk) 13:45, 19 June 2022 (UTC)Reply
@NguoiDungKhongDinhDanh: It looks there's a minor issue with syntax. Please see e.g. User:COIBot/XWiki/shnorhali.com#Users. The * ---- shouldn't be appearing that way. Is this something that can be fixed? Thanks, —MarcoAurelio (talk) 09:57, 23 June 2022 (UTC)Reply
@MarcoAurelio: IP/User/LinkSummary should never be used in a wikitext list (e.g. * {{UserSummary|Example}}). The old version gave [1]: an unordered list contains only one blank list item (<ul><li></li></ul>), which is not even visible, followed by the actual template (<hr><div class="plainlinks">...</div><hr>). For backward compatibility, I added a line break right after <includeonly>. NguoiDungKhongDinhDanh 12:12, 23 June 2022 (UTC)Reply
@NguoiDungKhongDinhDanh: Thanks. I've ported your changes to the template. Regards, —MarcoAurelio (talk) 10:23, 26 June 2022 (UTC)Reply