Content deleted Content added
→2023 FIFA Women's World Cup: new section |
|||
(25 intermediate revisions by 13 users not shown) | |||
Line 1:
== Documenting use of this neat new feature ==
This is great; I'm really surprised that I've not heard of it before. As its use in the wild may not be immediately obvious to an editor encountering it, should we make it good practice to accompany it with a comment, something along the lines of {{
:{{ping|Gadget850}} Actually, come to think of it - rather than using the {{code|<nowiki><section></nowiki>}} tag directly, it would be better to use templates generating the tag - say, {{tl|section begin}} and {{tl|section end}}. That way, anyone encountering them in the code would be able to go immediately to the template for documentation. It's hard to find a help page for a raw tag. What do you think? — [[User:Scott Martin|'''<span style="color:#000">Scott</span>''']] <span style="color:#900">•</span> [[User talk:Scott Martin|''<span style="color:#000">talk</span>'']] 00:38, 15 February 2014 (UTC)
::Because parser tags must use #tag to include variables and #tag does not work with {{xtag|section}}. See the Templates section and {{tl|section}}. --<span style="color:Turquoise">''''' [[User:Gadget850|Gadget850]]'''''<sup>[[User talk:Gadget850| ''talk'']]</sup></span> 01:18, 15 February 2014 (UTC)
:::How annoying. I've subscribed to {{phab|39256}} - thanks. — [[User:Scott Martin|'''<span style="color:#000">Scott</span>''']] <span style="color:#900">•</span> [[User talk:Scott Martin|''<span style="color:#000">talk</span>'']] 22:46, 15 February 2014 (UTC)
:{{ping|Scott}} Good idea. I just encountered [[Template:Latest tech news]] "in the wild" and did just that. Now, I see your comment here confirming the rationale for my edit. My initial guess was that '''<nowiki>#lst:</nowiki>''' meant "last section", so I changed that to '''<nowiki>#section:</nowiki>''' as well. Regards, [[User:Wbm1058|Wbm1058]] ([[User talk:Wbm1058|talk]]) 11:35, 24 July 2014 (UTC)
== Is labeled section transclusion useful only when there are more than one labeled sections to transclude? ==
[[mw:Extension:Labeled Section Transclusion]] says: "Its functionality is similar to an enhanced version of the <nowiki><onlyinclude></nowiki> tag with normal wiki transclusion, which selects sections for inclusion."
It seems to me that <nowiki><onlyinclude></nowiki> is incompatible with labeled section transclusion, i.e., if you use one, you can't use the other. If there is only one section to be "onlyincluded", then using <nowiki><onlyinclude></nowiki> tags is sufficient for the purpose, and there is no benefit to converting those to a single labeled section. Only if one wants to have multiple labeled sections on the same page, does using labeled section transclusion become worthwhile. Is that correct? [[User:Wbm1058|Wbm1058]] ([[User talk:Wbm1058|talk]]) 12:25, 24 July 2014 (UTC)
:Sounds about right. Never tested the interaction between {{tag|onlyinclude|o}} and {{xtag|section}} but I would not recommend mixing them. --<span style="color:Turquoise">''''' [[User:Gadget850|Gadget850]]'''''<sup>[[User talk:Gadget850| ''talk'']]</sup></span> 14:43, 24 July 2014 (UTC)
== Transclusion did not bring references along too ==
{{helpme-helped}}
{{u|Gadget850}}
Using the instructions at '''[[Help:Labeled section transclusion#Section marking]]''' I was happy my two section transclusions worked on '''[[Planned Parenthood]]''' but was dismayed to find it broke the references that were included in the two sections. The transclusion did not transclude the references too.
Here are the two sections I transcluded to:
:[[Planned Parenthood#Center for Medical Progress videos]]
:[[Planned Parenthood#Violence by anti-abortion activists]]
Ping me back. Cheers! <code>{{u|[[User:Checkingfax|Checkingfax]]}} {[[User talk:Checkingfax|Talk]]}</code> 23:51, 10 November 2015 (UTC)
::{{ping|Checkingfax}}. Think of transclusion of a section as acting as if you typed that section exactly here – but nothing else from the other page. You probably know that if you make a named reference like:
:::<samp><nowiki><ref name="New York Times">{{cite news|newspaper=The New York Times|title=Title|date=Date|etc/}}</ref></nowiki></samp>
::Then the next time you want to use that citation, all you need to do is type:
:::<samp><nowiki><ref name="New York Times" /></nowiki></samp>
::You may also know that if someone removes the original place where the named reference is defined, then <samp><nowiki><ref name="New York Times" /></nowiki></samp> will be broken, because the named reference – what defined it – no longer exists. In a nutshell, that's exactly what's happening here. It's not that the "transclusion did not transclude the references too", it did, it's just that the transcluded section was not the place in the source article where the named reference was defined. That is, you're transcluding things like <samp><nowiki><ref name="New York times /></nowiki></samp> without <samp><nowiki><ref name="New York times>{{cite news|newspaper=The New York Times|title=Title|date=Date|etc/}}</ref></nowiki></samp> being part of the section. This is one of the limitations of transclusion. The only way I can think of to "fix" it is to go to the source and change where the first use of any citations included are defined to be part of the transcluded section. I suppose if the source was useful here for some other purpose, if you placed it somewhere else on the page and gave it the same reference name, then it would work. Barring that, you will need to copy the content over and place the named ref for the first use of each one that is divorced from its definer (but don't forget [[WP:COPYWITHIN|mandatory copyright attribution]] if you copy content over). Best regards--[[User:Fuhghettaboutit|Fuhghettaboutit]] ([[User talk:Fuhghettaboutit|talk]]) 03:12, 11 November 2015 (UTC)
:::Thanks, {{u|Fuhghettaboutit}}. Wow, that surprises me since WP is so picky about references. Not being able to transclude references is a real throwback. I would expect the references to link back to the page they're transcluded from so there's no chance of them being out of sync and so there is no extra work to perform. Cheers! <code>{{u|[[User:Checkingfax|Checkingfax]]}} {[[User talk:Checkingfax|Talk]]}</code> 08:21, 11 November 2015 (UTC)
== Rename to Help:Section transclusion ==
I propose we change the title from ''Labeled section transclusion'' to ''Section transclusion''. Although the special <kbd><section></kbd> markup is possible (for transcluding multiple, adjacent sections in a so-called "section"), this labeling is not necessary (to transclude a ''section'' in that term's usual wikitext sense). We just use
:<kbd><nowiki>{{</nowiki>#section-h|''section title''}}</kbd>.
No labeling is needed to transclude a section.
The rename would
* normalize the term ''section'' (It's not really a "section" if its labeled.)
* ease search
* shorten the title
— [[User:Cpiral|<span style="color:#00C000">Cp</span><span style="color:#80C000">i</span><span style="color:#C08000">r</span><span style="color:#C00000">al</span>]]§[[User talk:Cpiral|<span style="color:#2820F0">Cpiral</span>]] 21:57, 28 November 2016 (UTC)
:It's named by [[mw:Extension:Labeled Section Transclusion]] and has codes starting with <code>#lst</code> although alternative names are available. It would be confusing to not use the MediaWiki name in documentation of a MediaWiki feature. [[Help:Section#Section transclusion]] mentions other methods. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 00:28, 29 November 2016 (UTC)
::Right. A shortcut to [[Help:Section#Section transclusion]] or a redirect to here would address the issues. In any case it needs improvement, and I will work on it. Thank you. — [[User:Cpiral|<span style="color:#00C000">Cp</span><span style="color:#80C000">i</span><span style="color:#C08000">r</span><span style="color:#C00000">al</span>]]§[[User talk:Cpiral|<span style="color:#2820F0">Cpiral</span>]] 01:54, 29 November 2016 (UTC)
==Discussion at [[:Wikipedia talk:AutoWikiBrowser/General fixes#Bug: Inserting extra line break|Wikipedia talk:AutoWikiBrowser/General fixes § Bug: Inserting extra line break]]==
[[File:Symbol watching blue lashes high contrast.svg|25px|link=|alt=]] You are invited to join the discussion at [[:Wikipedia talk:AutoWikiBrowser/General fixes#Bug: Inserting extra line break|Wikipedia talk:AutoWikiBrowser/General fixes § Bug: Inserting extra line break]]. <span style="color:#AAA"><small>{{u|</small><span style="border-radius:9em;padding:0 5px;background:#088">[[User:Sdkb|<span style="color:#FFF">'''Sdkb'''</span>]]</span><small>}}</small></span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 23:31, 27 October 2020 (UTC)<!-- [[Template:Please see]] -->
== 2020–21 in Belgian football#Managerial changes ==
Hi everyone, could anyone explain to me why on [[2020–21 in Belgian football#Managerial changes]] the labeled section from [[2020–21 Belgian First Division A]] is not displayed, while the section from [[2020–21 Belgian First Division B]] is? I'm probably just overlooking something but can't figure it out. [[User:Pelotas|<b style="color:#4863A0;">Pelotas</b>]][[User talk:Pelotas|<b style="color:#F88017;"><sup>talk</sup></b>]]<sup>|</sup>[[Special:Contributions/Pelotas|<span style="color:#F88017;"><sup>'''contribs'''</sup></span>]] 20:02, 3 December 2020 (UTC)
:Since no one here has noticed the question (or knows the answer), I've asked it at [[Wikipedia_talk:WikiProject_Football#2020–21_in_Belgian_football%23Managerial_changes]]. So all further info will come there, in case anyone's interested :) [[User:Pelotas|<b style="color:#4863A0;">Pelotas</b>]][[User talk:Pelotas|<b style="color:#F88017;"><sup>talk</sup></b>]]<sup>|</sup>[[Special:Contributions/Pelotas|<span style="color:#F88017;"><sup>'''contribs'''</sup></span>]] 12:20, 19 February 2021 (UTC)
== 2023 FIFA Women's World Cup ==
I would like to update the knockout bracket because it's been almost a day since the Sweden-USA match and no one has added the result on the main article yet, and both the bracket and the match summaries are on this LST format. I tried reading the main page to figure out how to edit them, but unfortunately I couldn't understand. Can anyone help? [[User:Damn me|Damn me]] ([[User talk:Damn me|talk]]) 02:56, 7 August 2023 (UTC)
|