Hi,
I want to add some more pages to a local mediawiki installation using the pagefromfile.py script.
However, if the content of the page contains a link, e.g. [http://www.xxx.com 123] the creation of the page fails. Also I can not overwrite an existing page if the new content contains a link EXCEPT if the existing page contains already the exact same link, than the page can be overwritten without problem. If the content contains no link everything works fine.
As all the pages have been entered via the pagefromfile script I'm sure I could create the already existing pages including the links in their content using that script. I'm lost why that doesn't work anymore although I use the same user to log in?
In wikipedia.py in the putPage function the value of data - from the call data = response.read().decode(self.site().encoding()) - is obviously not "u''" as it should be but contains the whole code of the page.
response = conn.getresponse() returns for response.status '200' and for response.reason 'OK'.
Any idea what goes wrong? Thanks, Gu