*Remove silly unparsed brackets from list shown when items are removed
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 2 Jun 2007 18:15:36 +0000 (18:15 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 2 Jun 2007 18:15:36 +0000 (18:15 +0000)
includes/SpecialWatchlist.php

index 403ee8f..bcb9f1b 100644 (file)
@@ -94,7 +94,7 @@ function wfSpecialWatchlist( $par ) {
                                        $wgOut->addHTML( '<li class="mw-unwatch-failure">' . wfMsg( 'couldntremove', htmlspecialchars($one) ) . "</li>\n" );
                                } else {
                                        wfRunHooks('UnwatchArticle', array(&$wgUser, new Article($t)));
-                                       $wgOut->addHTML( '<li class="mw-unwatch-success">[[' . htmlspecialchars($one) . "]]</li>\n" );
+                                       $wgOut->addHTML( '<li class="mw-unwatch-success">' . htmlspecialchars($one) . "</li>\n" );
                                }
                        } else {
                                $wgOut->addHTML( '<li class="mw-unwatch-invalid">' . wfMsg( 'iteminvalidname', htmlspecialchars($one) ) . "</li>\n" );