Merge "Define $wgAlwaysUseTidy to false where needed in unit tests"
[lhc/web/wiklou.git] / includes / FakeTitle.php
index 23b47a9..60f7600 100644 (file)
@@ -1,4 +1,24 @@
 <?php
+/**
+ * Fake title class that triggers an error if any members are called.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * http://www.gnu.org/copyleft/gpl.html
+ *
+ * @file
+ */
 
 /**
  * Fake title class that triggers an error if any members are called
@@ -87,8 +107,6 @@ class FakeTitle extends Title {
        function moveNoAuth( &$nt ) { $this->error(); }
        function isValidMoveOperation( &$nt, $auth = true, $reason = '' ) { $this->error(); }
        function moveTo( &$nt, $auth = true, $reason = '', $createRedirect = true ) { $this->error(); }
-       function moveOverExistingRedirect( &$nt, $reason = '', $createRedirect = true ) { $this->error(); }
-       function moveToNewTitle( &$nt, $reason = '', $createRedirect = true ) { $this->error(); }
        function moveSubpages( $nt, $auth = true, $reason = '', $createRedirect = true ) { $this->error(); }
        function isSingleRevRedirect() { $this->error(); }
        function isValidMoveTarget( $nt ) { $this->error(); }