Hi Thiemo,

it helps a little.

The most interesting thing is, that <source> within the mentioned .js pages
is commented out. So it should not be read as deprecated alias, should it?

Thanks
Martin ...




Am Fr., 9. Juni 2023 um 09:13 Uhr schrieb Thiemo Kreuz <
thiemo.kr...@wikimedia.de>:

> Both pages start with <source>, which is a deprecated alias for
> <syntaxhighlight>. Replacing it with e.g. <nowiki> will remove the
> pages from the category.
>
> Wait, you ask. We are talking about .js pages, don't we? There is not
> wikitext. Still, for historical reasons, even .js pages are parsed by
> the wikitext parser to populate database tables like the one needed
> for Special:WhatLinksHere.
>
> This behavior is the reason why .js pages often start with a comment
> that contains <syntaxhighlight> or preferably <nowiki>. This
> effectively tells the wikitext parser "there is nothing to see here,
> please go away". Still it will parse at least this initial tag and
> report it when it's an outdated <source>.
>
> I hope this helps.
>
> Kind regards
> Thiemo
> _______________________________________________
> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>
_______________________________________________
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

Reply via email to