Bugs item #1936118, was opened at 2008-04-06 19:10 Message generated for change (Comment added) made by wikipedian You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1936118...
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: None Group: None Status: Open Resolution: None Priority: 7 Private: No Submitted By: Daniel Herding (wikipedian) Assigned to: Nobody/Anonymous (nobody) Summary: Recreating deleted pages failed.
Initial Comment: How to reproduce: Create a page in your browser, then delete it. Then recreate it using PyWikiBot. You will get this error message:
File "/home/daniel/projekte/pywikipedia/wikipedia.py", line 1331, in _putPage raise EditConflict(u'Someone deleted the page.') EditConflict: Someone deleted the page.
I have then changed this line in Page._putPage():
if '<label for='wpRecreate'' in data:
->
if '<label for='wpRecreate'' in data and not newPage:
But that doesn't completely solve it because of a new MediaWiki feature. I get this error message:
<p>Benutzer <a href="/wiki/Benutzer:Ureinwohner" title="Benutzer:Ureinwohner">Ureinwohner</a> (<a href="/wiki/Benutzer_Diskussion:Ureinwohner" title="Benutzer Diskussion:Ureinwohner">Diskussion</a>) hat diesen Artikel gelöscht, nachdem du angefangen hast, ihn zu bearbeiten. Die Begründung lautete: <i>veraltete bildwarnung</i> </p><p>Bitte bestätige, dass du diesen Artikel wirklich wieder neu anlegen möchtest. </p><br /><input tabindex='1' type='checkbox' value='1' name='wpRecreate' id='wpRecreate' /><label for='wpRecreate' title='Wiederherstellen.'>Erneut anlegen</label>
----------------------------------------------------------------------
Comment By: Daniel Herding (wikipedian)
Date: 2008-04-07 00:02
Message: Logged In: YES user_id=880694 Originator: YES
Some more info on this. I'm working on the German Wikipedia, on the page [[Diskussion:ICLEI]] which weblinkchecker.py tried to create. The error that I get is [[MediaWiki:Confirmrecreate]]. A comment in wikipedia.py says:
# Make sure your system clock is correct if this error occurs # without any reason!
My system clock is correct.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1936118...