Page MenuHomePhabricator

LinkerUpdate.patch

Authored By
bzimport
Nov 21 2014, 9:49 PM
Size
724 B
Referenced Files
None
Subscribers
None

LinkerUpdate.patch

Index: Linker.php
===================================================================
--- Linker.php (revision 22741)
+++ Linker.php (working copy)
@@ -1079,7 +1079,7 @@
$hint = ( $hint=='' ) ? '' : ' title="' . wfMsgHtml( 'editsectionhint', htmlspecialchars( $hint ) ) . '"';
$url = $this->makeKnownLinkObj( $nt, wfMsg('editsection'), 'action=edit'.$editurl, '', '', '', $hint );
$result = null;
- wfRunHooks( 'EditSectionLink', array( &$this, $nt, $section, $url, &$result ) );
+ wfRunHooks( 'EditSectionLink', array( &$this, $nt, $section, $hint, $url, &$result ) );
return is_null( $result )
? "<span class=\"editsection\">[{$url}]</span>"
: "<span class=\"editsection\">[{$result}]</span>";

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3605
Default Alt Text
LinkerUpdate.patch (724 B)

Event Timeline