Index: branches/REL1_4/phase3/includes/SpecialWatchlist.php |
— | — | @@ -42,7 +42,7 @@ |
43 | 43 | $wgOut->addHTML( wfMsg( "removingchecked" ) ); |
44 | 44 | foreach($id as $one) { |
45 | 45 | $t = Title::newFromURL( $one ); |
46 | | - if($t->getDBkey() != "") { |
| 46 | + if( !is_null( $t ) ) { |
47 | 47 | $wl = WatchedItem::fromUserTitle( $wgUser, $t ); |
48 | 48 | if( $wl->removeWatch() === false ) { |
49 | 49 | $wgOut->addHTML( "<br />\n" . wfMsg( "couldntremove", htmlspecialchars($one) ) ); |
Index: branches/REL1_4/phase3/RELEASE-NOTES |
— | — | @@ -610,6 +610,7 @@ |
611 | 611 | * Fix sorting of profiling output in debug log: largest last for easy tailing |
612 | 612 | * (bug 2281) Fix regression with page moves taking the wrong talk pages |
613 | 613 | * Regression fix: watchlist day cutoff |
| 614 | +* (bug 2173) Fatal error when removing an article with an empty title from the watchlist |
614 | 615 | |
615 | 616 | |
616 | 617 | === Caveats === |