]> scripts.mit.edu Git - autoinstalls/mediawiki.git/blobdiff - includes/specials/SpecialBrokenRedirects.php
MediaWiki 1.17.0-scripts
[autoinstalls/mediawiki.git] / includes / specials / SpecialBrokenRedirects.php
index b6ae2ada085d709a7877d6f817df5fa5c8052eb6..98b0212640a21bb20bca57499ac308963a80fae1 100644 (file)
@@ -1,12 +1,30 @@
 <?php
 /**
+ * Implements Special:Brokenredirects
+ *
+ * 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
  * @ingroup SpecialPage
  */
 
 /**
- * A special page listing redirects to non existent page. Those should be
+ * A special page listing redirects tonon existent page. Those should be
  * fixed to point to an existing page.
+ *
  * @ingroup SpecialPage
  */
 class BrokenRedirectsPage extends PageQueryPage {
@@ -61,7 +79,7 @@ class BrokenRedirectsPage extends PageQueryPage {
 
                // $toObj may very easily be false if the $result list is cached
                if ( !is_object( $toObj ) ) {
-                       return '<s>' . $skin->link( $fromObj ) . '</s>';
+                       return '<del>' . $skin->link( $fromObj ) . '</del>';
                }
 
                $from = $skin->linkKnown(