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

2013-12-01 Thread Erick Guan
Navbox https://zh.wikipedia.org/wiki/Template: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

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 matma@gmail.com wrote: On Wed, 27 Nov 2013 18:12:53 +0100, Erick Guan fantasticfe...@gmail.com wrote: The zhwiki's collapsible behavior makes the whole header bar clickable and shows a helpful text indicating the collapse state. Thus, 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

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 fantasticfe...@gmail.com 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)