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

       Web browser: ---
             Bug #: 30496
           Summary: namespace filter not working with redirects
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified


Calling
http://en.wikipedia.org/w/api.php?action=query&generator=links&pageids=27338&gpllimit=max&gplnamespace=0&redirects
bring my attention on the following item, that appears in results: <page
pageid="1072401" ns="14" title="Category:Endurance sports" />

The problem is, that page is found by redirect at 
http://en.wikipedia.org/w/index.php?title=Endurance_sports&redirect=no
which is R to other namespace. Perhaps to avoid such problems, results should
be filtered after all redirects are resolved.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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