Last modified: 2011-06-19 22:08:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28075, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26075 - ArticleDelete hook called with $error as value, should be reference
ArticleDelete hook called with $error as value, should be reference
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.17.x
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-23 09:49 UTC by Nikola Kovacs
Modified: 2011-06-19 22:08 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nikola Kovacs 2010-11-23 09:49:47 UTC
ApiDelete.php calls the ArticleDelete hook with the $error parameter as a value. This breaks pywikipediabot's delete.py when (for example) AbuseFilter is installed, since $error should be a reference.
Comment 1 Alexandre Emsenhuber [IAlex] 2010-11-23 10:04:57 UTC
Fixed in r77141.
Comment 2 Nikola Kovacs 2011-06-19 17:35:53 UTC
Why hasn't this been backported to MW 1.16?
Comment 3 Sam Reed (reedy) 2011-06-19 22:08:46 UTC
(In reply to comment #2)
> Why hasn't this been backported to MW 1.16?

The simple answer to that, is there was no explicit request to.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links