Last modified: 2007-06-05 05:37:19 UTC
Created attachment 3712 [details] Diff on 1.10.RC1 trunk Allow developers to customize the section headers for addition links (icons, text, etc). This would make the following possible without patches: http://www.mediawiki.org/wiki/Extension:DiscussionThreading and allow workarounds for: http://bugzilla.wikimedia.org/show_bug.cgi?id=6467 http://bugzilla.wikimedia.org/show_bug.cgi?id=522 http://bugzilla.wikimedia.org/show_bug.cgi?id=3043 Would only require two new hooks into linker.php (see full details in diff file attached): in public function editSectionLinkForOther add: wfRunHooks( 'editSectionLinkForOther', array( &$this, $title, $section , $url, &$result) ); in public function editSectionLink add: wfRunHooks( 'editSectionLink', array( &$this, $nt, $section, $hint='', $url , &$result) );
Applied in r22737, with minor modifications.
Created attachment 3720 [details] Parameter $hint needed to tag [edit] help