[Pywikipedia-l] [ pywikipediabot-Bugs-1721918 ] interwiki.py - syntax error analyzing wiki syntax.

SourceForge.net noreply at sourceforge.net
Tue Jan 27 08:24:31 UTC 2009


Bugs item #1721918, was opened at 2007-05-19 21:03
Message generated for change (Comment added) made by siebrand
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1721918&group_id=93107

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: interwiki
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Purodha B Blissenbach (purodha)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py - syntax error analyzing wiki syntax.

Initial Comment:
See http://vi.wikipedia.org/w/index.php?title=Ti%C3%AAu_b%E1%BA%A3n%3A%21-&diff=576250&oldid=405287

There are correct new interwiki links,
being inserted at a wrong place,
breaking the wiki syntax.

Possibly the problem is related to <noinclude> syntax. 


Minor, and possibly unrelated: I've often seen:

<noinclude>[[zxx:1st interwiki]]
[[zxx:2nd interwiki]]
...

where I expected:

<noinclude>

[[zxx:1st interwiki]]
[[zxx:2nd interwiki]]
...

to be generated.

----------------------------------------------------------------------

>Comment By: siebrand (siebrand)
Date: 2009-01-27 09:24

Message:
Does this behaviour still occur?

----------------------------------------------------------------------

Comment By: Purodha B Blissenbach (purodha)
Date: 2007-05-19 21:28

Message:
Logged In: YES 
user_id=46450
Originator: YES

See
http://fr.wikipedia.org/w/index.php?title=Mod%C3%A8le%3A%21-&diff=17071747&oldid=14433235

where the same problem appears. During the same bot run, on another wiki,
the error did not show up in a similar situation.
There also was a Category: link, but it had {{Pagename}} replaced by !- 
which is the page name, i.e. functionally identical, and as a result
everything is working fine.

So one must assume, {{pagename}} triggers the odd behaviour. Possibly, it
is seen as a template call, which is not regarded as a part inside a
[[...]] bracket?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1721918&group_id=93107



More information about the Pywikipedia-l mailing list