Index: trunk/extensions/Configure/Configure.func.php |
— | — | @@ -160,3 +160,17 @@ |
161 | 161 | |
162 | 162 | return false; |
163 | 163 | } |
| 164 | + |
| 165 | +/** |
| 166 | + * Adds links to Configure's special pages to the Special:AdminLinks page, |
| 167 | + * defined by the Admin Links extension |
| 168 | + */ |
| 169 | +function efConfigureAddToAdminLinks( &$admin_links_tree ) { |
| 170 | + $general_section = $admin_links_tree->getSection(wfMsg('adminlinks_general')); |
| 171 | + $configure_row = new ALRow('configure'); |
| 172 | + $configure_row->addItem(ALItem::newFromSpecialPage('Configure')); |
| 173 | + $configure_row->addItem(ALItem::newFromSpecialPage('ViewConfig')); |
| 174 | + $configure_row->addItem(ALItem::newFromSpecialPage('Extensions')); |
| 175 | + $general_section->addRow($configure_row); |
| 176 | + return true; |
| 177 | +} |