Re: [Wikitech-l] New collapsible elements behavior or more option for mw-collapsible

2013-12-01 Thread Erick Guan
Navbox is a table. And the code search the first row's child for 'mw-collapsible-toogle'. Thus we need to customize the local Navbox module. The good news is that is easy. Thanks for your help. https://zh.wikipedia.org/wiki/Template:HideH zhwiki is f

Re: [Wikitech-l] New collapsible elements behavior or more option for mw-collapsible

2013-11-28 Thread Krinkle
On 2013-11-27, at 22:07, Bartosz Dziewoński wrote: > On Wed, 27 Nov 2013 18:12:53 +0100, Erick Guan > wrote: > >> The zhwiki's collapsible behavior makes the whole header bar clickable and >> shows a helpful text indicating the collapse state. Thus, the Navbox and >> many templates can be easi

Re: [Wikitech-l] New collapsible elements behavior or more option for mw-collapsible

2013-11-27 Thread Bartosz Dziewoński
On Wed, 27 Nov 2013 18:12:53 +0100, Erick Guan wrote: The zhwiki's collapsible behavior makes the whole header bar clickable and shows a helpful text indicating the collapse state. Thus, the Navbox and many templates can be easily expand by click the hotspot(header bar) instead of finding the "

[Wikitech-l] New collapsible elements behavior or more option for mw-collapsible

2013-11-27 Thread Erick Guan
Since MediaWiki 1.23/wmf3 has been deployed to all Wikimedia sites, the old script in zhwiki didn't work any more. The zhwiki's collapsible behavior makes the whole header bar clickable and shows a helpful text indicating the collapse state. Thus, the Navbox and many templates can be easily expand