https://bugzilla.wikimedia.org/show_bug.cgi?id=71491

            Bug ID: 71491
           Summary: Redirects should appear in Cirrus's results
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: CirrusSearch
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

[ 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. ]

== Background ==
1) A wikilinker gadget needs to produce [[биология|биологии]], 
[[биология|биологией]], [[биология|биология]] links reliably.
[[Category:биология|биологии]] sort of links are against project policies.
2) On some projects, such as Russian Wikinews, [[Биология]] is a redirect to
[[Category:Биология]], because "Биология" is not a valid news headline and will
never be.
3) Lucene search worked fine as it also returns redirects. But it is deprecated
and no longer running in production.

== Problem description ==
1)
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.)
2) 
>> 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.**

== Proposed change ==
Please add an option to show redirects in Cirrus Search results, even if this
option is off by default.

-- 
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

Reply via email to