wikimedia-gadgets / twinkle

The English Wikipedia twinkle javascript helper
http://en.wikipedia.org/wiki/Wikipedia:Twinkle
Other
135 stars 148 forks source link

TW tab shown double in Bengali wikipedia #170

Closed jayantanth closed 11 years ago

jayantanth commented 11 years ago

hi, we have implemented TW in Bengali Wikipedia in 2012 December. At that time there was no issue. But recently 2-3 days we found TW(main)tab shown in double. We have just replaced "টুইংকল" (twinkle) with your "TW" in now some skin dependent config area.... Can anyone fixed the issue?

atlight commented 11 years ago

Try also updating MediaWiki:Gadget-morebits.css

jayantanth commented 11 years ago

We have not change MediaWiki:Gadget-morebits.css file from 2012 December. TW tab shown properly from that time. We have just shown this issue in 2-3 days.

atlight commented 11 years ago

Hm, I will try to debug this for you.

atlight commented 11 years ago

OK, you need to go to MediaWiki:Gadget-Twinkle.js and change this line (near the top, inside the twAddPortlet function) var h5 = document.createElement( "h5" ); to var h5 = document.createElement( "h3" ); (Yes, it is intentional that h5 is first and h3 is second.) That will fix it.

jayantanth commented 11 years ago

Oh! thank you ! Its Works!