/** * Overloading Article's getContentObject method. * * Omit noarticletext if sharedupload; text will be fetched from the * shared upload server if possible. * @return string */ public function getContentObject() { $this->loadFile(); if ($this->mPage->getFile() && !$this->mPage->getFile()->isLocal() && 0 == $this->getID()) { return null; } return parent::getContentObject(); }