Last modified: 2014-07-25 11:35:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57323, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55323 - interwiki links on subpages in templates
interwiki links on subpages in templates
Status: NEW
Product: Pywikibot
Classification: Unclassified
interwiki.py (Other open bugs)
unspecified
All All
: Lowest enhancement
: ---
Assigned To: Pywikipedia bugs
:
: 55231 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 05:06 UTC by Kunal Mehta (Legoktm)
Modified: 2014-07-25 11:35 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 05:06:30 UTC
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
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 05:06:32 UTC
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.
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 05:06:34 UTC
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.
Comment 3 Kunal Mehta (Legoktm) 2013-10-05 05:06:35 UTC
On dewiki templates can contain \{\{Dokumentation\}\} which will include
interwikis listed on subpage /Meta
Comment 4 Kunal Mehta (Legoktm) 2013-10-05 05:06:37 UTC
- **priority**: 5 --> 7
Comment 5 Kunal Mehta (Legoktm) 2013-10-05 05:06:39 UTC
Behaviour changed. Interwiki bot doesn't change templates with \{\{document\}\}-templates inside. This also works for the corresponding template on de: and cs:-wiki.
Comment 6 Kunal Mehta (Legoktm) 2013-10-05 05:06:41 UTC
- **priority**: 7 --> 5
- **status**: open --> open-accepted
Comment 7 Kunal Mehta (Legoktm) 2013-10-05 05:06:42 UTC
Please, add redirects to \{\{Documentation\}\} too
http://en.wikipedia.org/w/index.php?title=Template:4TeamRR&diff=prev&oldid=330835720
there are 4 or 5 redirects to this template in en:
Comment 8 Kunal Mehta (Legoktm) 2013-10-05 05:06:44 UTC
\{\{template doc\}\} and the other redirects at en-wiki will be added with next revision \(might be r7762\)
Comment 9 Kunal Mehta (Legoktm) 2013-10-05 05:06:46 UTC
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.
Comment 10 Kunal Mehta (Legoktm) 2013-10-05 05:06:48 UTC
- **assigned_to**: nobody --> bewareofdoug
Comment 11 Kunal Mehta (Legoktm) 2013-10-05 05:06:49 UTC
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.
Comment 12 Kunal Mehta (Legoktm) 2013-10-05 05:06:51 UTC
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...
Comment 13 Ricordisamoa 2014-02-11 16:43:02 UTC
Could be a duplicate of Bug 54570 and Bug 55231
Comment 14 Ricordisamoa 2014-06-06 23:43:09 UTC
*** Bug 55231 has been marked as a duplicate of this bug. ***
Comment 15 Amir Ladsgroup 2014-07-25 11:35:40 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links