[00:00:20] MobileFrontend is such a 'skin' that the VisualEditor's edit button doesn't appear [00:12:44] gry: The MobileFrontend integration for VisualEditor is substantially different from the one for desktop skins, yes. [00:13:59] interestingly when I open on firefox os simulator and on firefox itself, the left sidebar has a 'settings' thignie on the simulator and shows the limited preferences set [00:15:57] gry: you still staff? [00:26:15] not very, I'm on a break [00:28:40] James_F, are you saying there is an integration? [00:29:11] yep, minerva is for stuff other than desktop [00:29:23] hence it has its own UI requirements [00:29:51] we're currently working on making it a great skin for editing with tablets [00:30:03] dunno I was expecting it to link to Special:Preferences in the sidebar, not to its own ugly limited thingie with only 2 prefs :) [00:31:28] it also hides a lot of useful links a desktop skin has in its sidebar [00:31:56] I don't see where to add them though [00:42:12] Oh. I was going to ask you to look into seeing if helpmebot is klined gry [02:33:53] Ahem. The mobile frontend has a lot of extra things, even APIs. Is all of that really within the scope of a skin? [02:35:53] gry: "Skin". [02:37:01] James_F, what do you mean? [02:37:56] gry: Well, yeah, MobileFrontend isn't a skin, it's a bundle of different things needed to let us do the things we want in Mobile; ideally it would be separable, but it isn't. [02:38:33] James_F, I see. What would you think of the idea of simply writing a skin for the existing desktop version to become mobile-friendly? [02:39:06] I don't see a need in duplicate work. If there is a need in a new API, it may as-well go into the wiki for all skins to use. [02:39:15] gry: We'd need to do a bunch of work on MediaWiki's skinning system (unsurprisingly; it's a mess), but a single skin for desktop, tablet and 'phone seems like a better option long-term. [02:40:07] James_F, What do you mean? There is 4 desktop skins, they can't be just replaced by one. [02:40:33] Why note gry? [02:40:39] *not [02:40:47] T13|sleeps, users use different skins. They like them. [02:40:58] gry: That's what user-CSS is for. [02:41:09] James_F, they like them. They're not tech savvy. [02:41:27] That's what User:/common.css is for [02:41:31] gry: And frankly, a good theming system built on top of a workable skin that could actually be customised like that would be nice for all parties. [02:41:42] T13|sleeps; Like I said they're not tech savvy and they don't know how to write CSS. [02:42:15] They don't need to know how to write. [02:42:23] Just copy and paste [02:42:27] James_F: I like the idea, granted the skin and the API sit in their own places, and a program that contains API doesn't sit in the skins section. [02:42:59] T13|sleeps: hopefully the thing would have a GUI way to customise it; copy pasting CSS isn't a good way to customize. [02:43:18] gry: Have you seen Wikia's theming system? [02:43:55] Augh. One more password. I forgot it. Give me a few minutes. [02:44:17] gry: http://community.wikia.com/wiki/Help:Theme_designer [02:46:34] Ok, thanks. I understand it's underway and it looks coherent. [02:46:49] It's in GitHub somewhere, no-doubt. [02:47:05] Although theirs is sysop-only, and contributors using their own to customize appearance would be nice. [02:47:07] But not sure if it only works with Wikia's skin (probably). [02:47:11] Oh, sure. [02:47:22] But that's just A Simple Matter Of Coding™. :-) [02:47:47] It doesn't matter. It's an idea. I'm sure that as time goes, when you switch to 1 skin, you'll have something simple and nice to customize it. [02:48:06] That'd be the goal, yes. [02:48:11] Hopefully with an option for people to fall back to old skins, but that's tricky. [02:48:20] And make it easy to customise in a way that works, and hard to do so in a way that breaks. [02:48:21] Sicne you say you would rewrite theming engine. [02:48:28] Yup. [02:48:52] So colour-differentiation blocking (etc.) [02:48:55] * James_F shrugs. [02:50:51] Wiki sysops should have full control over the single skin, hopefully, so a change of a margin, colour, or padding doesn't require bugzilla queries. [02:51:18] (Don't know how this is done, now. But it would seem that such access could make sense.) [02:54:24] James_F: I'm trying to create 1 JS-heavy app which queries couple sister wikis and makes an edit. If external, I'd have to use oauth. If on-wiki, I don't see how to avoid the entire JS-heavy thing being loaded each time the person loads a page. What would you recommend? [02:56:03] James_F: also if community wishes to maintain the existing skins (monobook, vector, cologne something, modern) and convert them to the new universal-both-mobile-and-desktop format, where should it read how to do this? [02:57:13] * gry curses at the timezones, goes idle. [03:00:24] gry: Have a very light init script on the page that only loads the rest of the code on user action? That way you can get away with ~0.5KiB of code on all pages… [03:00:31] gry: It's what we do with VisualEditor. [03:01:01] James_F, Ok. Thanks. "load" thing is done with "importScript(/path/to/the/long/thing)" or something else? [03:01:49] James_F, I'm also waiting comment on query for new theme format docs (or a repo to follow). I would ideally give the old skins maintainers a few weeks to catch up, once the new skin format is stabilized. [03:06:36] gry: It's probably best to ask a real developer once we get into those nitty-gritty items, sorry. [03:06:44] gry: I just play one on TV, as it were. :-( [03:07:21] Ok, I will. Didn't grok the last phrase. [04:54:57] yurikR: hi. [04:55:58] yurikR: sorry, wrong nick. [05:13:41] James_F|Away: fwiw, MobileFrontend *is* a skin now. Appropriate change was merged a few days ago. Enabled via betafeatures [05:22:07] zz_YuviPanda: Wait, making it a skin is a BetaFeature? [05:22:26] Or turning it on at all is? [05:29:01] zz_YuviPanda, morning. [05:29:27] zz_YuviPanda, this may be of interest for the android app: https://commons.wikimedia.org/wiki/User:Gryllida/Galleries; [05:30:40] zz_YuviPanda, as well as probably for other desktop things. But mobile people may be likely to benefit from having to click less. [05:31:34] zz_YuviPanda, eg is visualeditor goes mobile and has such feature (offer to create gallery from Commons uploads), it'd be already ok, but that would me months later I think. [05:31:54] s/is/if/ [05:38:57] marktraceur: turning it on [05:38:59] marktraceur: well, turning it on in desktop [05:45:31] Ahhh. [05:45:50] marktraceur: was merged last week. [05:47:10] YuviPanda: (I edited the page; you may want to reload it.) [09:32:09] Morning. [13:14:36] 01[13WikipediaMobile01] 15siebrand pushed 1 new commit to 06master: 02http://git.io/UAbd4Q [13:14:36] 13WikipediaMobile/06master 14b18de0e 15Siebrand Mazeland: Localisation updates from https://translatewiki.net. [20:57:32] brion: do look at the outstanding patches when you have the time :) Not much [21:13:14] YuviPanda: any objection to adding a 'test' language entry for now to make it easier to test editing on testwiki? [21:14:13] brion: no, but do wait until I am done with my current patch. redos language bits a bit [21:14:20] brion: should also be easier to add test after this [21:14:26] okee [21:14:32] brion: we could also later on add a 'tap 7 times to become a developer!!!1' type thing :P [21:14:37] hmmm [21:14:38] [WARNING] Could not transfer metadata org.mediawiki.api:json:1.0-SNAPSHOT/maven-metadata.xml from/to tools-repository (https://tools.wmflabs.org/android-maven-repo/): peer not authenticated [21:15:12] YuviPanda: we could have a screen that's a cute puppy, and you have to rub the puppy's tummy and when he wags his tail 7 times you're a developer [21:15:45] brion: sounds fun. I am sure the designers will love it as well! [21:17:10] [ERROR] Failed to execute goal on project wikipedia: Could not resolve dependencies for project org.wikimedia:wikipedia:apk:1.0-SNAPSHOT: Failed to collect dependencies at android:android:jar:4.4_r1: Failed to read artifact descriptor for android:android:jar:4.4_r1: Could not transfer artifact android:android:pom:4.4_r1 from/to tools-repository (https://tools.wmflabs.org/android-maven-repo/): peer not authenticated -> [Help 1] [21:17:11] blaaaah [21:17:15] mvn :P [21:18:02] brion: oooh [21:18:03] brion: wait [21:18:20] brion: mvn install -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -U [21:18:28] brion: it apparently doesn't have the ssl cert tools uses in its base [21:18:33] >_< [21:18:45] brion: I'm not sure what to do there. Make it ignore them by default? [21:18:51] awesome sauce [21:19:11] brion: but yeah, for now this should do :) [21:19:19] brion: this will help us trim down the REDADME :) [21:19:28] brion: and have continuous integration! [21:19:36] (03CR) 10Brion VIBBER: "mvn install -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -U" [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/110676 (owner: 10Yuvipanda) [21:20:42] wooo [21:20:46] one test failure as advertised [21:20:49] but the tests ran! [21:21:02] (03CR) 10Brion VIBBER: [C: 032 V: 032] "be sure to update that readme :D" [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/110676 (owner: 10Yuvipanda) [21:21:45] brion: yeah :D [21:26:15] brion: I've a file, which apparently has some code points that are outside the BMP [21:26:19] brion: how do I find out which ones they are? [21:26:37] brion: it's a rewrite of languages_list.xml, and it is causing issues [21:27:18] hmm [21:27:42] brion: nevermind, I seem to have found it [21:27:48] YuviPanda: do they need to be stored as surrogate pairs? or switch the file to utf-16? [21:27:50] brion: it's one of got, be-x-old or nn [21:27:54] sometimes java does weird shit with utf8 [21:28:06] got probbaly [21:28:18] nn is norwegian (nynorsk variant) [21:28:29] got is gothic; old runes and such [21:28:30] brion: what is got? [21:29:04] ah! [21:29:16] (03CR) 10Brion VIBBER: [C: 032 V: 032] Add Login Activity, link from Left Nav [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/110622 (owner: 10Yuvipanda) [21:31:57] (03CR) 10Brion VIBBER: [C: 032 V: 032] Normalize Site domains [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/110677 (owner: 10Yuvipanda) [21:32:26] (03PS1) 10Yuvipanda: Use hard-coded language display names when displaying language [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/110884 [21:32:41] (03PS2) 10Yuvipanda: Use hard-coded language display names when displaying language [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/110884 [21:32:45] there! [21:33:22] (03PS3) 10Yuvipanda: Use hard-coded language display names when displaying language [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/110884 [21:34:22] brion: ^ :D [21:34:25] one more patch coming up [21:34:39] [ERROR] Failed to execute goal on project wikipedia: Could not resolve dependencies for project org.wikimedia:wikipedia:apk:1.0-SNAPSHOT: The following artifacts could not be resolved: android.support:compatibility-v7-appcompat:apklib:19.0.0, android.support:compatibility-v7-appcompat:jar:19.0.0: Could not find artifact android.support:compatibility-v7-appcompat:apklib:19.0.0 in tools-repository [21:34:39] (https://tools.wmflabs.org/android-maven-repo/) -> [Help 1] [21:36:02] [WARNING] The POM for android.support:compatibility-v7-appcompat:apklib:19.0.0 is missing, no dependency information available [21:36:07] [WARNING] The POM for android.support:compatibility-v7-appcompat:jar:19.0.0 is missing, no dependency information available [21:36:32] brion: uh, hmm [21:36:48] brion: are you doing mvn install with the same -X extra options? [21:36:49] brion: and the -U? [21:36:54] yup [21:37:44] brion: can you try this? clone https://github.com/mosabua/maven-android-sdk-deployer, go to extras/compatibility-v7-appcompat in there, and run mvn install? [21:38:06] brion: and do let me know if you want me to stop bugging you so you can enjoy your sunday :) [21:39:02] eh what am i gonna do, watch football? pah :) [21:39:24] ok so *that* fails with: [21:39:29] [ERROR] Failed to execute goal on project compatibility-v7-appcompat: Could not resolve dependencies for project com.simpligility.android.sdk-deployer:compatibility-v7-appcompat:apklib:2.4.0: Failed to collect dependencies at android.support:compatibility-v4:jar:LATEST: Failed to read artifact descriptor for android.support:compatibility-v4:jar:LATEST: Failed to resolve version for android.support:compatibility-v4:jar:LATEST: Could [21:39:29] find metadata android.support:compatibility-v4/maven-metadata.xml in local (/Users/brion/.m2/repository) -> [Help 1] [21:39:36] brion: ah, hmm [21:39:44] brion: well, let me rebase that patch out of the dependency treee for now [21:39:50] brion: I'll look at it tomorrow when I'm sober [21:39:54] hehe [21:40:41] (03PS4) 10Yuvipanda: Use hard-coded language display names when displaying language [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/110884 [21:40:46] brion: there! i took two commits out of it. [21:40:48] why isn't all this shit just on the public maven servers [21:40:50] it's been out for months [21:42:01] brion: well, because google picked gradle over maven [21:42:15] brion: but gradle is still an immature not-stable-enough piece of shit [21:42:22] yay bleeding edge [21:42:51] brion: I'm still happy we aren't doing this by hand tho :) [21:43:13] haha true [21:43:54] or tracking cordova updates manually [21:44:12] brion: or anything with cordova, really [21:45:00] brion: they will have to work very, *very* hard to regain my trust after I found out that the debugging was a piece of shit because they had essentially wrapped all JS in a gigantic try { //... } catch { LOL LET US JUST FORGET THIS OK? PRINT AN OBTUSE ERROR MESSAGE INSTEAD! }; [21:45:56] haha [21:48:26] nice: http://honestandroidgames.com/ [21:49:48] brion: yeah, saw that :) quite nice! [21:50:02] they take dogecoin donations ;) [21:50:21] brion: everyone at my house except me mines doge [21:54:22] (03CR) 10Brion VIBBER: [C: 032 V: 032] Use hard-coded language display names when displaying language [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/110884 (owner: 10Yuvipanda) [21:56:44] brion: heh, need to ignore 'got' everywehre! [21:57:04] git rm got [21:57:24] brion: we should get rid of got [21:57:40] it's a nice unicode test case, i kinda like it for that ;) [21:57:53] brion: https://got.wikipedia.org/wiki/Special:%F0%90%8C%B0%F0%90%8D%86%F0%90%8D%84%F0%90%8C%BF%F0%90%8C%BC%F0%90%8C%B9%F0%90%8D%83%F0%90%8D%84%F0%90%8D%89%F0%90%8D%83%F0%90%8C%BC%F0%90%8C%B0%F0%90%8C%B9%F0%90%8C%B3%F0%90%8C%B4%F0%90%8C%B9%F0%90%8C%BD%F0%90%8C%B4%F0%90%8C%B9%F0%90%8D%83 [21:57:57] brion: heh [21:58:16] BOXES EVERYWHERE [21:58:20] SO MANY BOXES [21:58:59] brion: heh [21:59:03] brion: i don't even know when changes were made [21:59:18] clearly this needs ULS reenabled for font support [21:59:25] or i could install the font linked from the front page [21:59:28] but i like boxes ;) [22:00:04] http://www.fontspace.com/robert-pfeffer/ulfilas <- "personal use only, non-commercial" [22:00:08] * brion *tableflip* [22:00:21] (03PS1) 10Yuvipanda: Use wikiCode everywhere, in favor of langCode [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/110887 [22:00:25] brion: ^ [22:00:31] brion: haha! EMAIL WIKIMEDIA-L NOW! [22:01:37] YuviPanda: so we still need to map things like 'iw' -> 'he' if android says we're in iw locale we should load hebrew, not english [22:01:58] brion: hmm, true. I suppose I could do that as a separate patch? [22:02:04] could so [22:02:06] *do [22:02:50] (03CR) 10Brion VIBBER: "The main case we still have to map is from a locale of 'iw' to our language 'he', so Hebrew users don't get given English by default. Most" [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/110887 (owner: 10Yuvipanda) [22:03:20] brion: yeah, comment sounds accurate [22:03:47] brion: merge? :D [22:06:24] (03CR) 10Brion VIBBER: [C: 032 V: 032] "Note caveat above needs fixing along with RTL issues later." [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/110887 (owner: 10Yuvipanda) [22:06:29] \o/ [22:06:45] brion: we still need to handle the variants issue. should noodle on it next week [22:07:06] yeah [22:07:21] i'm not sure whether it's better to present them as they they were separate languages in the lists [22:07:27] or to have a second control for switching variants [22:07:32] i'm leaning towards big list [22:08:11] brion: agree [22:08:21] brion: just have tradtional chinese and simplified and ignore the rest? :P [22:08:26] brion: and only specialcase for zh [22:08:55] may as well do em all, if we have to special case for zh we can easily do for others [22:09:30] brion: yeah, true [22:13:29] brion: okay, off now! night! :) [22:13:36] night night :D [22:13:43] * brion wanders off to ignore the big game [22:14:29] brion: take up watching cricket, just to annoy the fuck outta everyone else? :D [22:14:33] brion: or play Ingress! :) [22:15:01] brion: Ingress has a large community that does not give a shit about programming at all. I oddly find that very liberating and fun :) [22:16:25] heh [22:19:35] brion: you're too quick :P [22:20:10] (was testing the fix for https://bugzilla.wikimedia.org/show_bug.cgi?id=60745 and was about to close it when I found that you'd already done so) [22:20:17] :D [22:30:24] (03PS3) 10Theopolisme: Use DISPLAYTITLE when rendering pages [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/108539 [22:31:16] (03CR) 10Theopolisme: "Here you go, I think." [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/108539 (owner: 10Theopolisme)