Index: trunk/extensions/Push/Push.i18n.php |
— | — | @@ -31,5 +31,5 @@ |
32 | 32 | 'push-import-revision-comment' => ' Last comment: $1', |
33 | 33 | |
34 | 34 | // Special page |
35 | | - 'special-push' => 'Push', |
| 35 | + 'special-push' => 'Push pages', |
36 | 36 | ); |
\ No newline at end of file |
Index: trunk/extensions/Push/specials/Push_Body.php |
— | — | @@ -5,7 +5,10 @@ |
6 | 6 | * |
7 | 7 | * @since 0.1 |
8 | 8 | * |
9 | | - * @author Jeroen De Dauw |
| 9 | + * @file Push_Body.php |
| 10 | + * @ingroup Push |
| 11 | + * |
| 12 | + * @author Jeroen De Dauw < jeroendedauw@gmail.com > |
10 | 13 | */ |
11 | 14 | class SpecialPush extends SpecialPage { |
12 | 15 | |
Index: trunk/extensions/Push/Push.hooks.php |
— | — | @@ -20,15 +20,10 @@ |
21 | 21 | * @return true |
22 | 22 | */ |
23 | 23 | public static function addToAdminLinks( &$admin_links_tree ) { |
24 | | - $displaying_data_section = $admin_links_tree->getSection( wfMsg( 'smw_adminlinks_displayingdata' ) ); |
25 | | - |
26 | | - // Escape if SMW hasn't added links. |
27 | | - if ( is_null( $displaying_data_section ) ) return true; |
28 | | - $smw_docu_row = $displaying_data_section->getRow( 'smw' ); |
29 | | - |
30 | | - $maps_docu_label = wfMsg( 'adminlinks_documentation', wfMsg( 'maps_name' ) ); |
31 | | - $smw_docu_row->addItem( AlItem::newFromExternalLink( 'http://mapping.referata.com/wiki/Maps', $maps_docu_label ) ); |
32 | | - |
| 24 | + $ioSection = $admin_links_tree->getSection( wfMsg( 'adminlinks_importexport' ) ); |
| 25 | + $mainRow = $ioSection->getRow( 'main' ); |
| 26 | + $mainRow->addItem( ALItem::newFromSpecialPage( 'Push' ) ); |
| 27 | + |
33 | 28 | return true; |
34 | 29 | } |
35 | 30 | |