https://bugzilla.wikimedia.org/show_bug.cgi?id=42610
Web browser: ---
Bug #: 42610
Summary: ForeignAPIRepo should ignore file redirects to
non-file
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: File management
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
r66724 added &redirects=true for bug 22541, but when a file page on a foreign
wiki is redirecting to a non-file and used via ForeignAPIRepo, the redirect
target's info is fetched so there won't be
$data['query']['pages'][]['imageinfo'], causing a red file link.
However, when the file is used directly on that foreign wiki, the redirect is
ignored. ForeignAPIRepo should follow this behavior (ie. when a file is
redirecting to a non-file, remove &redirects=true and try again).
--
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