- public function testDeletionUpdates( $title, $model, $text, $expectedStuff ) {
- $ns = $this->getDefaultWikitextNS();
- $title = Title::newFromText( $title, $ns );
+ public function testDeletionUpdates( $model, $text, $expectedStuff ) {
+ $page = $this->getNonexistingTestPage( get_class( $this ) . '-' . $this->getName() );
+ $title = $page->getTitle();