Steps to replicate the issue:
- Open any page on dewiki for source code editing.
- Insert {{#interwikilink:rfc|1{{Zeichen*|#}}appendix-I|1}}
- Show preview.
- This is similar to [[rfc:1#appendix-I]]
- Template:Zeichen* is a masking template, which is not necessary here.
- Introduced by error, same goes with Template:char
- Actually no masking nor escaping is necessary. {{#interwikilink:rfc|1#appendix-I|1}} already works correctly.
What happens?:
- Always crashing with some [44c45e45-ced7-4eb2-8ad5-9974e0c34f6a] 2024-12-11 13:14:15: Fataler Ausnahmefehler des Typs „Wikimedia\Assert\ParameterAssertionException“
- Reproducable on various pages, with various templates and reduced wikitext to one line as mentioned.
- Template parameters are no problem at all and will be replaced by value correctly.
What should have happened instead?:
- Preview should work normally.
- Usage of templates to generate current path shall be possible.