Golopotw has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/358230 )
Change subject: Fix indents left intentionally by the last commit ...................................................................... Fix indents left intentionally by the last commit See commit 09becb9 Or T167582 Change-Id: I01d409b02ef1dba36b95548553de2ddc7e21705f --- M VectorTemplate.php 1 file changed, 98 insertions(+), 98 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/Vector refs/changes/30/358230/1 diff --git a/VectorTemplate.php b/VectorTemplate.php index 9e43059..7468c36 100644 --- a/VectorTemplate.php +++ b/VectorTemplate.php @@ -119,123 +119,123 @@ <?php $this->renderNavigation( [ 'VIEWS', 'ACTIONS', 'SEARCH' ] ); ?> </div> </div> - <div id="content" class="mw-body" role="main"> - <a id="top"></a> + <div id="content" class="mw-body" role="main"> + <a id="top"></a> - <?php - if ( $this->data['sitenotice'] ) { - ?> - <div id="siteNotice" class="mw-body-content"><?php $this->html( 'sitenotice' ) ?></div> - <?php - } - ?> - <?php - if ( is_callable( [ $this, 'getIndicators' ] ) ) { - echo $this->getIndicators(); - } - // Loose comparison with '!=' is intentional, to catch null and false too, but not '0' - if ( $this->data['title'] != '' ) { - ?> - <h1 id="firstHeading" class="firstHeading" lang="<?php $this->text( 'pageLanguage' ); ?>"><?php - $this->html( 'title' ) - ?></h1> - <?php - } ?> - <?php $this->html( 'prebodyhtml' ) ?> - <div id="bodyContent" class="mw-body-content"> <?php - if ( $this->data['isarticle'] ) { + if ( $this->data['sitenotice'] ) { ?> - <div id="siteSub"><?php $this->msg( 'tagline' ) ?></div> - <?php - } - ?> - <div id="contentSub"<?php $this->html( 'userlangattributes' ) ?>><?php - $this->html( 'subtitle' ) - ?></div> - <?php - if ( $this->data['undelete'] ) { - ?> - <div id="contentSub2"><?php $this->html( 'undelete' ) ?></div> + <div id="siteNotice" class="mw-body-content"><?php $this->html( 'sitenotice' ) ?></div> <?php } ?> <?php - if ( $this->data['newtalk'] ) { - ?> - <div class="usermessage"><?php $this->html( 'newtalk' ) ?></div> - <?php + if ( is_callable( [ $this, 'getIndicators' ] ) ) { + echo $this->getIndicators(); } + // Loose comparison with '!=' is intentional, to catch null and false too, but not '0' + if ( $this->data['title'] != '' ) { ?> - <div id="jump-to-nav" class="mw-jump"> - <?php $this->msg( 'jumpto' ) ?> - <a href="#mw-head"><?php - $this->msg( 'jumptonavigation' ) - ?></a><?php $this->msg( 'comma-separator' ) ?> - <a href="#p-search"><?php $this->msg( 'jumptosearch' ) ?></a> - </div> + <h1 id="firstHeading" class="firstHeading" lang="<?php $this->text( 'pageLanguage' ); ?>"><?php + $this->html( 'title' ) + ?></h1> <?php - $this->html( 'bodycontent' ); - - if ( $this->data['printfooter'] ) { + } ?> + <?php $this->html( 'prebodyhtml' ) ?> + <div id="bodyContent" class="mw-body-content"> + <?php + if ( $this->data['isarticle'] ) { + ?> + <div id="siteSub"><?php $this->msg( 'tagline' ) ?></div> + <?php + } ?> - <div class="printfooter"> - <?php $this->html( 'printfooter' ); ?> + <div id="contentSub"<?php $this->html( 'userlangattributes' ) ?>><?php + $this->html( 'subtitle' ) + ?></div> + <?php + if ( $this->data['undelete'] ) { + ?> + <div id="contentSub2"><?php $this->html( 'undelete' ) ?></div> + <?php + } + ?> + <?php + if ( $this->data['newtalk'] ) { + ?> + <div class="usermessage"><?php $this->html( 'newtalk' ) ?></div> + <?php + } + ?> + <div id="jump-to-nav" class="mw-jump"> + <?php $this->msg( 'jumpto' ) ?> + <a href="#mw-head"><?php + $this->msg( 'jumptonavigation' ) + ?></a><?php $this->msg( 'comma-separator' ) ?> + <a href="#p-search"><?php $this->msg( 'jumptosearch' ) ?></a> </div> - <?php - } + <?php + $this->html( 'bodycontent' ); - if ( $this->data['catlinks'] ) { - $this->html( 'catlinks' ); - } + if ( $this->data['printfooter'] ) { + ?> + <div class="printfooter"> + <?php $this->html( 'printfooter' ); ?> + </div> + <?php + } - if ( $this->data['dataAfterContent'] ) { - $this->html( 'dataAfterContent' ); - } - ?> - <div class="visualClear"></div> - <?php $this->html( 'debughtml' ); ?> + if ( $this->data['catlinks'] ) { + $this->html( 'catlinks' ); + } + + if ( $this->data['dataAfterContent'] ) { + $this->html( 'dataAfterContent' ); + } + ?> + <div class="visualClear"></div> + <?php $this->html( 'debughtml' ); ?> </div> </div> - <div id="footer" role="contentinfo"<?php $this->html( 'userlangattributes' ) ?>> - <?php - foreach ( $this->getFooterLinks() as $category => $links ) { - ?> - <ul id="footer-<?php echo $category ?>"> - <?php - foreach ( $links as $link ) { - ?> - <li id="footer-<?php echo $category ?>-<?php echo $link ?>"><?php $this->html( $link ) ?></li> - <?php - } + <div id="footer" role="contentinfo"<?php $this->html( 'userlangattributes' ) ?>> + <?php + foreach ( $this->getFooterLinks() as $category => $links ) { ?> - </ul> - <?php - } - ?> - <?php $footericons = $this->getFooterIcons( 'icononly' ); - if ( count( $footericons ) > 0 ) { - ?> - <ul id="footer-icons" class="noprint"> - <?php - foreach ( $footericons as $blockName => $footerIcons ) { - ?> - <li id="footer-<?php echo htmlspecialchars( $blockName ); ?>ico"> - <?php - foreach ( $footerIcons as $icon ) { - echo $this->getSkin()->makeFooterIcon( $icon ); - } + <ul id="footer-<?php echo $category ?>"> + <?php + foreach ( $links as $link ) { ?> - </li> - <?php - } + <li id="footer-<?php echo $category ?>-<?php echo $link ?>"><?php $this->html( $link ) ?></li> + <?php + } + ?> + </ul> + <?php + } + ?> + <?php $footericons = $this->getFooterIcons( 'icononly' ); + if ( count( $footericons ) > 0 ) { ?> - </ul> - <?php - } - ?> - <div style="clear:both"></div> - </div> + <ul id="footer-icons" class="noprint"> + <?php + foreach ( $footericons as $blockName => $footerIcons ) { + ?> + <li id="footer-<?php echo htmlspecialchars( $blockName ); ?>ico"> + <?php + foreach ( $footerIcons as $icon ) { + echo $this->getSkin()->makeFooterIcon( $icon ); + } + ?> + </li> + <?php + } + ?> + </ul> + <?php + } + ?> + <div style="clear:both"></div> + </div> </div> <?php $this->printTrail(); ?> -- To view, visit https://gerrit.wikimedia.org/r/358230 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I01d409b02ef1dba36b95548553de2ddc7e21705f Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/skins/Vector Gerrit-Branch: master Gerrit-Owner: Golopotw <golo...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits