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

--- Comment #11 from Umherirrender <umherirrender_de...@web.de> ---
Now a prop=redirects module exists (goes live with 1.23wmf16), which maybe can
help here, because it shows all redirects to a page:

https://www.mediawiki.org/w/api.php?action=query&titles=MediaWiki&prop=redirects&rdlimit=100


You can also use it as a generator to get information about the redirects:

https://www.mediawiki.org/w/api.php?action=query&titles=MediaWiki&generator=redirects&grdlimit=100&prop=pageprops


It is also possible to use it with &redirects=

https://www.mediawiki.org/w/api.php?action=query&titles=Main%20Page&prop=redirects&rdlimit=100&redirects=


Using it with generator and redirects= looks not very helpful:

https://www.mediawiki.org/w/api.php?action=query&titles=Main%20Page&generator=redirects&grdlimit=100&redirects=&prop=pageprops

because the redirects also resolved for the titles of the generator and not
only of the query action. Not sure, if that is a feature or not.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to