X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fchanges%2FChangesList.php;h=bf275b36d3e56a9fdc72c92f4eb223c9363de42e;hb=2a9a2533fa61847c5235c5c64f546c7fc360b988;hp=6a8bd6d83fcfb6a0269f627ab60d29ecc2d926c5;hpb=8fb3666148e3a23d0f44f217a23fb66aa20bcfe1;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/changes/ChangesList.php b/includes/changes/ChangesList.php index 6a8bd6d83f..bf275b36d3 100644 --- a/includes/changes/ChangesList.php +++ b/includes/changes/ChangesList.php @@ -289,7 +289,10 @@ class ChangesList extends ContextSource { $this->rcCacheIndex = 0; $this->lastdate = ''; $this->rclistOpen = false; - $this->getOutput()->addModuleStyles( 'mediawiki.special.changeslist' ); + $this->getOutput()->addModuleStyles( [ + 'mediawiki.interface.helpers.styles', + 'mediawiki.special.changeslist' + ] ); return '
'; } @@ -472,17 +475,6 @@ class ChangesList extends ContextSource { ' '; } - /** - * @param string &$s Article link will be appended to this string, in place. - * @param RecentChange $rc - * @param bool $unpatrolled - * @param bool $watched - * @deprecated since 1.27, use getArticleLink instead. - */ - public function insertArticleLink( &$s, RecentChange $rc, $unpatrolled, $watched ) { - $s .= $this->getArticleLink( $rc, $unpatrolled, $watched ); - } - /** * @param RecentChange &$rc * @param bool $unpatrolled @@ -559,7 +551,13 @@ class ChangesList extends ContextSource { } else { $s .= $this->getLanguage()->getDirMark() . Linker::userLink( $rc->mAttribs['rc_user'], $rc->mAttribs['rc_user_text'] ); - $s .= Linker::userToolLinks( $rc->mAttribs['rc_user'], $rc->mAttribs['rc_user_text'] ); + $s .= Linker::userToolLinks( + $rc->mAttribs['rc_user'], $rc->mAttribs['rc_user_text'], + false, 0, null, + // The text content of tools is not wrapped with parenthesises or "piped". + // This will be handled in CSS (T205581). + false + ); } }