XZise added a comment.

Well `articlepath` and `server` are not recognized (as seen in @jayvdb's 
comment above). And apart from that it's hard to find a commonality. For 
example the rootUrl on the wikipedia server is 
`//upload.wikimedia.org/wikipedia/commons` which can be worked with, but on 
referata.com it's `/w/images`. And well another example is wikitravel 
<http://wikitravel.org/wiki/en/api.php?action=query&meta=filerepoinfo&continue=&format=jsonfm>
 which uses `/upload/en`.

Then `articlepath` and `server` aren't always present on non-local repositories 
as seen in wikitravel's example for the repo “shared”. This is even worse: 
Except for `rootUrl` there is no destinctive feature which would allow a bot to 
identify it and detect whether another wiki is using it. The only other aren't 
unique too as seen in the examples here: the name “shared” is commons in 
wikipedia so not unique, displayname is “Wikimedia Commons” in enwp and “a 
shared repository” in referata).


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, Legoktm, pywikipedia-bugs



_______________________________________________
Pywikipedia-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs

Reply via email to