On Sun, Jan 4, 2015 at 11:42 PM, quiddity <[email protected]> wrote:

>
> On Mon, Dec 29, 2014 at 3:42 AM, Prateek Saxena <[email protected]>
> wrote:
>
>> On Sat, Dec 20, 2014 at 9:45 AM, Krinkle <[email protected]> wrote:
>> > Our table of contents is in desperate need of improvement. Having that
>> be more accessible throughout the reading experience would be a big step
>> forward[1] (much like the Wikipedia iOS app). Having a proper TOC means
>> users don't have to collapse/expand anything.
>>
>> A buggy experiment:
>>
>>     importStylesheet( 'User:Prtksxna/toc.css' );
>>     importScript( 'User:Prtksxna/toc.js' );
>>
>> Tested on latest Firefox and Chrome. Refreshing a couple of times
>> usually takes care of any visual bugs.
>>
>> http://cl.ly/Z7DO
>> http://cl.ly/Z7B4
>>
>
>
> This is great indeed!
> Could this eventually be a new Beta Feature?
>
>
Requesting it to be promoted to a gadget on en.wikipedia.org would be a
good first step to wider visibility (nearly the same as a beta feature in
terms of script abilities and user method for enabling). Community scripts
FTW :)

@Prateek I've made a few improvements you may want to import:

https://en.wikipedia.org/wiki/User:Krinkle/toc.js?action=history
https://en.wikipedia.org/wiki/User:Krinkle/toc.css?action=history

-- Krinkle
_______________________________________________
Design mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/design

Reply via email to