[Bug 73534] missing language in family causes exception in Page.langlinks

2014-11-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=73534 --- Comment #8 from John Mark Vandenberg --- Assuming ISO language codes are part of the family would be quite a sophisticated strategy. That type of logic would be easily applied when creating the Link object; e.g. creating a Link object even

[Bug 73534] missing language in family causes exception in Page.langlinks

2014-11-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=73534 --- Comment #6 from John Mark Vandenberg --- The problem is that adding missing languages isnt possible after the library is released into pypi. Options include: 1. automatically find new subdomains in the Family layer (e.g. https://gerrit.wik

[Bug 73534] missing language in family causes exception in Page.langlinks

2014-11-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=73534 --- Comment #5 from Fabian --- Okay nevermind, from_url is flexible enough for that, so are there any caveats by simply adding the missing languages? -- You are receiving this mail because: You are on the CC list for the bug.

[Bug 73534] missing language in family causes exception in Page.langlinks

2014-11-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=73534 --- Comment #4 from Fabian --- Okay I'm checking the source code about the support for 'from_url'. It currently supports all pages which uses the ".url" scheme which vikidia is not following. But otherwise it should be possible to just add an

[Bug 73534] missing language in family causes exception in Page.langlinks

2014-11-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=73534 --- Comment #3 from John Mark Vandenberg --- (In reply to Fabian from comment #2) > Well in the case of vikidia it assumes that the language code 'de' is a part > of the family, but the Special:Interwiki page reveals that it's actually > anothe

[Bug 73534] missing language in family causes exception in Page.langlinks

2014-11-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=73534 Fabian changed: What|Removed |Added CC||commodorefabia...@gmx.de --- Comment #2 from

[Bug 73534] missing language in family causes exception in Page.langlinks

2014-11-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=73534 --- Comment #1 from John Mark Vandenberg --- On en.vikidia ERROR: testLinks (tests.page_tests.TestPageObject) -- Traceback (most recent call last): File "tests/page_tests.py

[Bug 73534] missing language in family causes exception in Page.langlinks

2014-11-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=73534 John Mark Vandenberg changed: What|Removed |Added Blocks||70936 -- You are receiving thi