Revert r45106 "(bug 16617) Add "talk" link to list of templates in edit mode"
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 31 Dec 2008 19:16:37 +0000 (19:16 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 31 Dec 2008 19:16:37 +0000 (19:16 +0000)
Clutters the interface unnecessarily, and uses link texts which don't even match in formatting, making it very unattractive.

RELEASE-NOTES
includes/Linker.php

index d93fe42..8c16777 100644 (file)
@@ -252,7 +252,6 @@ The following extensions are migrated into MediaWiki 1.14:
   'li' elements
 * (bug 16754) Making arbitrary rows of sortable tables sticky:
   |- class="unsortable"
-* (bug 16617) Add "talk" link to list of templates in edit mode
 * Show subversion too even if a "normal" version number is available
 * (bug 16121) Add a note that a page move was without creating a redirect in the
   move log
index a28352d..e323e47 100644 (file)
@@ -1630,13 +1630,11 @@ class Linker {
                                        $protected = '';
                                }
                                if( $titleObj->quickUserCan( 'edit' ) ) {
-                                       $editLink = $this->link( $titleObj, wfMsgHtml( 'editlink' ), array(), array( 'action' => 'edit' ), 'known' );
+                                       $editLink = $this->makeLinkObj( $titleObj, wfMsg('editlink'), 'action=edit' );
                                } else {
-                                       $editLink = $this->link( $titleObj, wfMsgHtml( 'viewsourcelink' ), array(), array( 'action' => 'edit' ), 'known' );
+                                       $editLink = $this->makeLinkObj( $titleObj, wfMsg('viewsourcelink'), 'action=edit' );
                                }
-                               $talkLink = $this->link( $titleObj->getTalkPage(), wfMsgHtml( 'talkpagelinktext' ) );
-                               $outText .= Xml::tags( 'li', array(),
-                                               $this->link( $titleObj ) . ' (' . $editLink . ' ' . wfMsgHtml( 'pipe-separator' ) . ' ' . $talkLink . ') ' . $protected ) . "\n";
+                               $outText .= '<li>' . $this->link( $titleObj ) . ' (' . $editLink . ') ' . $protected . '</li>';
                        }
                        $outText .= '</ul>';
                }