Last modified: 2014-02-17 00:02:11 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 T57295, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55295 - interwiki.py should keep links inside <onlyinclude> if there
interwiki.py should keep links inside <onlyinclude> if there
Status: NEW
Product: Pywikibot
Classification: Unclassified
interwiki.py (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:59 UTC by Kunal Mehta (Legoktm)
Modified: 2014-02-17 00:02 UTC (History)
1 user (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:59:36 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1009/
Reported by: melancholie
Created on: 2009-08-19 22:53:27
Subject: interwiki.py should keep links inside <onlyinclude> if there
Original description:
interwiki.py should keep links inside &lt;onlyinclude&gt;, if they are in there.

Currently, interwiki.py changes:
&lt;onlyinclude&gt;
Text
\[\[en:Foobar\]\]
&lt;/onlyinclude&gt;
to
&lt;onlyinclude&gt;
Text
&lt;/onlyinclude&gt;
\[\[en:Foobar\]\]

Although this way of embedding interwiki links is just wrong, PyWikipedia should respect it.
Otherwise PyWikipedia might ignore interwiki links inside of &lt;onlyinclude&gt; at all, like inside &lt;includeonly&gt;, &lt;nowiki&gt; etc.??
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:59:38 UTC
Templaten namespace result:

Test
&lt;onlyinclude&gt;
Text
&lt;/onlyinclude&gt;

&lt;noinclude&gt;
\[\[de:Vorlage:Foo\]\]
\[\[en:Template:bar\]\]
&lt;/noinclude&gt;

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


Navigation
Links