Follow up r70940. This call should use the hook $result.
authorPlatonides <platonides@users.mediawiki.org>
Tue, 12 Oct 2010 23:20:12 +0000 (23:20 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Tue, 12 Oct 2010 23:20:12 +0000 (23:20 +0000)
includes/Linker.php

index 9413872..e07f5a1 100644 (file)
@@ -1401,7 +1401,7 @@ class Linker {
                        # run, and even add them to hook-provided text.  (This is the main
                        # reason that the EditSectionLink hook is deprecated in favor of
                        # DoEditSectionLink: it can't change the brackets or the span.)
-                       $result = wfMsgExt( 'editsection-brackets', array( 'escape', 'replaceafter', 'language' => $lang ), $link );
+                       $result = wfMsgExt( 'editsection-brackets', array( 'escape', 'replaceafter', 'language' => $lang ), $result );
                        return "<span class=\"editsection\">$result</span>";
                }