(bug 10672) Make Linker::doEditSectionLink protected, not private
authorAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 23 Jul 2007 21:40:05 +0000 (21:40 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Mon, 23 Jul 2007 21:40:05 +0000 (21:40 +0000)
includes/Linker.php

index cda07fc..56377fa 100644 (file)
@@ -1094,7 +1094,7 @@ class Linker {
         * @param $hook    String, name of hook to run
         * @return         String, HTML to use for edit link
         */
-       private function doEditSectionLink( Title $nt, $section, $hint, $hook ) {
+       protected function doEditSectionLink( Title $nt, $section, $hint, $hook ) {
                global $wgContLang;
                $editurl = '&section='.$section;
                $url = $this->makeKnownLinkObj(