Content deleted Content added
→Section is stripped: need details |
Tag: Disambiguation links added |
||
Line 154:
== Section is stripped ==
Not a redirect: <code><nowiki>
Redirect: <code><nowiki>{{#invoke:Redirect|main|WikiPedia#section}}</nowiki></code> → {{#invoke:Redirect|main|WikiPedia#section}}<br />
Pinging last editor @[[User:Johnuniq|Johnuniq]]. ― [[User:Qwerfjkl|<span style="background:#1d9ffc; color:white; padding:5px; box-shadow:darkgray 2px 2px 2px;">Qwerfjkl</span>]][[User talk:Qwerfjkl|<span style="background:#79c0f2;color:white; padding:2px; box-shadow:darkgray 2px 2px 2px;">talk</span>]] 18:47, 21 February 2022 (UTC)
:I was here only to fix an error which I tracked to this module. I might have a look later but as I know nothing about this module I would need to be told exactly what should happen with the above examples which I infer are wrong. Are the examples in the documentation correct? [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 23:41, 21 February 2022 (UTC)
:
:I'm not wholly convinced that there is anything really wrong with the module. [[!!]] is not a redirect page and it doesn't have a section that the <code>#section</code> fragment can link to. [[WikiPedia]] is a redirect to [[Wikipedia]]. The redirect page does not have a section that the <code>#section</code> fragment can link to; because 'WikiPedia' is a redirect, the module correctly returns the target page [[Wikipedia]]. Yeah, the module documentation says: {{tq| If page-name does not exist or is not a redirect then page-name is returned.}} If that is taken literally then perhaps it is broken. The fragments disappear at [[Module:Redirect#L-8|line 8]].
:—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 00:28, 22 February 2022 (UTC)
|