Lokal_Profil added a comment.

@Lokal_Profil this change was limited only to resolution of failing test. It change the way we generate interwiki links for newly generated family. It looks, that new family file doesn't contain any wikidata information.

My wpbeta family looks like: F5045486: wpbeta_family.py
Moreover data_repository method is trying to figure out wikidata url on fly. It is trying to use here

WARNING: Site "wpbeta:en" supports wikibase at "https://wikidata.beta.wmflabs.org/w/index.php", but creation failed: Unknown URL 'https://wikidata.beta.wmflabs.org/w/index.php'..

That is due to pywikibot not finding any family file containing that url.
I've set created a wdbeta.py family like: P4657 which it correctly identifies. Anyhow. thanks your answer answered my question.


TASK DETAIL
https://phabricator.wikimedia.org/T151372

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Magul, Lokal_Profil
Cc: Lokal_Profil, Dalba, jayvdb, Xqt, gerritbot, pywikibot-bugs-list, Aklapper, Magul, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to