jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/327934 )

Change subject: Fix the displaying of permanent blocks' expiries in the list of 
currently active blocks
......................................................................


Fix the displaying of permanent blocks' expiries in the list of currently 
active blocks

Change-Id: Ie20aadde1edcdca26ebe316d3087a07558f5bfd7
---
M SpecialRegexBlock.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jack Phoenix: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/SpecialRegexBlock.php b/SpecialRegexBlock.php
index 83854e3..228ea2c 100644
--- a/SpecialRegexBlock.php
+++ b/SpecialRegexBlock.php
@@ -196,7 +196,7 @@
                        foreach ( $blocker_list as $id => $row ) {
                                $loop++;
                                $color_expire = '%s';
-                               if ( $row['expiry'] == 'infinite' ) {
+                               if ( $row['expiry'] == 'infinite' || 
$row['expiry'] == 'infinity' ) {
                                        $row['expiry'] = $this->msg( 
'regexblock-view-block-infinite' )->text();
                                } else {
                                        if ( wfTimestampNow() > $row['expiry'] 
) {

-- 
To view, visit https://gerrit.wikimedia.org/r/327934
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie20aadde1edcdca26ebe316d3087a07558f5bfd7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/RegexBlock
Gerrit-Branch: master
Gerrit-Owner: Jack Phoenix <[email protected]>
Gerrit-Reviewer: Jack Phoenix <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to