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

Brad Jorsch <bjor...@wikimedia.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bjor...@wikimedia.org

--- Comment #5 from Brad Jorsch <bjor...@wikimedia.org> ---
[[File:Elisacoversta.jpg]] doesn't *link* to [[File:Elisa - Stay single
cover.jpg]] because the "link" in the redirect syntax is a file usage, not a
link. And since backlinks only looks at links (specifically, the pagelinks
table in the database), it won't find this. OTOH,
https://en.wikipedia.org/w/api.php?action=query&iufilterredir=redirects&iutitle=File:Elisa_-_Stay_single_cover.jpg&list=imageusage&iuredirect=1
which looks at the imagelinks table does find it.

Special:WhatLinksHere uses the 'redirect' table to find redirects, and also
checks imagelinks and templatelinks to generate its output.

Gerrit change 104764, which adds the ability to query the redirect table
directly, will be a better way to find redirects if it gets merged.

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