Author: michael.angelkovich
Description:
Now I am reporting a bug that concerns interaction between two features of the language converter on sr.wp:
- The feature that allows an user to explicitly state what title should be displayed on any of the language versions (sr, sr-ec, sr-el). Its syntax is like this:
-{T|sr-ec:<title for sr-ec version>;sr-el:<title for sr-el version>}-
- The feature that transliterates the article title and content from sr-ec to sr-el and vice versa.
Explanation:
The feature (2) transliterates the whole title either to Cyrillic or Latin script, which doesn't always give right results. The feature (1) was introduced in order to provide user option to specify how exactly titles should be displayed in either version.
Previous / wanted state:
So, supposedly the feature (1) should overwrite the doings of the feature (2). If the feature (1) is called, the (2) should stay put concerning the title. If the feature (1) has not been called, the (2) should define both title and content.
The Problem:
This doesn't work like that anymore. The user is still able to choose different titles for different language versions using the feature (1). It works. But it seems that the feature (2) is now able to process the results afterward, which defeats the purpose of the feature (1) in most cases. An illustration:
State before:
if(feature 1 used) {
title = as defined by feature 1(title)
} else {
title = as defined by feature 2(title)
}
Present state:
if(feature 1 used) {
title = as defined by feature 1(title)
}
title = as defined by feature 2(title)
I hope you get my meaning.
Examples:
In this article:
http://sr.wikipedia.org/sr-ec/Innuendo_%28%D0%B0%D0%BB%D0%B1%D1%83%D0%BC%29
Has been stated:
-{T|sr-ec:Innuendo (албум);sr-el:Innuendo (album)}-
Which means the titles for the versions should be:
sr-ec:Innuendo (албум)
sr-el:Innuendo (album)
On contrary, the actual results are:
sr-ec:Иннуендо (албум)
sr-el:Innuendo (album)
Thanks,
M
Version: unspecified
Severity: minor