Index: trunk/extensions/AdminLinks/AdminLinks.php |
— | — | @@ -30,3 +30,4 @@ |
31 | 31 | = $wgAutoloadClasses['ALRow'] |
32 | 32 | = $wgAutoloadClasses['ALItem'] |
33 | 33 | = "$wgAdminLinksIP/AdminLinks_body.php"; |
| 34 | +//Q: add $wgExtensionAliasesFiles ? |
Index: trunk/extensions/AdminLinks/AdminLinks_body.php |
— | — | @@ -39,6 +39,8 @@ |
40 | 40 | $users_section = new ALSection(wfMsg('adminlinks_users')); |
41 | 41 | $main_row = new ALRow('main'); |
42 | 42 | $main_row->addItem(ALItem::newFromSpecialPage('Listusers')); |
| 43 | + //Q: Use SpecialPage::getTitleFor() ? |
| 44 | + //Q: Special:HelpfulLinks ? |
43 | 45 | $ul = SpecialPage::getPage('Userlogin'); |
44 | 46 | $main_row->addItem(AlItem::newFromPage($ul->getTitle(), wfMsg('adminlinks_createuser'), 'type=signup&returnto=Special:HelpfulLinks')); |
45 | 47 | $main_row->addItem(ALItem::newFromSpecialPage('Userrights')); |
— | — | @@ -268,6 +270,8 @@ |
269 | 271 | $item->label = $page_name; |
270 | 272 | $title = Title::makeTitleSafe(NS_MEDIAWIKI, $page_name); |
271 | 273 | $edit_link = $title->getFullURL('action=edit'); |
| 274 | + //Q: raw html message and parameter? |
| 275 | + //Q: translators need to know what is $1, and most likely they still have problems translating constructions like "Edit $1" |
272 | 276 | $full_desc = wfMsg('adminlinks_edit', $desc); |
273 | 277 | $item->text = "<a href=\"$edit_link\">$full_desc</a>"; |
274 | 278 | return $item; |
Index: trunk/extensions/AdminLinks/AdminLinks.i18n.php |
— | — | @@ -14,7 +14,7 @@ |
15 | 15 | */ |
16 | 16 | $messages['en'] = array( |
17 | 17 | 'adminlinks' => 'Admin links', |
18 | | - 'adminlinks_documentation' => '$1 documentation', |
| 18 | + 'adminlinks_documentation' => '$1 documentation', //FIXME: unused message? NB: try to avoid lego |
19 | 19 | 'adminlinks_edit' => 'Edit $1', |
20 | 20 | 'adminlinks_general' => 'General', |
21 | 21 | 'adminlinks_sidebar' => 'sidebar', |