Index: /home/sermana12/sociotopia.com/wiki/phase3/includes/ChangesList.php =================================================================== --- /home/sermana12/sociotopia.com/wiki/phase3/includes/ChangesList.php (revision 112982) +++ /home/sermana12/sociotopia.com/wiki/phase3/includes/ChangesList.php (working copy) @@ -103,7 +103,7 @@ */ private function preCacheMessages() { if( !isset( $this->message ) ) { - foreach ( explode( ' ', 'cur diff hist last blocklink history ' . + foreach ( explode( ' ', 'cur diff hist last blocklink history unwatch ' . 'semicolon-separator pipe-separator' ) as $msg ) { $this->message[$msg] = wfMsgExt( $msg, array( 'escapenoentities' ) ); } @@ -279,6 +279,7 @@ * @return void */ public function insertDiffHist( &$s, &$rc, $unpatrolled ) { + global $wgUser; # Diff link if( $rc->mAttribs['rc_type'] == RC_NEW || $rc->mAttribs['rc_type'] == RC_LOG ) { $diffLink = $this->message['diff']; @@ -313,6 +314,18 @@ 'action' => 'history' ) ); + $s .= $this->message['pipe-separator']; + # Unwatch link + $s .= Linker::linkKnown( + $rc->getTitle(), + $this->message['unwatch'], + array(), + array( + 'curid' => $rc->mAttribs['rc_cur_id'], + 'action' => 'unwatch', + 'token' => UnwatchAction::getUnwatchToken( $rc->getTitle(), $wgUser ) + ) + ); $s .= ') . . '; } Index: /home/sermana12/sociotopia.com/wiki/phase3/languages/messages/MessagesQqq.php =================================================================== --- /home/sermana12/sociotopia.com/wiki/phase3/languages/messages/MessagesQqq.php (revision 112982) +++ /home/sermana12/sociotopia.com/wiki/phase3/languages/messages/MessagesQqq.php (working copy) @@ -1779,6 +1779,7 @@ List elements are separated by {{msg-mw|pipe-separator}} each. Each list element is, or contains, a link.", 'diff' => 'Short form of "differences". Used on [[Special:RecentChanges]], [[Special:Watchlist]], ...', 'hist' => 'Short form of "history". Used on [[Special:RecentChanges]], [[Special:Watchlist]], ...', +'watchlist-toollink-unwatch' => 'The unwatch link used by Special:Watchlist' 'hide' => 'Option text in [[Special:RecentChanges]], and in [[Special:WhatLinksHere]] {{Identical|Hide}}', Index: /home/sermana12/sociotopia.com/wiki/phase3/languages/messages/MessagesEn.php =================================================================== --- /home/sermana12/sociotopia.com/wiki/phase3/languages/messages/MessagesEn.php (revision 112982) +++ /home/sermana12/sociotopia.com/wiki/phase3/languages/messages/MessagesEn.php (working copy) @@ -2037,6 +2037,7 @@ 'rclinks' => 'Show last $1 changes in last $2 days
$3', 'diff' => 'diff', 'hist' => 'hist', +'watchlist-toollink-unwatch' => 'unwatch', 'hide' => 'Hide', 'show' => 'Show', 'minoreditletter' => 'm',