2,691
edits
(replied to myself with a possible workaround proposal) |
(→Skill section edit links direct to this master template instead of their instance: Added another proposal) |
||
Line 4: | Line 4: | ||
I guess this is a known issue. There is a wiki "magic word" (<nowiki>__NOEDITSECTION__</nowiki>) that blocks edit links at section headings though including that in a template forces that behavior on any and all pages that implement the template. There is a workaround where you replace <nowiki>==</nowiki> with <nowiki><h2></nowiki> HTML tags instead. See link (https://meta.wikimedia.org/wiki/Help:Editing_sections_of_included_templates) This would let the pages look the same but not produce edit links that direct to the wrong place. Do we want to try this? [[User:Hinic|Hinic]] ([[User talk:Hinic|talk]]) 23:34, 17 October 2021 (UTC) | I guess this is a known issue. There is a wiki "magic word" (<nowiki>__NOEDITSECTION__</nowiki>) that blocks edit links at section headings though including that in a template forces that behavior on any and all pages that implement the template. There is a workaround where you replace <nowiki>==</nowiki> with <nowiki><h2></nowiki> HTML tags instead. See link (https://meta.wikimedia.org/wiki/Help:Editing_sections_of_included_templates) This would let the pages look the same but not produce edit links that direct to the wrong place. Do we want to try this? [[User:Hinic|Hinic]] ([[User talk:Hinic|talk]]) 23:34, 17 October 2021 (UTC) | ||
Another option is to simply remove the <code>skillname</code> parameter from the template and reformat all the skill pages to have traditional <nowiki>==skillname==</nowiki>-style headings followed by the template. (Which sounds like a lot of work but it's not that bad with the help of Regular Expressions.) Then, when a chronicler clicks the edit link for the section, they will see the template inputs instead of the edit template page. [[User:Hinic|Hinic]] ([[User talk:Hinic|talk]]) 21:47, 15 July 2022 (UTC) |
edits