Pragun: It's still a work in progress. I personally think it would be great to have different mobile skins as all our projects have different needs and don't necessarily need to/should look the same or behave the same.
I'd happily work closely to you (help with code review etc) to support such a move. If you were to take this approach you'd create an extension that depends on MobileFrontend and extends SkinMobile / SkinMobileBase class overriding certain functions. In a LocalSettings.php you'd be able to configure it as the default mobile skin on your wiki. You can check out the current state of the code/my mind here: https://gerrit.wikimedia.org/r/#/c/58997/ On Thu, Apr 18, 2013 at 12:03 AM, Pragun Bhutani <[email protected]> wrote: > I'll go ahead and request that Wikilabs account then. If I get stuck > somewhere, I'll revert back to you. > > Also Jon, could you tell me a little more about your work on the skin? Is > it possible for me to view the code? > > On Wed, Apr 17, 2013 at 9:43 PM, Jon Robson <[email protected]> wrote: > >> I've been doing some work on refactoring the mobile skin. >> >> In theory when I'm done doing this (I need some help code reviewing) you >> would be able to write your own mobile skin with its own modules and own >> scripts.... simply by extending some classes in MobileFrontend extension. >> >> Does this sound appealing at all? >> On 17 Apr 2013 08:02, "Brion Vibber" <[email protected]> wrote: >> >> > What you probably want to do is *integrate with* MobileFrontend, but keep >> > your code within WikiBase extension and friends. >> > >> > There's provisions now for specifying desktop or mobile targets >> separately >> > in ResourceLoader, which will let you load either the same or different >> CSS >> > and JS for mobile views. You could also format your special pages >> > differently, but I recommend doing the differences in CSS and JS if you >> > can, to keep things clean. >> > >> > But you could also detect that mobile view is in use and change the >> > formatting of a Special: page directly, for instance. >> > >> > From what I remember, the base HTML of the data editing forms is >> relatively >> > straightforward, but might not fit well on small screens, so definitely >> > consider the user-interface needs of a ~320x480px screen when planning >> what >> > to do. :) >> > >> > -- brion >> > >> > >> > On Wed, Apr 17, 2013 at 1:47 AM, Denny Vrandečić < >> > [email protected]> wrote: >> > >> > > 2013/4/10 Pragun Bhutani <[email protected]> >> > > >> > > > Based on a discussion I had with YuviPanda and MaxSem on >> > > #wikimedia-mobile, >> > > > I've got a few things to add: >> > > > >> > > > - It might be a good idea to let Wikidata detect when it's being >> > accessed >> > > > through a mobile device and then have it adjust the widths and such >> of >> > > the >> > > > box-structures accordingly and then pass them to MobileFrontend. >> > > > >> > > > Maybe we can set up a Wikilabs instance with MobileFrontend like Quim >> > Gil >> > > > suggested and then we can see how much work there is involved with >> > trying >> > > > to make WIkidata mobile-friendly. >> > > > >> > > > If we can get it to work with MobileFrontend, that'll be excellent >> but >> > if >> > > > it turns out to be too complex or too dirty a solution, it would make >> > > more >> > > > sense to make a completely new extension for it. >> > > > >> > > > >> > > I think that sounds like a good plan. >> > > >> > > >> > > > Although the scope of the project is not very clear at the moment, I >> > > think >> > > > that a feasible implementation plan could be worked out with respect >> to >> > > the >> > > > GSoC timeline and if it's required, I can continue to work on the >> > project >> > > > after GSoC ends. >> > > > >> > > > >> > > I am glad to hear that. But I think it would be important to scope the >> > > project so that it can be finished in GSoC time - but obviously, >> further >> > > work on it afterwards will be gladly appreciated. >> > > >> > > So, let's consider what should be working: >> > > * create a mobile site for Wikidata >> > > * displays the content in a layout that is more adequate for mobile >> > devices >> > > * retains different language versions >> > > * Bonus: easy to edit >> > > >> > > First step would be to figure out the exact technology to use, i.e. >> > whether >> > > it would use the MobileFrontend or not, etc. We would help with setting >> > it >> > > up on labs. >> > > >> > > Cheers, >> > > Denny >> > > >> > > >> > > > On Tue, Apr 9, 2013 at 6:49 PM, Quim Gil <[email protected]> wrote: >> > > > >> > > > > On 04/09/2013 02:39 AM, Denny Vrandečić wrote: >> > > > > >> > > > >> I would hope >> > > > >> >> > > > > >> > > > > It would also be extremely good to look >> > > > >> >> > > > > >> > > > > > I would assume >> > > > > >> > > > > I don't think >> > > > >> >> > > > > >> > > > > Can the Wikidata and Mobile teams please answer with the best of >> your >> > > > > knowledge to the questions at >> > > > > >> > > > > Bug 43065 - WikibaseRepo to be mobile friendly (tracking) >> > > > > https://bugzilla.wikimedia.**org/show_bug.cgi?id=43065< >> > > > https://bugzilla.wikimedia.org/show_bug.cgi?id=43065> >> > > > > >> > > > > Beyond hope and believe, the fact is that I couldn't get any answer >> > > more >> > > > > precise than "Interesting" when asking about this project to people >> > in >> > > > > those teams. And as for today I'm not confident to tell to a >> > candidate >> > > > like >> > > > > Pragun whether this project is too complex or too simple, and where >> > the >> > > > > complexity/simplicity relies. >> > > > > >> > > > > In case of doubt I'd prefer to play safe and actually not encourage >> > > GSOC >> > > > / >> > > > > OPW to apply for a project like this, before we regret around >> August. >> > > > > >> > > > > Is it possible to have a Wikidata / WikidataRepo test instance >> > > somewhere >> > > > > with MobileFrontend enabled, so we can all have a look and know >> more >> > > > about >> > > > > the gap this project should fill? >> > > > > >> > > > > -- >> > > > > Quim Gil >> > > > > Technical Contributor Coordinator @ Wikimedia Foundation >> > > > > http://www.mediawiki.org/wiki/**User:Qgil< >> > > > http://www.mediawiki.org/wiki/User:Qgil> >> > > > > >> > > > > >> > > > > ______________________________**_________________ >> > > > > Wikitech-l mailing list >> > > > > [email protected] >> > > > > https://lists.wikimedia.org/**mailman/listinfo/wikitech-l< >> > > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l> >> > > > > >> > > > >> > > > >> > > > >> > > > -- >> > > > Pragun Bhutani >> > > > http://pragunbhutani.in >> > > > Skype : pragun.bhutani >> > > > _______________________________________________ >> > > > Wikitech-l mailing list >> > > > [email protected] >> > > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l >> > > >> > > >> > > >> > > >> > > -- >> > > Project director Wikidata >> > > Wikimedia Deutschland e.V. | Obentrautstr. 72 | 10963 Berlin >> > > Tel. +49-30-219 158 26-0 | http://wikimedia.de >> > > >> > > Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V. >> > > Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg >> > unter >> > > der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für >> > > Körperschaften I Berlin, Steuernummer 27/681/51985. >> > > _______________________________________________ >> > > Wikitech-l mailing list >> > > [email protected] >> > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l >> > > >> > _______________________________________________ >> > Wikitech-l mailing list >> > [email protected] >> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l >> _______________________________________________ >> Wikitech-l mailing list >> [email protected] >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l >> > > > > -- > Pragun Bhutani > http://pragunbhutani.in > Skype : pragun.bhutani > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l -- Jon Robson http://jonrobson.me.uk @rakugojon _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
