It is possible to use templates and other parser functions, such as multilingual text using {{int:...}}, in a heading.
At the moment the {{int:...}} does not get substituted in the edit summary. It would be nice to support substitution of the {{int:...}} in summary. This would fix anchor links.
Testcase:
- [[MediaWiki:Foo/en]] with the content "Foobar"
- [[MediaWiki:Foo/de]] with the content "Blabla"
Wikipage with the content
Text {{int:Foo}}
With uselang=en the wikitext gets rendered to
<h2><span id="Text_Foobar" class="mw-headline">Text Foobar</span></h2>
With uselang=de the wikitext gets rendered to
<h2><span id="Text_Blabla" class="mw-headline">Text Blabla</span></h2>
When you use the edit section function you get the prefilled summary
/* Text {{int:Foo}} */
When you save the changes you get in the history or in the summary preview the content "→Text {{int:Foo}}" and "→" is a link to #Text_.7B.7Bint:Foo.7D.7D. The link does not work because is anchor does not exist.
Expected result:
With uselang=en you get "→Text Foobar" and "→" is a link to #Text_Foobar.
With uselang=de you get "→Text Blabla" and "→" is a link to #Text_Blabla.
See also: