[ It is advised that this bug is treated with higher priority, as deprecation of Lucene search has rendered a Wikilinker Gadget unusable in production at some Wikimedia projects. ]
- A wikilinker gadget needs to produce [[биология|биологии]], [[биология|биологией]], [[биология|биология]] links reliably. [[Category:биология|биологии]] sort of links are against project policies.
- On some projects, such as Russian Wikinews, [[Биология]] is a redirect to [[Category:Биология]], because "Биология" is not a valid news headline and will never be.
- Lucene search worked fine as it also returns redirects. But it is deprecated and no longer running in production.
- http://ru.wikinews.org/w/api.php?action=query&list=search&srlimit=5&srprop=&srredirects=1&format=json&srsearch=%D0%B1%D0%B8%D0%BE%D0%BB%D0%BE%D0%B3*&format=xml does not return 'Биология' or 'Category:Биология', but it should (especially the former). (Instead, it returns "Интервью с исследователем органов чувств Домиником Кларком о шмелях и электрических полях цветков" and other long article names.)
If possible, can you get the tool to work around this?
This wikilinker gadget needs to produce [[биология|биологии]],
[[биология|биологией]], [[биология|биология]] links reliably.
[[Category:биология|биологии]] sort of links are against project policies. So
I guess no, I can't work around this, unless I missed some pretty things, or
unless I'm willing to do such an ugly thing as check for "Category:$1"
pattern in the result and manually check whether $1 main namespace page
exists. One would think that this has to be done server-side.
(From discussion at bug 69766.)
Now Russian Wikinews no longer can use Wikilinker to link to local articles-redirects.
Please add an option to show redirects in Cirrus Search results, even if this option is off by default.