*/
class RightsLogFormatter extends LogFormatter {
protected function makePageLink( Title $title = null, $parameters = [], $html = null ) {
*/
class RightsLogFormatter extends LogFormatter {
protected function makePageLink( Title $title = null, $parameters = [], $html = null ) {
$parts = explode( $wgUserrightsInterwikiDelimiter, $text, 2 );
if ( count( $parts ) === 2 ) {
$parts = explode( $wgUserrightsInterwikiDelimiter, $text, 2 );
if ( count( $parts ) === 2 ) {
if ( count( $oldGroups ) ) {
$params[3] = [ 'raw' => $this->formatRightsList( $oldGroups,
if ( count( $oldGroups ) ) {
$params[3] = [ 'raw' => $this->formatRightsList( $oldGroups,
// Array_values is used here because of T44211
// see use of array_unique in UserrightsPage::doSaveUserGroups on $newGroups.
$params[4] = [ 'raw' => $this->formatRightsList( array_values( $newGroups ),
// Array_values is used here because of T44211
// see use of array_unique in UserrightsPage::doSaveUserGroups on $newGroups.
$params[4] = [ 'raw' => $this->formatRightsList( array_values( $newGroups ),