Edit Vector.js and add the following code, this will call
'javascript:alert("Hello ")' when you click New Tab :


addOnloadHook(function() {
        addPortletLink('p-cactions', 'javascript:alert("Hello ");', 'New
Tab', 'ca-addsection', 'New Tab', '', '');
    });


On Sun, Aug 8, 2010 at 12:02 PM, Svip <[email protected]> wrote:

> On 8 August 2010 10:50, Natasha Brown
> <[email protected]> wrote:
>
> >  How do I add an extra tab on the top of all the wiki pages, right to
> "Page"
> > and "Discussion" in Vector skin?
>
> Well, Wiktionary uses JavaScript, I think.  Which is terrible.
>
> I recommend this method:
> http://www.mediawiki.org/wiki/User:Svippong/AdditionalTabs
>
> /me rins before someone cries 'nooooo--'
>
> _______________________________________________
> Wikitech-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>



-- 
സ്‌നേഹാന്വേഷണങ്ങളോടെ,
സാദിക്ക് ഖാലിദ്
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to