https://bugzilla.wikimedia.org/show_bug.cgi?id=55323
Web browser: --- Bug ID: 55323 Summary: interwiki links on subpages in templates Product: Pywikibot Version: unspecified Hardware: All OS: All Status: ASSIGNED Severity: normal Priority: Unprioritized Component: interwiki.py Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/665/ Reported by: Anonymous user Created on: 2008-03-24 13:19:34 Subject: interwiki links on subpages in templates Assigned to: bewareofdoug Original description: In English and some other major wikipedias interwiki links are placed on /doc subpage (or whatever it's called) in templates. Interwiki bot should check if such a page exists and not place interwiki links on main template page but place/update links on that subpage. Otherwise, everytime a bot places interwiki on a template with this structure, the main template page needs to be cleaned and interwiki links moved to a subpage manually
https://bugzilla.wikimedia.org/show_bug.cgi?id=55323
--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Logged In: NO
Every like it about his problem. If there is a page with subpages in templates. The interwiki links on the subpages needs to places in inside the nowiki section. So if the last word of the page is </nowiki> the interwiki link needs to be placed before the </nowiki> tag.
I'm the operator of the CarsracBot with its home on the nl.wikipedia.org And I have seen this behaviour on that articles where en:list_of_asteroides/1101-1200 is a part of.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55323
--- Comment #2 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Logged In: NO
A few pages in the project namespace also use subpages for headers and interwiki links. Subpages usually have <includeonly> around the iw and category links, interwiki bots should leave that in place.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55323
--- Comment #3 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- On dewiki templates can contain {{Dokumentation}} which will include interwikis listed on subpage /Meta
https://bugzilla.wikimedia.org/show_bug.cgi?id=55323
--- Comment #4 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **priority**: 5 --> 7
https://bugzilla.wikimedia.org/show_bug.cgi?id=55323
--- Comment #5 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Behaviour changed. Interwiki bot doesn't change templates with {{document}}-templates inside. This also works for the corresponding template on de: and cs:-wiki.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55323
--- Comment #6 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **priority**: 7 --> 5 - **status**: open --> open-accepted
https://bugzilla.wikimedia.org/show_bug.cgi?id=55323
--- Comment #7 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Please, add redirects to {{Documentation}} too http://en.wikipedia.org/w/index.php?title=Template:4TeamRR&diff=prev&... there are 4 or 5 redirects to this template in en:
https://bugzilla.wikimedia.org/show_bug.cgi?id=55323
--- Comment #8 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- {{template doc}} and the other redirects at en-wiki will be added with next revision (might be r7762)
https://bugzilla.wikimedia.org/show_bug.cgi?id=55323
--- Comment #9 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Is this still valid? I thought we had fixed this behavior and interwiki.py was now able to work with /doc links. I will test this but I'm pretty sure it's solved so if someone has the revision number where it was fixed that would be great to note here.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55323
--- Comment #10 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **assigned_to**: nobody --> bewareofdoug
https://bugzilla.wikimedia.org/show_bug.cgi?id=55323
--- Comment #11 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- this tracker is still valid. Bots only keeps track of these subpaces and prevents placing iw to the main page but does not place interwiki links on these subpage. But it should.
btw please do not assign the tracker to you until you'll fix it.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55323
--- Comment #12 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- How about do like this: 1.find the {{doc}}...for example 2.treat as redirect and go to XXX/document and find if exist. 3.If not try /doc...ect...running through a list 4.Go to sub-pages Just giving an idea as treated sub-pages *similar* to redirect...
https://bugzilla.wikimedia.org/show_bug.cgi?id=55323
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/bugs/665
https://bugzilla.wikimedia.org/show_bug.cgi?id=55323
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW CC| |info@gno.de
https://bugzilla.wikimedia.org/show_bug.cgi?id=55323
Ricordisamoa ricordisamoa@live.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ricordisamoa@live.it
--- Comment #13 from Ricordisamoa ricordisamoa@live.it --- Could be a duplicate of Bug 54570 and Bug 55231
https://bugzilla.wikimedia.org/show_bug.cgi?id=55323
--- Comment #14 from Ricordisamoa ricordisamoa@openmailbox.org --- *** Bug 55231 has been marked as a duplicate of this bug. ***
https://bugzilla.wikimedia.org/show_bug.cgi?id=55323
Amir Ladsgroup ladsgroup@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Lowest CC| |ladsgroup@gmail.com Severity|normal |enhancement
--- Comment #15 from Amir Ladsgroup ladsgroup@gmail.com --- interwiki.py still skips documentation subpages instead working on them but since in Wikipedia and some other important wikis interwikis have moved to wikidata I mark this as unimportant
pywikipedia-bugs@lists.wikimedia.org