[05:21:41] harej: Are you familiar with callbacks in JSON requests/responses? [05:25:35] https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces&format=jsonfm&callback=harej [05:25:44] My guess is that OAuth is similarish? [05:44:35] Leah: OAuth is sort of similar to jsonp callbacks. There's a decent diagram of how it works here -- https://developer.yahoo.com/oauth/guide/oauth-auth-flow.html [05:45:32] basically the app gets a "token" from the server and then has the user take the token back to the server to get it signed and bring it back to the app [05:45:46] after that the app can talk to the server on behalf of the user [05:48:48] bd808: so if I wanted to have a customized callback, different from the one on file in OAuth consumer registration, would it be like a get parameter? [05:49:55] The main thing is that I would want to add to the URL. So if the main URL is /requests, I want to customize the callback URL to add a language code, like /en or /de or something. [06:00:02] harej: yeah, the callback is under the app's control (if you ask for that in the registration) [06:00:32] So when you give the token to the browser to get it signed you can add the url you want them to come back to [06:01:14] &callback=https://whatever.com ? [06:12:38] harej: you need to define a callback prefix when you submit the consumer for review [06:26:23] tgr: yes, but I can then append to that, correct? [06:30:58] The base callback will probably be wpx.wmflabs.org/requests/callback. But I want to add /en /fr etc. [06:34:06] harej: yes, that's the idea [06:34:38] And then the parameter is just &callback=otherthing [13:52:43] morning [14:26:52] Morning, Auger. [14:43:01] https://www.irccloud.com/pastebin/U1sekuff [14:47:24] While setting up vagrant i got the following error:The following SSH command responded with a non-zero exit status.Vagrant assumes that this means the command failed! [14:47:24] chown `id -u vagrant`:`id -g www-data` /vagrant.Any solution to it? [15:33:43] Hello, Can anyone tell me why external links don't work in the sidebar with vector theme on latest mediawiki (1.26.2) [15:46:28] And my Common.css doesn't seem to work either [16:03:50] cscott: poke? [17:08:57] jsl4: peek [17:16:26] So I've got a head scratcher, I need to feed a jquery path to a Mediawiki:Common.css value so it fetches the font from the correct place. How do I do dis [17:17:26] Doesn't even need to be jquery, just can't hard code the path in because that gives the people I'm giving the site to a case of the vapors [17:28:58] Well, seemed like a legitimate question but evidently root-relative is just a naughty no-no when it comes to windows environments [18:09:07] Looking to implement document control on a wiki to satisfy ISO 9001 approval requirements. Do you guys recommend an extension? [18:38:25] bd808: sayli is facing a few problems installing vagrant. She posted this a few hours ago: https://www.irccloud.com/pastebin/U1sekuff [18:40:31] Niharika: try running the command, see what the error is? [18:40:46] sayli: ^ [19:09:59] It didn't work.. There's some permission issue I guess [19:31:08] I am currently seeing hacking attempts against one wiki, which I administer. [19:31:16] They produce the following warnings in the logs: [19:31:55] PHP Warning: XMLReader::open(): data:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /www/wiki/includes/media/XMP.php on line 540 [19:32:28] PHP Warning: XMLReader::open(data://text/plain,%3C%3Fxpacket+begin%3D%22%EF%BB%BF%22+id%3D%22W5M0MpCehiHzreSzNTczkc9d%22%3F%3E+%3Cx%3Axmpmeta+xmlns%3Ax%3D%22adobe%3Ans%3Ameta%2F%22+x%3Axmptk%3D%22Adobe+XMP+Core+5.0-c060+61.134777%2C+2010%2F02%2F12-17%3A32%3A00++++++++%22%3E+%3Crdf%3ARDF+xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%3E+%3Crdf%3ADescription+rdf%3Aabout%3D%22%22+xmlns%3AxmpMM%3D%22http [19:32:46] PHP Warning: XMLReader::open(): Unable to open source data in /www/wiki/includes/media/XMP.php on line 540 [19:35:22] Are these attacks something I should be worried about? [19:37:29] why do you think they're hacking attempts? [19:38:43] MatmaRex: They are only part of a whole picture. Including spamming stuff, attempts to insert malicious code into pages and much more. [19:39:18] I have reduced user rights, set up anti-spam measures and so on, but I still get these warnings [19:40:17] I don't understand the directions for this: https://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_add.2Fremove_tabs_throughout_my_wiki.3F It defines the contents of AR-Tabs.php twice? [19:40:28] Joergi: check the URL that's causing those warnings, to see if it's a result of an edit, a simple page view or a hacking attempt [19:41:02] Bah, I'm blind, different versions. [19:44:27] Vulpix: It is part of an attempt to upload a file: [19:44:33] POST /Special:Upload HTTP/1.1" 200 9455 "https://www.example.com/Special:Upload" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0" [19:44:44] And then the next request is: [19:45:13] GET /Special:UploadStash/thumb/13ss1d4jaook.meh0zm.9659./120px-13ss1d4jaook.meh0zm.9659..jpeg HTTP/1.1" 200 5947 "https://www.example.com/Special:Upload" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0" [20:06:07] sayli: the chown error in your paste is a new one for me. Running `PUPPET_DEBUG=1 vagrant provision | tee provision.log` and pasting the (long) output may help us figure out what is going wrong. (cc Niharika) [20:07:00] One possible thing to rule out would be NFS issues. You can disable NFS with `vagrant config nfs_shares off && vagrant reload` [20:14:14] Vulpix: Any ideas? [20:14:56] Joergi: it shouldn't be a problem, XMP seems to be metadata present in some JPG, PNG, etc images and presented by MediaWiki in the "metadata" section [20:20:55] close to done, you want round support or supportless? [20:21:37] Vulpix, this data can be displayed on the Special:UploadStash page. [20:22:07] This will be the case, if you ivsit that page before uploading a file finished. [20:22:49] I guess these files will contain content, which is somehow malicious... [20:23:04] never mind, needs to be supportless. here we go. [20:23:54] http://burningsmell.org/3d/kossack/kossack-all625-chamfer.stl [20:26:42] blah... Very wrong channel. [20:45:23] Working on getting a wiki running 1.14.1 migrated over to a new server. Have the DB imported and permissions set, images and extensions moved over but still getting the blank default wiki. am i missing a step? [20:45:45] both the existing server and the new install of mediawiki are 1.14.1 [20:49:26] burton230: what do you mean by "blank default wiki"? It's empty (no pages in Special:AllPages)? A blank (white) page? A page without styles applied? [20:49:42] the default page you get after a new install [20:50:22] empty [20:52:25] burton230: when files and database was moved, did you just copied and edited LocalSettings.php to point to the new location of the database, etc or just started your wiki without a LocalSettings.php? [20:53:51] I built up a net new server. Started the wiki without a localsettings.php and went through the config steps. Once everything was done i moved over my files and restored my DB [20:54:12] wroooong approach [20:55:01] Figured. I inherited a 1.6.1 environment and have zero experiance with this. Learning as i go [20:55:02] I guess you restored your old DB over a new name, different from the one you setup for your LocalSettings.php [20:55:08] different db name/table prefix? [20:55:23] yeah, or table prefix [20:55:37] i restored over the db that was created during the initial install [20:56:40] you don't need to make a new install for restoring a backup on top of that. Just restore your old LocalSettings.php [20:57:25] burton230: https://www.mediawiki.org/wiki/Manual:Moving_a_wiki [22:19:30] Are there any known bugs with moving pages in MW 1.26? (Repost because my bouncer disconnected.) [22:21:45] Alexia: more context? [22:22:18] legoktm: /index.php?title=Special:MovePage&action=submit MWException from line 99 of includes/deferred/LinksUpdate.php: The Title object did not provide an article ID. Perhaps the page doesn't exist? [22:22:46] The var_dump() of the $title object in LinksUpdate contains the destination page name and 0 for the article ID. [22:23:17] <-- Didn't notice I had the wrong name on. [22:25:27] Trela: does that happen with all page moves? or just one? I haven't heard that error be reported yet... [22:25:59] Only for certain pages. My/Our current theory here is it has to do with moves including subpages. [22:26:28] Trying to create a reliable test for it at the moment.