Page MenuHomePhabricator

SubPageList prevents deleting pages in MediaWiki 1.18
Closed, ResolvedPublic

Description

When deleting pages in MW 1.18 with SubPageList enabled, this error is produced:

Catchable fatal error: Argument 1 passed to SPLHooks::onArticleDeleteComplete() must be an instance of Article, instance of WikiPage given in /home/coin/public_html/w/extensions/SubPageList/SubPageList.hooks.php on line 43

This happened both on a file page and a test page. Both pages were newly-created, and had no subpages.


Version: unspecified
Severity: normal

Details

Reference
bz33393

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:59 PM
bzimport set Reference to bz33393.
bzimport added a subscriber: Unknown Object (MLST).

Fixed in 0.5, I'm assuming you are using something older.

Yes, it looks like the fix came out in 0.5 a few hours BEFORE I reported this bug. Impressive bug fix speed! I tested 0.5 and the problem is resolved.