Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F4039
LinkerUpdate.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 9:49 PM
2014-11-21 21:49:56 (UTC+0)
Size
724 B
Referenced Files
None
Subscribers
None
LinkerUpdate.patch
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3605
Default Alt Text
LinkerUpdate.patch (724 B)
Attached To
Mode
T12139: Allow Developers to add links to edit sections via hooks
Attached
Detach File
Event Timeline
Log In to Comment