Template talk:Self

Add topic
Active discussions

Author grammarEdit

Can we have this modified so that specifying the Author parameter shows this:

(if author=Quasar) "Quasar, the author of this work, hereby publishes it under the following license:"

Rather than the current way, which shows this (which is grammatically broken): "Quasar, hereby publish it under the following license:"

--Quasar 00:35, 9 March 2007 (UTC)

Also, can we have it link to the Author's user page?

You can linkify your own name by using wiki markup, i.e. use something like {{self|GFDL|author=[[User:Quasar|Quasar]]}}. I agree that that I'd be nice to fix the grammar. —RP88 00:50, 18 March 2007 (UTC)

This page is protected. In order to fix the grammar on this template (and fix a minor error in the end-italic placement, I request that the following line and start of next line:

| <center>'''''{{{author|I, the author of this work}}},''' hereby publish it under the following license{{#if: {{{2|}}}|s|}}:</center>
<center>'' ...

be replaced with:

| <center>'''''{{{author|I}}}, the author of this work,''' hereby publish{{#if: {{{author|}}}|es|}} it under the following license{{#if: {{{2|}}}|s|}}:''</center>
<center> ...

In the interests of paranoia, I'll mention that the "..." is not part of the requested change, just a placeholder for the rest of the second line of the change. —RP88 00:50, 18 March 2007 (UTC)

{{editprotected}}

  Done Cbrown1023 talk 02:31, 18 March 2007 (UTC)

Edit requestEdit

{{editprotected}}

Can the text of the template help reflect the "author=" parameter, similar to what is written at COMMONS:template:self? -N 14:02, 24 June 2007 (UTC)

 Y Done I've created a documentation page for the template at {{self/doc}}; the documentation can be edited by non-admins, so feel free to change it to be more useful (I've started it in an attempt to fulfil the request, but you can probably explain it better than I can). You can do any further documentation changes yourself. --ais523 08:58, 25 June 2007 (UTC)

Request to fix English problemEdit

{{editprotected}} Hi- The template is currently written in a way that incorrectly declines the verbs "have" and "publish". When the author argument(term?) is set to "I"--if I understand the template code correctly--the template generates an incorrect English sentence. For example, here is what happens when I add the template {{self|GFDL|cc-by-sa-2.5|author=I, [[User:EHM02667|EHM02667]]}} under a photo: "I, EHM02667, the copyright holder of this work, has published or hereby publishes it under the following licenses:". (Those words should be have and publish). Or, am I maybe using the template incorrectly? Thanks in advance. -Eric (talk) 21:40, 30 July 2007 (UTC)

I believe this template is setup correctly. The author= parameter should just be set to the user name (i.e., author=[[User:EHM02667|EHM02667]]. If this doesn't resolve the issue, please feel free to re-enable the editprotected request. Cheers. --MZMcBride 21:16, 31 July 2007 (UTC)
Thanks, MZ; that's what I tried in the end, but I wanted to be sure that was how it was meant to be used. The "author=I" setting that I saw somewhere confused me. -Eric (talk) 14:28, 3 August 2007 (UTC)

You may select the license of your choice.Edit

Can someone tell me why all the licenses should say this at the bottom? Just upon casual reading, it looks like someone who would want to reuse the content can select freely from among the licenses listed? Am I missing something? --Aquatiki (talk) 09:01, 3 February 2008 (UTC)

ImboxEdit

{{editprotected}} I have written up a version using the imbox classes at {{Self/sandbox}}. There are some tests at Image:Example_for_imbox_testing.png#Template:Self.2Ftestcases (current template followed by imbox version). Any comments? —Ms2ger (talk) 10:57, 26 October 2008 (UTC)

Why isn't it using the {{imbox}} template? --MZMcBride (talk) 17:46, 9 November 2008 (UTC)
How exactly would you fit it in there? It's not really your average message box, you know… —Ms2ger (talk) 19:04, 9 November 2008 (UTC)
  Not done: please establish a consensus for this alteration before using the {{edit protected}} template. --Elonka 23:54, 9 November 2008 (UTC)

Copy redundant check from CommonsEdit

{{edit protected}} Please copy the changes from Commons:Template:Self to this template. multichill (talk) 20:12, 23 June 2009 (UTC)

Could we have some background to this request please? — Martin (MSGJ · talk) 21:54, 23 June 2009 (UTC)
Dragons flight changed this template to make all images tagged with GFDL end up in Category:License migration candidates. A lot of these images are tagged with both GFDL and cc-by-sa-3.0. These images also end up in Category:License migration candidates. This change will enable {{License migration is redundant}}. Images tagged with both GFDL and templates listed at {{License migration is redundant}} will now end up in Category:License migration redundant. This is the case for most images in Commons:Category:License migration redundant. multichill (talk) 11:16, 24 June 2009 (UTC)
I have asked DF to comment on this, as I don't understand enough about it. — Martin (MSGJ · talk) 11:38, 24 June 2009 (UTC)
I think this is fine. To be honest I only just now figured out what multichill's change did. Dragons flight (talk) 08:08, 25 June 2009 (UTC)
Okay, so how to implement it? Multichill, can you explain the purpose of {{fallback}} because we don't have that template here. Ideally, you could put your proposed code in the /sandbox. Thanks — Martin (MSGJ · talk) 09:39, 25 June 2009 (UTC)
  Done. I've tested out coding and implemented this. There shouldn't be any bugs, but if there are let me or another admin know so that it can be reverted or fixed. –Drilnoth (T • C • L) 16:48, 2 July 2009 (UTC)

Remove breakEdit

Please remove the break between {{free media}} and the start of the table, as it adds empty space even when placed below the Licensing heading. It's also not needed, as {{free media}} simply adds a category and has no visual output. So the top line should look like:

{{free media}}{| style="margin:0.5em auto; width:90%; background-color:#f0f0f0; border:2px solid #aaaaaa; padding:2px;"

Thanks. – Adrignola talk 15:47, 2 July 2011 (UTC)

  Fixed — Martin (MSGJ · talk) 12:02, 4 July 2011 (UTC)

Undo edit by AnomieBOTEdit

Please undo the wonky edit by AnomieBOT. —RP88 (talk) 18:28, 17 November 2013 (UTC)

  Done Jackmcbarn (talk) 19:02, 17 November 2013 (UTC)

Template-protected edit request on 20 February 2018Edit

When used with the GFDL parameter, including the two such examples in {{Self/doc}}, viz:

  • {{Self |cc-by-sa-3.0| GFDL}}
  • {{Self |cc-by-sa-3.0,2.5,2.0,1.0 |GFDL}}

This template generates a Multiline table in list lint error. I unambiguously state that this template needs to be modified to not cause this lint error. Anomalocaris (talk) 20:06, 20 February 2018 (UTC)

  Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. — Martin (MSGJ · talk) 20:53, 20 February 2018 (UTC)
MSGJ: That's not my job. I am a general-purpose Wikipedia editor and fixer, but I have no expertise in messy template editing. This template is generating lint errors. Those who worked on it in the past should fix their mistakes. The main problem is probably that Wikipedia does not really like nested tables, as caused by the GFDL parameter. —Anomalocaris (talk) 21:21, 20 February 2018 (UTC)
  Not done as this is not a ready to go edit that is only being blocked by protection. Feel free to continue discussing ways to improve this page. — xaosflux Talk 23:28, 20 February 2018 (UTC)

Oh, I've been here before. Well, I now understand that the issue is the markup

:::::This template should only be used on image pages.

coming from the first unnamed parameter, and failing to emit a newline, and then emitting markup on the same line equivalent to <table>, coming from {{GFDL}}.

So all I am asking for is to emit a newline character between processing the first and second unnamed parameters. I hope this should be specific enough for you. —Anomalocaris (talk) 06:05, 12 November 2020 (UTC)

  Not done (see next section). — xaosflux Talk 14:30, 13 November 2020 (UTC)

Template-protected edit request on 12 November 2020Edit

We need to fix the Multiline table in list lint error caused by the markup

{{self|author=Calvin Harris|GFDL|cc-by-sa-3.0-migrated|FAL}}

which appears in Wikipedia:Files for upload/September 2016. From Special:ExpandTemplates it's clear that the problem is the markup

:::::This template should only be used on image pages.
  • (which comes from the |cc-by-sa-3.0-migrated= parameter in this case, and could also come from other parameters that go in its place, when {{Self}} is used on a page other than image pages)
  • followed right away by another table template, which in this case comes from the |FAL= parameter

So the request is to have a line break preceding the implementation of the |FAL= parameter or whatever else would be in its position. I'm sorry I can't be more specific, but I do not understand at all how this template works. — Anomalocaris (talk) 05:51, 12 November 2020 (UTC)

  •   Not done @Anomalocaris: please mock up your changes in the template's sandbox (Template:Self/sandbox), you can include multiple changes (see section above) and verify the testcases Template:Self/testcases. Once this is ready, feel free to reactivate the edit request so that patrolling template editors can pick it up. — xaosflux Talk 14:35, 13 November 2020 (UTC)
Xaosflux: That's not reasonable here. This template is inscrutable. When I edit it, there's no there there. The changes are probably not here but in a subroutine. I have told you exactly where the fix is in terms of what's happening. Just emit a newline character after whatever is emitting
:::::This template should only be used on image pages.
I thank the people who work on inscrutable templates, but I believe they should take some responsibility to write compliant code. I've diagnosed it pretty thoroughly here. —Anomalocaris (talk) 22:19, 13 November 2020 (UTC)
@Anomalocaris: the immediate edit request process is a balance against the need to protect pages in line with the protection policy, so that someone who is being prevented from making an edit due to such restriction may still contribute to improving pages. It is certainly fine that you don't know how to make the edit, and to ask for help. You could even try to ping some of the prior editors to this discussion for additional help, or put out an ask at WP:VPT. — xaosflux Talk 23:50, 13 November 2020 (UTC)
  Done with this edit. A transcluded template was using colon indenting inappropriately. – Jonesey95 (talk) 15:23, 14 November 2020 (UTC)
Jonesey95: Thank you very much. Please note that there are more than 10 similar templates with the exact same line of markup, that are just as "inappropriate" as this one. You can find them with an insource search for ":::::This template should only be used on image pages.". I suggest that the task is not complete. —Anomalocaris (talk) 09:16, 16 November 2020 (UTC)
I think I got them all. If you see any Linter errors caused by these templates out in the wild, drop me a note on my talk page. – Jonesey95 (talk) 16:34, 16 November 2020 (UTC)
Jonesey95: Thanks! —Anomalocaris (talk) 20:01, 16 November 2020 (UTC)

Jonesey95: Unfortunately, there is more, as can be seen by lintHint's look at User:Anomalocaris/sandbox/Lint Test, where it finds a Multiline table in list on {{self|cc-by-sa-4.0|GFDL|migration=not eligible}}. ExpandTemplates reveals that the offending markup is :::::This template should only be used on file pages. <table class="plainlinks imbox imbox-license licensetpl" role="presentation">.... That leads to the new search insource search for ":::::This template should only be used on file pages.". There are 25 such templates. —Anomalocaris (talk) 09:52, 29 December 2020 (UTC)

I think I got all of these. I didn't bother with the sandbox versions. – Jonesey95 (talk) 15:54, 29 December 2020 (UTC)
Thank you, Jonesey95! That took care of a number of pages with Multiline table in list lint errors, but new there are new ones:
  • User:Querty1234/sandbox includes {{self|GFDL|cc-by-4.0}}, expands to
    :''This template will categorize into [[:Category:Wikipedia license migration candidates|Category:Wikipedia license migration candidates]].'' <table class="plainlinks imbox imbox-license licensetpl licensetpl" role="presentation">...
Also it looks like the markup * {{Cc-by-2.0}}, or or any of several similarly named templates, is now a lint error; maybe it always was, but the linter has finally noticed. Fortunately there aren't a lot of them (detected so far), so I can fix these bad calls one by one. —Anomalocaris (talk) 19:40, 29 December 2020 (UTC)