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.
Hi,
what is the error PHP gives you?
Best regards, Jan
-----Ursprüngliche Nachricht----- Von: wikitech-l-bounces@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@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
It gave me
Parse error: syntax error, unexpected T_ELSE, expecting T_FUNCTION in /home/wikitra2/public_html/w/includes/SkinTemplate.php on line 894
Then somehow I have managed to delete my LocalSetting.php and I have spend all night restoring it: I might have learn a bit...
I wish someone Can help me! My site needs an extra tab.
2010/8/9 Natasha Brown learnrussianspeakrussian@gmail.com:
It gave me
Parse error: syntax error, unexpected T_ELSE, expecting T_FUNCTION in /home/wikitra2/public_html/w/includes/SkinTemplate.php on line 894
Sounds like you have a missing } somewhere (or one too many).
Roan Kattouw (Catrope)
On 9 August 2010 13:35, Natasha Brown learnrussianspeakrussian@gmail.com wrote:
It gave me
Parse error: syntax error, unexpected T_ELSE, expecting T_FUNCTION in /home/wikitra2/public_html/w/includes/SkinTemplate.php on line 894
Then somehow I have managed to delete my LocalSetting.php and I have spend all night restoring it: I might have learn a bit...
I wish someone Can help me! My site needs an extra tab.
Can you pastebin that function? http://paste.pocoo.org/
Regards, le Svip
wikitech-l@lists.wikimedia.org