Last modified: 2014-03-19 19:35:05 UTC
Add following lines in MultiBoilerplate.php and it will show up in the Admin links (extension). My use of wfMsg( 'boilerplates' ) is a quick hack, and it should be a string on it own. $wgHooks['AdminLinks'][] = 'MultiBoilerplateAddToAdminLinks'; function MultiBoilerplateAddToAdminLinks( &$admin_links_tree ) { global $wgMultiBoilerplateOptions; if ( !$wgMultiBoilerplateOptions) { $general_section = $admin_links_tree->getSection( wfMsg( 'adminlinks_general' ) ); $extensions_row = $general_section->getRow( 'extensions' ); if ( is_null( $extensions_row ) ) { $extensions_row = new ALRow( 'extensions' ); $general_section->addRow( $extensions_row ); } $extensions_row->addItem( ALItem::newFromEditLink( 'Multiboilerplate', wfMsg( 'boilerplates' ) ) ); } return true; }
Hi Mikael! Sorry that nobody has taken a look at this report yet and given feedback. Thanks for your patch! In case that this extension has been move to Git ( https://www.mediawiki.org/wiki/Extension:MultiBoilerplate still links to old SVN), you are welcome to use Developer access https://www.mediawiki.org/wiki/Developer_access to submit this as a Git branch directly into Gerrit: https://www.mediawiki.org/wiki/Git/Tutorial Putting your branch in Git makes it easier for us to review it quickly. Thanks again! We appreciate your contribution.
Adding many blockers of bug 38638 to the list of "easy" bugs, to mark them as candidates for [[mw:Google Code-in]] tasks (gci2013). If you think this bug is not suitable, remove the keyword.