MediaWiki talk:Sp-contributions-footer

Latest comment: 4 years ago by Tacsipacsi in topic Special:UserRights

Apostrophes edit

Please use correct apostrophes or at least use one version consistently. --Leyo 09:17, 21 November 2012 (UTC)Reply

{{edit request}} Seconded. David1217 (talk) 04:13, 26 November 2012 (UTC)Reply

  Done. --Stryn (talk) 06:17, 26 November 2012 (UTC)Reply
Thank you Stryn! David1217 (talk) 01:21, 27 November 2012 (UTC)Reply

Translations edit

This message was migrated into translation system. Part of items may be compared with common messages - if these strings was translated in the TranslateWiki.net (needed translator rights):

--Kaganer (talk) 14:15, 13 February 2015 (UTC)Reply

Remove Quentin's tools link edit

{{Editprotected}} Here Q's tools, points to Special:CentralAuth and duplicates an earlier link. It can probably be removed as redundant. Thanks.  — billinghurst sDrewth 04:42, 24 August 2015 (UTC)Reply

@billinghurst: Should it not, maybe, be changed? The title, I mean, not the link. The link is very useful and loads faster than the others, too. Jared Preston (talk) 08:58, 24 August 2015 (UTC)Reply
@Jared Preston: It is Special:CentralAuth and it is already there as a local link, track across a couple.  — billinghurst sDrewth 11:35, 24 August 2015 (UTC)Reply
@billinghurst: Well done for spotting that, I had completely overlooked the link further to the left. Since Q's link was a duplicate, I've deleted that line as requested; please let me know if I've missed something or if there's anything else I need to do... Jared Preston (talk) 13:30, 24 August 2015 (UTC)Reply

Meta CentralAuth link edit

{{Edit request}} Is it possible to have a link to Meta CentralAuth too please? Thank you in advance --Melos (talk) 12:47, 20 April 2017 (UTC)Reply

  Done. -- Hakan·IST 13:34, 20 April 2017 (UTC)Reply

Special:UserRights edit

{{Editprotected}}

Please change the user rights link to Special:UserRights/{{{1|$1}}} (note that it’s an internal link, unlike the current one). Special:UserRights is more informative than the user listing, and it’s now available to everyone as a report page. If the page is edited anyway, please replace line breaks after translation unit ID to spaces so that any wording changes in the links don’t break the translated versions. For example, please change

-->[[Special:PrefixIndex/User:{{{1|$1}}}/|<translate><!--T:8-->
Subpages</translate>]] · <!--

to

-->[[Special:PrefixIndex/User:{{{1|$1}}}/|<translate><!--T:8--> Subpages</translate>]] · <!--

Thanks in advance, —Tacsipacsi (talk) 21:39, 23 August 2019 (UTC)Reply

Tacsipacsi, I tried editing this message but each version seem to produce bad code at pages that use it like User:フルブル. Possibly that page has some issues, but after several tries I rolled back my changes. Could you can change the code to the version you want and publish here. Also create some test I can use for testing before and after versions. --Jarekt (talk) 02:08, 29 August 2019 (UTC)Reply

@Jarekt: It’s still broken, after your revert. This is because translated root pages usually cannot be transcluded directly because of their <translate> tags. This can be worked around by autotranslating them when transcluded (note that the below code doesn’t contain my above-proposed change to ease before-and-after comparisons):

<noinclude><languages /></noinclude>{{#switch:<translate></translate>
|=
<table id="anontalktext" class="plainlinks" style="font-size:90%; background-color:#F8F8F8; border: 1px solid #B8B8B8; padding:0.25em 1em 0.25em 1em; clear: both; text-align: center;width:100%"><tr>
<td style="padding-right: 1em;">[[File:User-info.svg|40px|<translate><!--T:1-->
User info</translate>]]</td>
<td><!--
-->[[Special:PrefixIndex/User:{{{1|$1}}}/|<translate><!--T:8-->
Subpages</translate>]] · <!--
-->[{{fullurl:Special:ListUsers|limit=1&username={{urlencode:{{{1|$1}}}}}}} <translate><!--T:2-->
User rights</translate>] · <!--
-->[{{fullurl:Special:NewPages|namespace=0&username={{urlencode:{{{1|$1}}}}}}} <translate><!--T:9-->
New pages</translate>] · <!--
--><translate><!--T:3-->
Global:</translate> [{{fullurl:Special:GlobalUsers|limit=1&username={{urlencode:{{{1|$1}}}}}}} <translate><!--T:10-->
rights</translate>] · <!--
-->[[Special:CentralAuth/{{{1|$1}}}|<translate><!--T:4-->
accounts</translate>]] <sup>[[m:Special:CentralAuth/{{{1|$1}}}|(meta)]]</sup>  ·  <!--
--><span style="white-space: nowrap;"><translate><!--T:5-->
Edit counters:</translate> <!--
-->[//xtools.wmflabs.org/ec/www.wikidata.org/{{urlencode:{{{1|$1}}}|WIKI}} <translate><!--T:6-->
user analysis</translate>] · <!--
-->[[luxo:{{{1|$1}}}|<translate><!--T:7-->
global contribs</translate>]]</span>
</td>
</tr></table>
|#default = {{autotranslate|base=MediaWiki:Sp-contributions-footer|1={{{1|$1}}} }}
}}

Tacsipacsi (talk) 19:11, 29 August 2019 (UTC)Reply

@Matěj Suchánek: Thanks for fulfilling my first edit request, but this second is still pending. Is there a specific cause why you skipped it? (Also, please the page for translation when you’re done.) —Tacsipacsi (talk) 09:38, 27 October 2019 (UTC)Reply

I doubt we really need hacks like this. --Matěj Suchánek (talk) 09:47, 27 October 2019 (UTC)Reply
I think it should either be treated like a template and work when included (i.e. apply this hack), or not be treated like a template and not have template parameters (i.e. change {{{1|$1}}} to $1 everywhere). I’m not sure which one of these, but the current situation is certainly not OK. (If we decide to not treat it like a template, transclusions should be removed, of course.) —Tacsipacsi (talk) 09:57, 27 October 2019 (UTC)Reply
Good point about the template arguments. I am now wondering how the code you provided works. --Matěj Suchánek (talk) 13:13, 27 October 2019 (UTC)Reply
As you can see on the user page linked above, <translate> tags don’t disappear when they get into the page through transclusion, so <translate></translate> is non-empty when transcluding MediaWiki:sp-contributions-footer (thus the #switch’s default parameter applies), but they are not present in the source text of the translations like MediaWiki:sp-contributions-footer/en to start with, so there the #switch’s first (blank) parameter applies. By the way, this hack is in widespread use on MediaWiki.org (although they use {{TNT}} instead of {{Autotranslate}}), so it proved to work. —Tacsipacsi (talk) 14:42, 27 October 2019 (UTC)Reply
Return to "Sp-contributions-footer" page.