Template talk:Self

Author grammar
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 .  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: | , hereby publish it under the following license:  ... be replaced with: | , the author of this work, hereby publish it under the following license:  ... 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
 * ✅ Cbrown1023 talk 02:31, 18 March 2007 (UTC)

Edit request
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)
 * ✅ 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 problem
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 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  parameter should just be set to the user name (i.e.,  . 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.
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)

Imbox
editprotected I have written up a version using the imbox classes at /sandbox. There are some tests at Image:Example_for_imbox_testing.png (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)
 * Red information icon with gradient background.svg Not done: please establish a consensus for this alteration before using the template. --Elonka 23:54, 9 November 2008 (UTC)

Copy redundant check from Commons
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? &mdash; 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. &mdash; 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 because we don't have that template here. Ideally, you could put your proposed code in the /sandbox. Thanks &mdash; Martin (MSGJ · talk) 09:39, 25 June 2009 (UTC)
 * ✅. 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 break
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: {| 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)
 * &mdash; Martin (MSGJ · talk) 12:02, 4 July 2011 (UTC)

Undo edit by AnomieBOT
Please undo the wonky edit by AnomieBOT. —RP88 (talk) 18:28, 17 November 2013 (UTC)
 * Yes check.svg Done Jackmcbarn (talk) 19:02, 17 November 2013 (UTC)

Template-protected edit request on 20 February 2018
When used with the GFDL parameter, including the two such examples in, viz:

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)
 * Red information icon with gradient background.svg Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. &mdash; 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)
 * 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

coming from the first unnamed parameter, and failing to emit a newline, and then emitting markup on the same line equivalent to, coming from.

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)
 * ❌ (see next section). — xaosflux  Talk 14:30, 13 November 2020 (UTC)

Template-protected edit request on 12 November 2020
We need to fix the Multiline table in list lint error caused by the markup

which appears in Files for upload/September 2016. From Special:ExpandTemplates it's clear that the problem is the markup
 * (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 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
 * 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)
 * ❌ 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
 * 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)
 * 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)
 * ✅ 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: 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. ExpandTemplates reveals that the offending markup is. 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, expands to
 * Also it looks like the markup, 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)
 * Also it looks like the markup, 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)

Edit request 20 December 2023
Copy over Template:Self/sandbox to Template:Self (it is the same template but rewritten using Lua+Templatestyles using Module:Self).

A list of testcases are at Template:Self/testcases. Sohom (talk) 18:36, 20 December 2023 (UTC)
 * ✅ Thank you for your excellent work at converting this to a module! SWinxy (talk) 01:30, 21 December 2023 (UTC)
 * SWinxy, Sohom: The new version is causing a Multiline table in list lint error in markup like
 * Affecting 9 user sandboxes. Can the template be fixed to avoid causing this lint error, as before? —Anomalocaris (talk) 10:19, 21 December 2023 (UTC)
 * Jonesey95: Might interest you as well. I had forgotten that I've been on this page before. —Anomalocaris (talk) 10:23, 21 December 2023 (UTC)
 * @Anomalocaris Would it be possible to update these individual userpages to use a different syntax ? I do get why the linter is complaining, but to "correctly" fix this very specific edge-case, we need to make sure Module:Message box will not emit tables (which is a lot more work and has the potential to cause a lot more edge cases/issues/work). While reverting to the old syntax could work as well (using tables) it would (imo) be a step in the wrong overall direction. Sohom (talk) 13:20, 21 December 2023 (UTC)
 * The previous version of the template, now in the sandbox, appears to automatically insert a newline before its output. That makes it tolerate being placed on a line that starts with : or * or #. The new version does not do so. I did a little experimenting but was unable to figure out how to make the live template start on a new line even if it is inserted in the middle of some text. – Jonesey95 (talk) 14:50, 21 December 2023 (UTC)
 * Sohom: Yes, the 9 affected pages could be edited. —Anomalocaris (talk) 20:27, 21 December 2023 (UTC)
 * Would it be dumb to start this template with clear and then a new line? There might be unintended side effects. – Jonesey95 (talk) 22:20, 21 December 2023 (UTC)
 * Maybe this template doesn't need fixing. Self is supposed to be used only on file pages. These 9 pages are user sandboxes. Well, someone might start a file page in a user sandbox page with the plan to move it later, but it doesn't seem likely. And if the page uses # as its list maker, the  line following   is numbered 1 (see User:Bridgette92/sandbox). So maybe the solution is to put in the documentation that this template is not supposed to be used on a list line, i.e. one starting with :, *, #. —Anomalocaris (talk) 01:17, 22 December 2023 (UTC)
 * I've added a warning to the documentation discouraging this templates use in lists. Sohom (talk) 11:39, 4 January 2024 (UTC)
 * Would it be dumb to start this template with clear and then a new line? There might be unintended side effects. – Jonesey95 (talk) 22:20, 21 December 2023 (UTC)
 * Maybe this template doesn't need fixing. Self is supposed to be used only on file pages. These 9 pages are user sandboxes. Well, someone might start a file page in a user sandbox page with the plan to move it later, but it doesn't seem likely. And if the page uses # as its list maker, the  line following   is numbered 1 (see User:Bridgette92/sandbox). So maybe the solution is to put in the documentation that this template is not supposed to be used on a list line, i.e. one starting with :, *, #. —Anomalocaris (talk) 01:17, 22 December 2023 (UTC)
 * I've added a warning to the documentation discouraging this templates use in lists. Sohom (talk) 11:39, 4 January 2024 (UTC)

Edit request 4 January 2024
Description of suggested change: "I, the copyright holder of this work, hereby publish, it under the following license" isn't proper grammar, the third comma should be removed.

Diff: ~ Eejit43 ( talk ) 13:02, 4 January 2024 (UTC)
 * ✅ &mdash; Martin (MSGJ · talk) 13:11, 4 January 2024 (UTC)