X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FImagePage.php;h=6676ea83ad4044121f6406c341b98eb0237c7fc1;hb=c9f8696d6e2a7a174128d3a29a13630b21e9fb68;hp=a1b204fbd6e68894f7f83f70fbc98c0caf1f067d;hpb=a3ca8afa9f9d4eb90bf75f415fdbc996784989c3;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/ImagePage.php b/includes/ImagePage.php index a1b204fbd6..6676ea83ad 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -290,7 +290,7 @@ class ImagePage extends Article { if ( $this->img && !$this->img->isLocal() && 0 == $this->getID() ) { return ''; } - return Article::getContent(); + return parent::getContent(); } protected function openShowImage() { @@ -299,7 +299,6 @@ class ImagePage extends Article { $this->loadFile(); - $full_url = $this->displayImg->getURL(); $sizeSel = intval( $wgUser->getOption( 'imagesize' ) ); if ( !isset( $wgImageLimits[$sizeSel] ) ) { $sizeSel = User::getDefaultOption( 'imagesize' );