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 svippy@gmail.com wrote:
On 8 August 2010 10:50, Natasha Brown learnrussianspeakrussian@gmail.com 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 Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l