Page MenuHomePhabricator

Empty parentheses are shown in block log entries when no block parameter is needed
Closed, ResolvedPublic

Description

See https://www.mediawiki.org/w/index.php?title=Special:Log&dir=prev&offset=20121205071031&limit=1&type=block&user=Liangent&page=&tagfilter= :

09:49, 9 April 2013 Liangent (talk | contribs | block) blocked Liangent-test (talk | contribs) with an expiry time of 2 hours () (test) (unblock | change block)

Version: unspecified
Severity: normal

Details

Reference
bz47035

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:23 AM
bzimport set Reference to bz47035.

According to uselang=qqx, there's supposed to be a 'block-log-flags-' message in there, so it seems we have a block flag called '' now...? (See LogPage::formatBlockFlag)

MediaWiki have no block flag with a empty string. When nothing is stored in the database, the explode in LogPage::formatBlockFlags will explode a empty string to a array with a empty string as only value, which than is formatted with the message above.

Related URL: https://gerrit.wikimedia.org/r/66291 (Gerrit Change I879169599a2a24b35e26d4a23ab8202f267d8b00)