Remove double catlinks on edit page.
authorAndrew Garrett <werdna@users.mediawiki.org>
Fri, 18 Sep 2009 14:05:07 +0000 (14:05 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Fri, 18 Sep 2009 14:05:07 +0000 (14:05 +0000)
Resolves bug 20718.

includes/EditPage.php

index 6756222..5709a98 100644 (file)
@@ -1595,12 +1595,6 @@ END
 END
 );
 
-               if (!$this->preview) {
-                       $wgOut->addHTML( Xml::tags( 'div',
-                                                                               array( 'class' => 'catlinks catlinks-allhidden',
-                                                                                               'id' => 'catlinks' ), ' ' ) );
-               }
-
                if ( $this->isConflict && wfRunHooks( 'EditPageBeforeConflictDiff', array( &$this, &$wgOut ) ) ) {
                        $wgOut->wrapWikiMsg( '==$1==', "yourdiff" );