[01:30:30] <_TWS> anyone know if there's a way to use Flow & Parsoid on a secure/private wiki? [01:33:08] just install them and they'll work.. what particular challenge is there? [01:43:30] <_TWS> apparently it doesn't like connecdting https://localhost, so I fixed that [01:43:53] <_TWS> now it's getting a 401, requiring a login to use the api [01:44:12] <_TWS> so reading up on cookie forwarding and the networkauth extension [02:43:28] <_TWS> what actually connects to parsoid? the browser or something on the backend? [02:58:23] _TWS: I'd probably say it's client side [02:58:30] but I haven't personally coded any of it [02:58:46] <_TWS> found it, it's all in the server [02:59:04] <_TWS> php calls curl to connect, then parsoid connects back to api.php [02:59:51] ok, glad you got that solved :) [02:59:53] <_TWS> I think I may re-read all the information and instructions and see if I can figure out a way to provide some clarity [03:00:31] <_TWS> seems like parsoid is a relatively new, and very fast moving target [03:23:46] <_TWS> oh wow, now that I have parsoid working, I think VE is next! That thing is pure joy to write in [06:20:49] legoktm: hey, these three patches for when you have some free time. They have been waiting for a very long time: https://gerrit.wikimedia.org/r/#/c/326317/ https://gerrit.wikimedia.org/r/#/c/328850/ https://gerrit.wikimedia.org/r/#/c/329387/ That would be great, thank you :) [06:23:19] "9 days" wat [06:33:19] Amir1, this channel is not development related, for that you have #wikimedia-dev ;) [06:34:04] soo many channels :D I join that [06:34:04] thanks [06:34:32] Add Reedy to your reviewers, he is often reviewing PHP codes, so yours will be reviewed asap :) [06:36:04] Noted down [06:36:05] thanks [06:40:11] I added him as a reviewer already. Also, if this is a GCI task, don't forget to submit your work on GCI, as this will give your reviewers/mentors a sign that they have to check it in the next 36 hours ;) [06:45:48] divadsn: I'm a mentor in GCI, I didn't do it as GCI [06:46:01] That project should be removed now [06:51:39] divadsn: please don't randomly add Reedy to patchsets without checking first, he has enough on his plate as is [07:05:50] Amir1, didn't knowed that, sorry. [07:13:46] p858snake, I'm sorry, I wasn't sure about that. [07:33:56] Hi there, I am trying to edit a page that is powered by mediawiki, but couldnt find a place to create user account [07:34:28] http://lgbtfiction.com/index.php?title=Special:UserLogin&returnto=Steve+Rogers%2FBucky+Barnes [07:34:46] Hi there, I am trying to edit a page that is powered by mediawiki, but couldnt find a place to create user account [07:35:02] i created a mediawiki user account but it is not recognized here [08:04:54] _TWS: MediaWiki server-side talks to Parsoid. Nothing client-side. [12:16:27] While upgrading mediawiki from1.15.0 to 1.28.0, after running update.php I am getting this the following error [12:16:28] Function: WikiPage::pageData [12:16:29] Error: 1054 Unknown column 'page_counter' in 'field list' (localhost) [12:16:45] Kindly help me to solve this error [13:04:48] sangi, what have you tried already? [13:05:01] I get a bunch of results for that error, using an internet search engine... [13:05:32] sangi: Did you run update.php? [14:59:30] <_TWS> anyone know of an android wiki app that can be configured to connect to a 3rd party wiki and can handle user authentication? [15:01:14] The "web browser" app? [15:07:40] <_TWS> you're funny :) [15:12:11] Haha :D What do you want exactly to achieve? [15:13:21] andre__, or the "WebView Activity self-made browser app"? ;) [15:18:46] <_TWS> there's a copule apps, one called M2WikiBrowser that will browse any wiki, but it can't do authentication. [15:21:55] <_TWS> I'm not seeing either feature in the official app [15:24:42] _TWS, what "official app"? [15:24:52] I don't know some general MediaWiki "official app". [15:25:02] <_TWS> https://play.google.com/store/apps/details?id=org.wikipedia&hl=en [15:25:12] That's not a MediaWiki app. It's the Wikipedia app. [15:25:41] <_TWS> then I'm generally confused.. aren't both part of the "Wikimedia Foundation" ? [15:25:47] https://www.mediawiki.org/wiki/Differences_between_Wikipedia,_Wikimedia,_MediaWiki,_and_wiki [15:26:46] It might be useful to describe the actual underlying problem you'd like to solve. And why you think that some "app" is a solution to the undefined problem... [15:28:42] <_TWS> Access a wiki site, any wiki site, on a 5" screen. It's not very friendly. [15:29:29] is MobileFrontend installed? [15:30:14] https://www.mediawiki.org/wiki/Extension:MobileFrontend [15:58:52] <_TWS> that's a little better I think [17:53:10] <_TWS> is there a way to prevent gallery/slideshow from small images larger? [18:06:02] _TWS, I don't understand "from small images larger". Can you rephrase? [18:07:37] <_TWS> I'm trying to put several images in a slideshow, which works awesome, but it's expanding or shrinking every image so they're the same size on the screen [18:08:12] <_TWS> I don't mind the oversize images being shrunk, but a screenshot that's originally only 350px wide being displayed at nearly 900px just doesn't look good [18:08:54] <_TWS> lemme see if I can do a sample on my user page [18:11:02] What is a "slideshow" in MediaWiki? [18:11:26] Ah, so you refer to small images being scaled to a larger size [18:13:45] <_TWS> well, shoot. if I do a gallery on the MW site, it's not resizing [18:14:01] <_TWS> must be something in the modal css snippit I'm trying [18:14:38] Ah. Found https://phabricator.wikimedia.org/T128429 [18:14:45] Wasn't aware of that feature. [18:23:50] <_TWS> the slideshow? [18:31:00] yeah [18:45:25] <_TWS> pretty cool way to do screenshots so you don't pollute a page with 'em [18:50:04] <_TWS> I'll take it! http://imgur.com/M0iaG6Q [20:27:42] <_TWS> hrrm... I'm trying to create a template with a tag in it, but it keeps converting to < and > [22:50:47] Okay before I go nuts can some explain why on this page [22:50:49] https://en.wikisource.org/wiki/Index:Simple_Sabotage_Field_Manual.djvu [22:51:12] The Clock and Purge Gadget which is EXPLICTLY enabled in Preferences doesn't load? [22:51:42] At the very least I would expect a Gadget to appear when enabled? [22:51:53] Do the Developer Tools of your web browser say anything? [22:52:43] ShakespeareFan00: works for me [22:52:58] andre__: Not that's understanable [22:53:07] Vulpix: That's not helpful... [22:53:23] ShakespeareFan00, are there JavaScript errors or not? [22:53:43] ShakespeareFan00, on which page *do* you see that gadget? Any example link where it works? [22:54:01] https://en.wikisource.org/wiki/Page:Simple_Sabotage_Field_Manual.djvu/5 [22:54:04] If I go down to a page [22:54:10] It works [22:54:16] It doesn't on Index pages [22:55:11] ShakespeareFan00: can you please tell us if there's any JavaScript error in the developer tools of your browser? [22:55:15] It's loaded from a different domain (mediawiki.org). And gadgets are disabled on Special:Preferences for security reasons. [22:55:21] That's what I know. [22:55:21] There are no JS errors. [22:55:45] andre__: Why does it work for Page: and not for Index: then? [22:56:13] as I wrote: "That's what I know." [22:56:39] The browser console is giving a lot of issues with load.php [22:56:50] and templatescript.js [22:57:22] It's going to need someone to tear apart ProofreadPage and the gadgets in preferences for EnglishWikisource to nail down exactly what went wrong [22:59:27] ShakespeareFan00: which part of the browser console? [22:59:31] what is the tab called? [22:59:38] or...which browser is this about? [22:59:41] Firefox -> Web Consle [23:00:02] It's Under Tools->Web Developer [23:00:04] okay. which tab in the web console? [23:00:09] ah, ok [23:00:26] ShakespeareFan00: which items are enabled below? [23:00:36] Net / CSS / JS / Security / Logging / Server [23:00:40] I reset all the gadgets and it works again [23:01:11] I have the Yellow and Red buttons enabled ( so JS exceptions) and (LOg warnings) [23:01:55] *and security warnings sorry [23:02:13] I am at the moment trying to determine if it's a specfic Gadget that's iffy [23:02:23] it's probably one of the gadgets [23:02:33] if there's anything printed if only "JS" is enabled, that output would be very helpful to know. [23:03:36] andre__: Pastebin? [23:03:51] I don't want to post an error log in channel... [23:03:58] whatever works for you. or https://phabricator.wikimedia.org/paste/ [23:05:33] andre__:https://phabricator.wikimedia.org/P4694 [23:05:46] I enabled all gadgets on en.wikisource.org and only get one JS error on https://en.wikisource.org/wiki/Index:Simple_Sabotage_Field_Manual.djvu [23:06:01] But as I said reseting the Gadgets cleared the fault [23:06:04] with the clock [23:06:21] impressive list :( [23:06:39] That's what's bugging me [23:06:47] so the next step would be going to https://en.wikisource.org/wiki/Index:Simple_Sabotage_Field_Manual.djvu?debug=true instead of https://en.wikisource.org/wiki/Index:Simple_Sabotage_Field_Manual.djvu [23:07:08] because the additional "debug=true" will actually make it way easier to find the corresponding file triggering any listed problems [23:08:01] Done [23:08:04] see additonal comments [23:08:08] on the original PASTE [23:08:57] I thought I was running on relatively modern browser [23:09:15] And the clocks gone again [23:09:17] :( [23:09:34] It seems to work immediatly after reseting the Gadgets, but then doesn't on reloads [23:09:42] Hmm. I cannot reproduce the JS error I saw either. I wonder if there is a race condition - something is not loaded in the right order, and the 2nd time you load it your browser still has it cached and hence the error does not appear [23:10:28] Can I leave this with you? [23:11:29] I have had simmilar issues with parts of the interface not loading in Page: namespace [23:11:32] ShakespeareFan00, https://en.wikisource.org/wiki/User:ShakespeareFan00/common.js [23:11:43] Yes? [23:11:43] ...might trigger most of the problems that I don't see? :D [23:11:50] Possibly... [23:12:30] But disabling it didn't solve the problem [23:12:51] in any case, using ?debug=true , you should be able to click the URL on the right and inspect the line where the error is triggered in the browser [23:13:24] Yes [23:13:31] But I'm not a Javascript coder [23:13:40] me neither. [23:13:57] But finding the problems is the first step, no matter who fixes them (or not). [23:15:06] And looking at the code I'm not seeing anything obvious [23:16:05] Other than == being mistyped as = in some places... [23:17:22] The only BUG as opposed to warning I get is "TypeError: mw.util.$content is null[Learn More] load.php:28:3" [23:17:43] I also saw that one. Once. But only after enabling all experimental plugins. [23:18:36] Dsiabled the experimental plugins- No clock [23:19:02] It must be something VERY specfic to Index pages [23:19:18] but I am not going to waste time trying to find something that niche [23:21:16] Particularly as it seems to be highly intermittent as to WHEN the bug triggers [23:22:13] I can reset the Gadgets [23:22:31] Add back in the ones I want., and reload, things work... [23:22:42] I reload the relevant page and it stops [23:22:56] I FAIL to see how merely reloading a page breaks it [23:24:47] Also moving away from an Index page to a different one ALSO seems to cause it stop working. [23:25:57] It seems that I have to enable the clock for each specfic INDEX (via the reset/ reinitalise) which seems ridiculous [23:29:24] andre__: The fault whatever it is seems to be intermittent or a very specific set of interactions I can't at present determine. [23:29:47] Thusly I think what should happen is that ALL the gadgets are examined, and made "safe" [23:30:01] as that's the only way to be absolutely sure [23:30:44] At the very least it would nice to have the Gadget fail consistently , which it doesn't at the moment other than not working [23:31:53] I would also strongly suggest FORCING the load order somehow