https://bugzilla.wikimedia.org/show_bug.cgi?id=67068
Bug ID: 67068
Summary: Substitute {{int:...}} in summary
Product: MediaWiki
Version: 1.24-git
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: Internationalization
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
It is possible to use multilingual text using {{int:...}}. At the moment the
{{int:...}} gets not substituted in the summary. It would be nice to support
substitution of the {{int:...}} in summary. This would also 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.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l