* Show exif data after the image not before it.
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Thu, 21 Apr 2005 18:28:25 +0000 (18:28 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Thu, 21 Apr 2005 18:28:25 +0000 (18:28 +0000)
includes/ImagePage.php

index 4c40fcb..582b4c1 100644 (file)
@@ -25,8 +25,8 @@ class ImagePage extends Article {
                $this->img  = new Image( $this->mTitle );
 
                if( $this->mTitle->getNamespace() == NS_IMAGE  ) {
-                       if ( $this->img->exists() ) $this->showEXIFdata();
                        $this->openShowImage();
+                       if ( $this->img->exists() ) $this->showEXIFdata();
                        
                        # No need to display noarticletext, we use our own message, output in openShowImage()
                        if ( $this->getID() ) {