﻿*** C:\Temp\WatchlistEditor.php-revBASE.svn000.tmp.php	Thu May 6 23:04:49 2010 UTC
--- D:\DevCommon\dev6\wiki\includes\WatchlistEditor.php	Thu May 6 23:05:19 2010 UTC
***************
*** 419,424 ****
  		if( $title->getNamespace() == NS_USER && !$title->isSubpage() ) {
  			$tools[] = $skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Contributions', $title->getText() ), wfMsgHtml( 'contributions' ) );
  		}
  		return "<li>"
  			. Xml::check( 'titles[]', false, array( 'value' => $title->getPrefixedText() ) )
  			. $link . " (" . $wgLang->pipeList( $tools ) . ")" . "</li>\n";
--- 419,428 ----
  		if( $title->getNamespace() == NS_USER && !$title->isSubpage() ) {
  			$tools[] = $skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Contributions', $title->getText() ), wfMsgHtml( 'contributions' ) );
  		}
+         
+         // hook for modifying the edit watchlist
+         wfRunHooks( 'SpecialBuildRemoveLine', array( &$tools, $title, $redirect, $skin ) );
+         
  		return "<li>"
  			. Xml::check( 'titles[]', false, array( 'value' => $title->getPrefixedText() ) )
  			. $link . " (" . $wgLang->pipeList( $tools ) . ")" . "</li>\n";
