Mark DoEditSectionLink hook as deprecated
authorKunal Mehta <legoktm@gmail.com>
Thu, 12 Mar 2015 16:51:59 +0000 (09:51 -0700)
committerKunal Mehta <legoktm@gmail.com>
Thu, 12 Mar 2015 16:51:59 +0000 (09:51 -0700)
Change-Id: I347fe68900c98080bf3070a1b0bf5a005048868a

includes/skins/Skin.php

index 530338a..1549bbd 100644 (file)
@@ -1618,8 +1618,8 @@ abstract class Skin extends ContextSource {
                );
 
                $result .= '<span class="mw-editsection-bracket">]</span></span>';
-
-               Hooks::run( 'DoEditSectionLink', array( $this, $nt, $section, $tooltip, &$result, $lang ) );
+               // Deprecated, use SkinEditSectionLinks hook instead
+               Hooks::run( 'DoEditSectionLink', array( $this, $nt, $section, $tooltip, &$result, $lang ), '1.25' );
                return $result;
        }