Merge "Fix Postgres support"
[lhc/web/wiklou.git] / includes / specialpage / SpecialPage.php
index ba58e92..e861afe 100644 (file)
@@ -783,6 +783,10 @@ class SpecialPage {
         * @since 1.25
         */
        public function addHelpLink( $to, $overrideBaseUrl = false ) {
+               if ( $this->including() ) {
+                       return;
+               }
+
                global $wgContLang;
                $msg = $this->msg( $wgContLang->lc( $this->getName() ) . '-helppage' );