Last modified: 2006-09-09 09:35:13 UTC
CURL example: curl --silent --include -F 'target'='x' '192.168.0.64/wiki/index.php?title=Special:Revisiondelete' or as URL: http://192.168.0.64/wiki/index.php?title=Special:Revisiondelete&target=XXXXXXXYZ HTML output (with E_ALL errors): =================================== <br /> <b>Notice</b>: Undefined offset: 0 in <b>/var/www/hosts/mediawiki/phase3/includes/SpecialRevisiondelete.php</b> on line <b>61</b><br /> <br /> <b>Notice</b>: Undefined variable: rev in <b>/var/www/hosts/mediawiki/phase3/includes/SpecialRevisiondelete.php</b> on line <b>94</b><br /> <br /> <b>Fatal error</b>: Call to a member function isDeleted() on a non-object in <b>/var/www/hosts/mediawiki/phase3/includes/SpecialRevisiondelete.php</b> on line <b>94</b><br /> ===================================
These errors occur because $this->revisions is null rather than being an array. One fix would be to add a check for null at line 60 in RevisionDeleteForm::show in includes/SpecialRevisiondelete.php... except that I don't know if the function should immediately return or should output some friendly message. I'll need to configure my local mediawiki so that I can test this myself to see what would be most appropriate.
Fixed in r16454.