This template is within the scope of WikiProject Inline Templates, a collaborative effort to improve and manage Wikipedia's inline footnote, cleanup and dispute templates. If you would like to participate, you can visit the project page, where you can join the project and see a list of open tasks. Some discussion of this template may take place at the project's talk page, rather than here.Inline TemplatesWikipedia:WikiProject Inline TemplatesTemplate:WikiProject Inline TemplatesInline Templates
Template-protected edit request on 5 February 2020
Latest comment: 6 years ago16 comments3 people in discussion
| content = {{{text|{{{1|<includeonly>{{error|This template '''must''' be used with non-empty {{para|text}} parameter!}}</includeonly><noinclude>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</noinclude>}}}}}}
@Jonesey95: I didn't enforce anything or say anywhere in the documentation that it was required. I only changed one TemplateData object. And it wasn't "just me saying" anything, I did it based on the way {{Synthesis inline span}} and {{Clarify span}} already were (with the text "required"). I'm not sure what {{Update after}} has to do with it yet, they seem to be entirely independent templates to me, but do explain. · • SUM1 • ·(talk)20:31, 5 February 2020 (UTC)Reply
Please look again at your edit to the Template Data, which changed "suggested" to "required". If you do not know how {{Update after}} is related to this template, that is fine, as we all proceed along a learning curve, but editing template programming code requires a deeper understanding of how changes to that code can manifest in articles and in other templates. That understanding is gained through experimentation (in sandboxes and with testcases pages) and small changes, along with exploration of the links available to you from template pages.
In this case, I clicked on "What links here", changed the namespace to Template, and hid links and redirects, and saw that {{Update after}} transcludes this template. If you look at the documentation for that template (and for this one), you will see that there is no requirement that the |text= parameter be populated. You can look at the monthly error report for {{Update after}} and see that |text= is used only 80 times, out of 1,988 articles where that template is used. Your proposed code change to this template would have placed incorrect big red error messages on about 1,900 articles. – Jonesey95 (talk) 20:44, 5 February 2020 (UTC)Reply
@Jonesey95: Fair enough, I had no clue. But that tool does look handy. Makes me wonder why this template even exists if it's being used like {{Update after}} or {{Update inline}}. And for some reason {{Update after}} is designed to be used like {{Update inline span}} should be. So, what I'm gathering is the deal was about how it was being used and how it would've been presented to users, not that I was breaking something. · • SUM1 • ·(talk)21:22, 5 February 2020 (UTC)Reply
Wikipedia editors are endlessly creative, and will do things with templates that you don't expect. Unfortunately, that means that when you want to change how a template works, you have to do research to determine if there will be consequences that you would not normally expect. If your research uncovers conditions that you do not expect, you need to adjust your plan accordingly. A good programmer looks both ways before crossing a one-way street. (attribution: paraphrasing Doug Linder) – Jonesey95 (talk) 21:40, 5 February 2020 (UTC)Reply
@Jonesey95: Thank you for that. I'm going to go and test some other edits in the sandboxes of various cleanup templates, but I've no idea how easy it will be given that I'm editing the documentation, which does not have a sandbox version, and not the template itself. · • SUM1 • ·(talk)22:01, 5 February 2020 (UTC)Reply
@Anomie: Thank you. What I meant was that {{Update after}} has a usage (at the bottom of its "Examples") that involves simple span-highlighting of text, with no date attached, which it seems to obtain by transclusion of {{Update inline span}}. If they are for such different purposes, what is the point in {{Update after}} transcluding {{Update inline span}} (and preventing it from being marked as required for its only purpose, highlighting text, hence why I did so) rather than having its own span coding? · • SUM1 • ·(talk)01:25, 6 February 2020 (UTC)Reply
@Anomie: Right, so what you're trying to say is someone added span functionality using {{Fix-span}}, then you decided to create a separate template just for that functionality, but then you did what I'm saying should be changed which is to then transclude that template back into {{Update after}}. Back to what I originally said, would you agree that it is therefore appropriate, based on everything I've said before, based on the practice of {{Clarify span}} and {{Synthesis inline span}} rightfully requiring text, to de-transclude this template and let it function as a standalone counterpart to {{Update inline}} corresponding to those other two templates? · • SUM1 • ·(talk)16:29, 7 February 2020 (UTC)Reply
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.