Hi,
what is the error PHP gives you?
Best regards,
Jan
-----Ursprüngliche Nachricht-----
Von: wikitech-l-bounces(a)lists.wikimedia.org
[mailto:wikitech-l-bounces@lists.wikimedia.org] Im Auftrag von Natasha Brown
Gesendet: Montag, 9. August 2010 01:35
An: wikitech-l(a)lists.wikimedia.org
Betreff: [Wikitech-l] I need an extra tab.
Thanks,
I do not know php yet, but I have tryed it anyway, it gives me syntax
mistake
wfRunHooks( 'SkinTemplateTabs', array( $this,
&$content_actions ) );
} else { //THIS IS THE LINE,
//IT MIGHT BE BECAUSE OF THE BUG WHICH FOLLOWS
/* show special page tab */
$content_actions[$this->mTitle->getNamespaceKey()] =
array(
'class' => 'selected',
'text' => wfMsg('nstab-special'),
'href' => $wgRequest->getRequestURL(), //
@bug 2457, 2510 //!!!?
);
wfRunHooks(
'SkinTemplateBuildContentActionUrlsAfterSpecialPage', array(
&$this, &$content_actions ) );
I will be trying.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l