Page MenuHomePhabricator

Add MediaWiki:Multiboilerplate to the Admin Links page
Closed, DeclinedPublic


Author: mike

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;


Version: unspecified
Severity: enhancement



Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:02 AM
bzimport set Reference to bz33435.

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 ( still links to old SVN), you are welcome to use Developer access

to submit this as a Git branch directly into Gerrit:

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.

Is anybody actually interested in this?
If nobody replies in the next month or so, I will close this as 'declined'.

[off-topic] @bzimport won't reply - it's a bot that imported tickets from (now defunct) Bugzilla to Phabricator. Also see :)

This is very old and I see no current interest, so I'm declining this. Anybody can reopen if interested.