XZise added a comment.
In
https://phabricator.wikimedia.org/T85153#943676, @jayvdb wrote:
[...]As an absolute minimum, we need to be able to:
1. determine if a FilePage is for a local or non-local file. and [...] and
https://gerrit.wikimedia.org/r/#/c/181416/ - Get shared FilePage and make checks
semi-dynamic
Well that is already possible (as seen in that patch): All repos return at least if they
are local or not so that is dynamic.
The obvious problem is how to determine the site the file is on. Now on wikitravel the api
returns server and articlepath which Pywikibot can already interpret because it needs to
determine a site from the interwiki map. But of course there might be a better way.
Now one question I have is if it is possible to use shared file repositories which
aren't actually wiki sites. In this case our site implementation doesn't
understand those servers. There are all least many ways to add a remote file repository
TASK DETAIL
https://phabricator.wikimedia.org/T85153
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
<username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise
Cc: Aklapper, XZise, Anomie, jayvdb, Tgr, Legoktm, pywikipedia-bugs