Excellent, this is exactly what was mentioned in

https://lists.wikimedia.org/pipermail/mobile-l/2014-September/008013.html

Eager to see our editors be able to use it.

--tomasz

On Sun, Oct 12, 2014 at 10:09 PM, Brion Vibber <[email protected]> wrote:
> I've taken the liberty of adding this to the gadgets proposals page on
> en.wikipedia:
> https://en.wikipedia.org/wiki/Wikipedia:Gadget/proposals#Mobile_sidebar
>
> If no objection I'll set it up tomorrow.
>
> Also I put the .js and .css files on github for easier patching:
> https://github.com/brion/MediaWiki-MobileSidebar
>
> -- brion
>
> On Sun, Oct 12, 2014 at 6:07 PM, Brion Vibber <[email protected]> wrote:
>>
>> Awesome! I've made some further updates, and there's now a toggle button
>> on the tab bar, next to the watchlist star, so the mobile view can be turned
>> on and off at will.
>>
>> Note that since it now uses an external stylesheet, to include the copies
>> from  my meta page now takes two imports:
>>
>> // Mobile sidebar
>>
>> mw.loader.load('https://meta.wikimedia.org/w/index.php?action=raw&title=User:Brion_VIBBER/mobile-sidebar.js&ctype=text/javascript',
>> 'text/javascript');
>>
>> mw.loader.load('https://meta.wikimedia.org/w/index.php?action=raw&title=User:Brion_VIBBER/mobile-sidebar.css&ctype=text/css',
>> 'text/css');
>>
>> -- brion
>>
>> On Fri, Oct 10, 2014 at 10:33 PM, Prateek Saxena <[email protected]>
>> wrote:
>>>
>>> On Fri, Oct 10, 2014 at 1:15 PM, Brion Vibber <[email protected]>
>>> wrote:
>>> > This shows the currently viewed page on the mobile view in an <iframe>
>>> > sidebar, and captures link navigation within the iframe to navigate on
>>> > the
>>> > desktop window as well.
>>>
>>> I really like this :)
>>>
>>>
>>> > Todo:
>>> > * add an on/off switch
>>> > * pretty it up
>>>
>>> I added just an off switch and prettied it up a little. I just refresh
>>> the page to turn it back on for now. I have an idea for putting the
>>> size selection UI which I'll add later.
>>>
>>> http://cl.ly/XzUa
>>> https://meta.wikimedia.org/wiki/User:Prtksxna/common.js
>>> https://meta.wikimedia.org/wiki/User:Prtksxna/common.css
>>
>>
>
>
> _______________________________________________
> Mobile-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mobile-l
>

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to