Jack Phoenix has submitted this change and it was merged.

Change subject: Removed UserCompletedImages stuff.
......................................................................


Removed UserCompletedImages stuff.

Again, extensions should remain as self-contained and
cross-skin-compatible as possible.

Change-Id: I72890342215efabf17231cc65f4e8fb4ead87301
---
M BlueSky.skin.php
1 file changed, 0 insertions(+), 17 deletions(-)

Approvals:
  Jack Phoenix: Verified; Looks good to me, approved



diff --git a/BlueSky.skin.php b/BlueSky.skin.php
index 4671856..1ae1d17 100644
--- a/BlueSky.skin.php
+++ b/BlueSky.skin.php
@@ -1841,13 +1841,6 @@
                        !$isMainPage &&
                        strpos( $this->data['bodytext'], 'textscroller_outer' ) 
!== false;
 
-               $showUserCompletedImages =
-                       class_exists( 'UCIPatrol' ) &&
-                       $title->exists() &&
-                       $title->getNamespace() == NS_MAIN &&
-                       !$isMainPage &&
-                       UCIPatrol::showUCI( 
$this->getSkin()->getContext()->getTitle() );
-
                $showImageFeedback =
                        class_exists( 'ImageFeedback' ) &&
                        ImageFeedback::isValidPage();
@@ -1884,7 +1877,6 @@
                        ( $isMainPage ? ',hp' : '' ) .
                        ( $showWikivideo ? ',whv' : '' ) .
                        ( $showImageFeedback ? ',ii' : '' ) .
-                       ( $showUserCompletedImages ? ',uci' : '' ) .
                        ( $showTextScroller ? ',ts' : '' );
 
                if ( $wgOut->mJSminCodes ) {
@@ -1903,7 +1895,6 @@
                        ( $showTextScroller ? ',tsc' : '' ) .
                        ( $isMainPage ? ',hpc' : '' ) .
                        ( $showImageFeedback ? ',iic' : '' ) .
-                       ( $showUserCompletedImages ? ',ucic' : '' ) .
                        ( $isSpecialPage ? ',spc' : '' );
 
                if ( $wgOut->mCSSminCodes ) {
@@ -2137,14 +2128,6 @@
 
                        <?php }
 
-                       if ( $showUserCompletedImages ) { ?>
-                               <div class="section">
-                                       <h2 class="section_head" 
id="uci_header"><span><?php echo wfMessage( 'user_completed_images' )->text() 
?></span></h2>
-                                       <div id="uci_images" 
class="section_text">
-                                               <?php echo 
UCIPatrol::getHTMLForArticle( $this->getSkin()->getContext() ) ?>
-                                       </div> <!-- end section_text-->
-                               </div><!--end section-->
-                       <?php }
                        if ( in_array( $title->getNamespace(), array( NS_USER, 
NS_MAIN, NS_PROJECT ) ) && $action == 'view' && !$isMainPage ) {
                        ?>
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I72890342215efabf17231cc65f4e8fb4ead87301
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/BlueSky
Gerrit-Branch: master
Gerrit-Owner: Jack Phoenix <j...@countervandalism.net>
Gerrit-Reviewer: Jack Phoenix <j...@countervandalism.net>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to