[06:18:24] MaxSem: thanks, i'll log it [10:23:04] Hi guys! [10:23:38] can anyone point me to where I need to go to change the baseUrl of the wikimedia app? [10:23:54] Say I want the app to display my own wiki site [12:32:19] How do I change the URL to work on my wiki page? [12:32:47] I mean where can I change the base URL [13:19:41] If anyone would be so kind to PMme on how to change the target [13:19:58] URLof the wiki media android app [13:20:11] I'd be very grateful :) [13:21:34] If you would; melik1591@gmail.com. [13:21:42] Thanks in advance:) [15:53:36] ^ I'll follow up on this [16:49:02] raynor: can you add me on the reading channel? [16:49:37] nzr you're there ;p [16:49:47] i cant [16:49:50] are you identified ? [16:49:54] it says not joined. and rejoin [16:49:58] and when i click rejoin [16:50:02] it gives an error [16:50:06] (msg NickServ identify password) [16:50:23] can you paste me the error ? [16:52:31] >#wikimedia-reading-web: Cannot join channel (+r) - you need to be identified with services [16:53:19] nzr: as it says you have to be identified with services [16:53:29] can you join #wikimedia-staff ? [16:53:34] you should get same error [16:54:15] it says you're not identified - please identify yourself with NickServ [16:54:27] then you'll be able to join [17:10:29] niedzielski: any objections to beta? [17:11:16] dbrant: none and thanks! [17:11:33] 👍 [17:23:51] who the f**k is nickserv [17:24:23] s [17:38:03] lol [17:38:06] nzr: it's a bot [17:38:32] we have to be identified with services [17:38:46] the idea is that nickserv can store a password for your account [17:39:06] you can register a nick and no one can take it [18:23:50] Hello, is there anyone here who could help me with a Wikipedia app problem? I am using the base code for another wiki app, and cannot change the URL. How is that done? Having caching problems. Thank you. [18:36:59] o/ noni: https://www.mediawiki.org/wiki/Wikimedia_Apps/Team/Wikipedia_Android_app_hacking#Working_with_Vagrant_and_the_Content_Service [18:49:12] Thanks niedzielski. Could explain how I can use this? I'm a bit new to reconfiguring open source apps. [18:59:55] * niedzielski sent a long message: niedzielski_2017-02-24_18:59:54.txt - https://matrix.org/_matrix/media/v1/download/matrix.org/VTGeaUehHunpBhFrWodNwcyM [19:00:57] noni: please also consider updating this ticket if there's features lacking: T107042 [19:00:57] T107042: Generic version of Wikipedia mobile apps that other MediaWikis could reuse - https://phabricator.wikimedia.org/T107042 [19:42:29] Thanks, we did do a grep search for all URL instances and changed them, but not sure how to change the RESTbase. I did a search for RESTBaseUriFormat, but nothing useful is coming up. Any ideas? [20:01:07] noni: after you launch the app, it's under the dev settings screen. the exact settings are RESTBaseUriFormat, useRestbase_setManually, and useRestbase. some related settings are mediaWikiBaseUri and mediaWikiBaseUriSupportsLangCode [20:01:58] You mean these settings are set in the phone itself? [20:02:10] And that changes the app code? [20:02:34] noni: they're exposed in the app. you can change them at runtime manually or change them in the code base [20:03:27] noni: i recommend changing them at runtime initially [20:04:09] Oh, I see that's why I can't find it. See other devs on our team (not working with us anymore, no way to contact them) did change the URL once. But they got rid of the Wikipedia About page. Is it not possible to do all this in the codebase? [20:05:03] Ok, you said yes to codebase. I cannot find where though. We had no trouble finding the URL, but the RESTbase. I only see String files. No URLs to change. [20:06:01] Do you happen to know the file names that need to be changed? [20:06:45] noni: the easiest way to change the urls in code would probably be to update the hardcoded values in Prefs.java: https://phabricator.wikimedia.org/diffusion/APAW/browse/master/app/src/main/java/org/wikipedia/settings/Prefs.java;257a568057e692a2c87fa792da2bf62a47ffe9ff$371 [20:07:13] noni: if you build the dev flavor, dev settings will be enabled by default [20:08:28] Not sure what a dev flavor is, sorry. Would you say all the changes need to be made in the Prefs.java? [20:11:30] Ok, I checked the WIKIPEDIA_URL and it's in the Constants file, which we already changed to our URL. :( I don't understand why that did not work. [20:12:50] noni: if you run `./gradlew assembleDevDebug` that will build the dev flavor [20:13:00] It still uses the old URL, that the previous devs changed. But even if I change something on the wiki page of that old URL, it does not refresh the page. That's why I thought there is a cache problem. [20:13:08] Ohhh, let me try. [20:13:42] noni: it sounds like you might be working on an old fork of the project. i recommend rebasing [20:14:43] Interesting. That is what my partner thought. He said we are at least 1000 commits behind with the Wikipedia app. But what does the ./gradlew assembleDevDebug do, rebuild with the new URL? Then I can run, no problem? [20:16:07] noni: `assembleDebDebug` just compiles the dev build flavor into an apk [20:16:19] Darn, I ran that in the Terminal but it is still caching the old URL. [20:16:27] (as a workaround for not have the wikipedia about screen to enable dev settings) [20:17:01] that's too bad you're so far behind. i can't really reason about the state of the fork :[ [20:17:09] Oh I see... Still strange that the app uses the old URL. [20:17:36] i recommend starting with the step 1 i mentioned originally which is to clone the latest wikipedia android app [20:17:45] Thank you so much for trying. Maybe we have to look into the rebase, like you said. Thanks again. [20:17:56] Yeah, that's a good idea. [20:20:34] noni: np, good luck! [20:21:47] Thanks! :) [23:13:44] raynor: anyone here? [23:13:46] bman [23:18:26] nzr = whats up ? [23:19:01] https://phabricator.wikimedia.org/T159009 ? [23:20:59] yep [23:21:01] raynor: [23:21:15] I can try to fix it [23:21:23] but I don't have merge permissions yet [23:21:30] probably it will have to wait till Monday anyway [23:22:56] whole weekend millions of people just looking at 10 magnifying glasses :( [23:23:03] 10 ? [23:23:06] I see like 50 ;p [23:23:29] haha [23:23:35] issue exists also on desktop version [23:23:49] nzr - how it should look like ? [23:23:50] ABorbaWMF: thanks for merging, didn't know it existed [23:23:59] my assumption - no magnify glass [23:24:02] just pure input, right ? [23:24:09] raynor: it's regression. there is a magnifying glass [23:24:11] on left [23:24:14] let me zeplin you [23:24:38] kk [23:26:16] nzr: no problem [23:28:32] ABorbaWMF: found another bug [23:28:51] ABorbaWMF: if you have Beta on in settings, that whole search bar doesn't show up. you can't search for languages [23:28:59] is that logged too? [23:34:10] raynor: ^^ [23:34:23] currently beta participants cant search languages at all [23:34:42] I have not seen that. I did a bunch of testing for another bug (switching languages) and I did that logged in with beta on. Any more details? [23:35:15] hmm, this is even more strange [23:35:25] anyway I don't have a Language search in my local instance [23:35:37] and tbh I have no idea how to set it up, I'm working on it ;/ [23:35:58] nzr: do you know how to create page in different language ? [23:36:37] i think with red links [23:37:37] Oh I see it now. How strange. I can log that [23:47:24] nzr: https://gerrit.wikimedia.org/r/339799 [23:48:00] this is currently the only thing what I can do for u [23:48:13] show that icon only on search input inside header [23:48:22] tested - looks good [23:48:35] on main page/articles page/search pages [23:48:50] I don't have interwiki (my vagrant is provisioning) so I cannot test it on my vagrant [23:49:01] also I don't have permissions to merge it nor deploy it ;/ [23:50:41] For the missing search field with Beta on - https://phabricator.wikimedia.org/T159012 [23:57:35] this issue is realted to header v2