Extension talk:Admin Links

Feature Request
Hi, wouldn't it be nice to have a link to 'Special:Statistics' 'and Special:Version' in section „general“ of this extension. Cheers --kgh 19:14, 16 October 2009 (UTC)


 * Good idea; this was finally done, in version 0.1.3. :) Yaron Koren 21:37, 12 July 2010 (UTC)


 * Cool, thank you Yaron! I will give it a try soon. --kgh 16:48, 13 July 2010 (UTC)

Hide from normal users?

 * Can I hide the page "Special:AdminLinks" from normal users?--Harmageddon 17:35, 10 January 2010 (UTC)


 * Not at the moment; why would you want to? Yaron Koren 18:36, 10 January 2010 (UTC)
 * Because they don't need it ;-)--Harmageddon 18:44, 10 January 2010 (UTC)
 * Do you mean, not have the link displayed at the top, or have it not viewable once users get to that page? Because normal users should never see the top link. Yaron Koren 19:51, 10 January 2010 (UTC)
 * They don't see the top link, but they can see the page with its direct url or, for example in Special:Specialpages.--Harmageddon 16:16, 11 January 2010 (UTC)
 * Okay. No, there's no way to hide it, and I haven't yet seen a good reason to do that. I'm going by the basic "wiki philosophy", which is to leave everything out in the open unless there's a good reason not to. Yaron Koren 19:10, 11 January 2010 (UTC)

SQL
Uhm Yaron... Getting an error about the SQL table doesn't exist, but I can't find anywhere the required fields for the SQL. Are there anywhere I can get this SQL structure? - In that case, please provide link, and in future, maybe include it in Your install instructions ;) Mikkel Trebbien, Denmark 13:47, 18 August 2010 (UTC)


 * Hi - that's definitely not coming from Admin Links, which doesn't use SQL. Out of curiosity, what's the name of the table? Yaron Koren 15:34, 18 August 2010 (UTC)

Add Items to Admin List
How do we add items to the Admin List? This is a great idea but is not near enough complete.

I have successfully added a regular page such as:

$main_row->addItem( ALItem::newFromEditLink( 'Copyright', wfMsg( 'adminlinks_editcopyright' ) ) );

But, when I try to add a special page, using the exact same syntax as other special pages already included, such as:

$main_row->addItem( ALItem::newFromSpecialPage( 'ListGroupRights' ) );

I get this error message:

Fatal error: Call to a member function getTitle on a non-object in /wiki/extensions/AdminLinks/AdminLinks_body.php on line 268

--Bro. Ignatius Mary 12:22, 17 September 2010 (UTC)


 * Hi, the documentation should be clearer on that - the actual name of most special pages, for some reason, is all lowercase except for the first letter. So "Listgrouprights" instead should work. Yaron Koren 15:06, 17 September 2010 (UTC)

Thank worked. Thanks.

--Bro. Ignatius Mary 19:52, 27 September 2010 (UTC)