From 76fe44f788da93bddebcc9d15324cf8f22eafcdc Mon Sep 17 00:00:00 2001 From: "This, that and the other" Date: Sun, 7 Aug 2016 15:14:16 +1000 Subject: [PATCH] Fix display of numeric tag names on Special:Tags All tag names that were numbers (e.g. "123456") showed up as "0". Change-Id: I8da326fa4dfa7e6556fb508c5e4b1f1573d1369b --- includes/specials/SpecialTags.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/specials/SpecialTags.php b/includes/specials/SpecialTags.php index 2139949958..3ebf5d0799 100644 --- a/includes/specials/SpecialTags.php +++ b/includes/specials/SpecialTags.php @@ -128,8 +128,7 @@ class SpecialTags extends SpecialPage { ChangeTags::listExtensionDefinedTags(), true ); // List all defined tags, even if they were never applied - $definedTags = array_keys( array_merge( - $this->explicitlyDefinedTags, $this->extensionDefinedTags ) ); + $definedTags = array_keys( $this->explicitlyDefinedTags + $this->extensionDefinedTags ); // Show header only if there exists atleast one tag if ( !$tagStats && !$definedTags ) { -- 2.20.1