Index: trunk/extensions/PureWikiDeletion/SpecialPureWikiDeletion.php |
— | — | @@ -614,6 +614,9 @@ |
615 | 615 | ,array("blank_page_id" => $myId)); |
616 | 616 | if (!$checkPresence){ |
617 | 617 | $dbw->insert('blanked_page',$blank_row); |
| 618 | + $mTitle=Title::newFromID($myId); |
| 619 | + Article::onArticleDelete( $mTitle ); |
| 620 | + $mTitle->resetArticleID( 0 ); |
618 | 621 | } |
619 | 622 | } |
620 | 623 | } |
Index: trunk/extensions/PureWikiDeletion/PureWikiDeletion.hooks.php |
— | — | @@ -65,6 +65,7 @@ |
66 | 66 | array( 'rc_this_oldid' => $blankRevId |
67 | 67 | )); |
68 | 68 | Article::onArticleDelete( $mTitle ); |
| 69 | + $mTitle->resetArticleID( 0 ); |
69 | 70 | if ($user->getOption( 'watchblank' )){ |
70 | 71 | $myWatched=WatchedItem::fromUserTitle($user,$mTitle); |
71 | 72 | $myWatched->addWatch(); |