Page MenuHomePhabricator

interwiki to incubator vs. single-line interwiki
Closed, ResolvedPublic

Description

pl.wiktionary uses interwiki at one line on the top on page
Also there are links to szl.wiktionary, which in currently on incubator.

editing interwiki at these pages causes, that "unknown family" szl is moved to the end of interwiki.
But it moves before headline.

See https://pl.wiktionary.org/w/index.php?title=blue&diff=3914703&oldid=3873860


Version: compat-(1.0)
Severity: major

Details

Reference
bz57050

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:39 AM
bzimport set Reference to bz57050.
bzimport added a subscriber: Unknown Object (????).

JAn, I notice this is against compat.
Does interwiki not work correctly in core for your usage?
Does this bug also occur in core?

In compat - now move incubator link to the new line, but with \n
https://pl.wiktionary.org/w/index.php?title=vdova&diff=4323876&oldid=4323851

In core I am unable to run interwiki:

I:\py\rewrite>pwb.py interwiki -family:wiktionary -wiktionary -async -cleanup -autonomous -lang:sk -new

WARNING: namespace argument of NewpagesPageGenerator is deprecated; use namespaces instead. NOTE: Number of pages queued is 0, trying to add 50 more. NOTE: Nothing left to do

Note: I am used to run all script from compat, Core I use only for wikidata scripts which are not in compat

If someone wants to try it, there is now [[sk:blue]] which is not connected with [[pl:blue]] which contains [[szl:blue]]

To fix that, this very simple patch needs to be merged, I checked and it worked:
https://gerrit.wikimedia.org/r/157340