Code Duplication    Length = 8-8 lines in 2 locations

includes/specials/SpecialTags.php 2 locations

@@ 180-187 (lines=8) @@
177
178
		$linkRenderer = $this->getLinkRenderer();
179
		$disp = ChangeTags::tagDescription( $tag, $this->getContext() );
180
		if ( $showEditLinks ) {
181
			$disp .= ' ';
182
			$editLink = $linkRenderer->makeLink(
183
				$this->msg( "tag-$tag" )->inContentLanguage()->getTitle(),
184
				$this->msg( 'tags-edit' )->text()
185
			);
186
			$disp .= $this->msg( 'parentheses' )->rawParams( $editLink )->escaped();
187
		}
188
		$newRow .= Xml::tags( 'td', null, $disp );
189
190
		$msg = $this->msg( "tag-$tag-description" );
@@ 192-199 (lines=8) @@
189
190
		$msg = $this->msg( "tag-$tag-description" );
191
		$desc = !$msg->exists() ? '' : $msg->parse();
192
		if ( $showEditLinks ) {
193
			$desc .= ' ';
194
			$editDescLink = $linkRenderer->makeLink(
195
				$this->msg( "tag-$tag-description" )->inContentLanguage()->getTitle(),
196
				$this->msg( 'tags-edit' )->text()
197
			);
198
			$desc .= $this->msg( 'parentheses' )->rawParams( $editDescLink )->escaped();
199
		}
200
		$newRow .= Xml::tags( 'td', null, $desc );
201
202
		$sourceMsgs = [];