mName = 'Randomrootpage'; $dbr = $dbProvider->getReplicaDatabase(); $this->extra[] = $dbr->expr( 'page_title', IExpression::NOT_LIKE, new LikeValue( $dbr->anyString(), '/', $dbr->anyString() ) ); } // Don't select redirects public function isRedirect() { return false; } } /** * Retain the old class name for backwards compatibility. * @deprecated since 1.41 */ class_alias( SpecialRandomRootPage::class, 'SpecialRandomRootPage' );