Robert Vogel has submitted this change and it was merged. Change subject: BSUserMiniProfile: Replaced spaces in HTML output ......................................................................
BSUserMiniProfile: Replaced spaces in HTML output * Parser replaces spaces with pre tags Patch Set 2: bypass jenkins tests Change-Id: I240697f0a4b76ed9c5e1aa1d64d08bb0dfaf1a3a --- M includes/outputhandler/views/view.UserMiniProfile.php 1 file changed, 7 insertions(+), 7 deletions(-) Approvals: Robert Vogel: Verified; Looks good to me, approved Mglaser: Looks good to me, approved diff --git a/includes/outputhandler/views/view.UserMiniProfile.php b/includes/outputhandler/views/view.UserMiniProfile.php index e0c81c5..63be596 100644 --- a/includes/outputhandler/views/view.UserMiniProfile.php +++ b/includes/outputhandler/views/view.UserMiniProfile.php @@ -29,15 +29,15 @@ $aOut = array(); $aOut[] = '<div class="'. implode( ' ', $aClasses ).'" title="'.$this->mOptions['userdisplayname'].'">'; - $aOut[] = empty( $this->mOptions['linktargethref'] ) ? '<span class="bs-block">' :' <a class="bs-block" href="'.$this->mOptions['linktargethref'].'">'; - $aOut[] = ' <img alt="'.$this->mOptions['userdisplayname'].'"'; - $aOut[] = ' src="'.$this->mOptions['userimagesrc'].'"'; - $aOut[] = ' width="'.$this->mOptions['width'].'"'; + $aOut[] = empty( $this->mOptions['linktargethref'] ) ? '<span class="bs-block">' :'<a class="bs-block" href="'.$this->mOptions['linktargethref'].'">'; + $aOut[] = '<img alt="'.$this->mOptions['userdisplayname'].'"'; + $aOut[] = 'src="'.$this->mOptions['userimagesrc'].'"'; + $aOut[] = 'width="'.$this->mOptions['width'].'"'; if ( BsConfig::get( 'MW::MiniProfileEnforceHeight' ) ) { - $aOut[] = ' height="'.$this->mOptions['height'].'"'; + $aOut[] = 'height="'.$this->mOptions['height'].'"'; } - $aOut[] = ' />'; - $aOut[] = empty( $this->mOptions['linktargethref'] ) ? '</span>' :' </a>'; + $aOut[] = '/>'; + $aOut[] = empty( $this->mOptions['linktargethref'] ) ? '</span>' : '</a>'; $aOut[] = '</div>'; $sOut = implode( "\n", $aOut ); -- To view, visit https://gerrit.wikimedia.org/r/266200 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I240697f0a4b76ed9c5e1aa1d64d08bb0dfaf1a3a Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation Gerrit-Branch: master Gerrit-Owner: Pwirth <wi...@hallowelt.biz> Gerrit-Reviewer: Dvogel hallowelt <daniel.vo...@hallowelt.com> Gerrit-Reviewer: Ljonka <l.verhovs...@gmail.com> Gerrit-Reviewer: Mglaser <gla...@hallowelt.biz> Gerrit-Reviewer: Robert Vogel <vo...@hallowelt.biz> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits