Bugs item #1936118, was opened at 2008-04-06 19:10
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=193611…
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>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=193611…