X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=includes%2FEditPage.php;h=20a1f4834ae1d4747d3e2a8179c1af273d553221;hb=44020e254c9fa3b60b8f0874df84490ba99bb464;hp=28032da57ef6e17a0272e170c57ba7ef2571e199;hpb=77a3987052aac525658377b702483ff8f3e431c6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/EditPage.php b/includes/EditPage.php index 28032da57e..20a1f4834a 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1313,7 +1313,7 @@ class EditPage { * during form output near the top, for captchas and the like. */ function showEditForm( $formCallback = null ) { - global $wgOut, $wgUser; + global $wgOut, $wgUser, $wgEnableInterwikiTranscluding, $wgEnableInterwikiTemplatesTracking; wfProfileIn( __METHOD__ ); @@ -1347,7 +1347,6 @@ class EditPage { $toolbar = ''; } - $wgOut->addHTML( $this->editFormPageTop ); if ( $wgUser->getOption( 'previewontop' ) ) { @@ -1359,6 +1358,9 @@ class EditPage { $templates = $this->getTemplates(); $formattedtemplates = Linker::formatTemplates( $templates, $this->preview, $this->section != ''); + $distantTemplates = $this->getDistantTemplates(); + $formattedDistantTemplates = Linker::formatDistantTemplates( $distantTemplates, $this->preview, $this->section != '' ); + $hiddencats = $this->mArticle->getHiddenCategories(); $formattedhiddencats = Linker::formatHiddenCategories( $hiddencats ); @@ -1457,6 +1459,21 @@ HTML