[01:11:46] hi all. i'd like to place rails on top of mediawiki, does anyone have experience with this? I've got the mediawiki vagrant image and am looking at the ruby gem but am confused [01:13:48] why would you want to do that? [01:14:10] Reedy i want to build an app that uses the mediawiki database [01:14:26] rails would essentially be a frontend that queries the mw api [01:14:28] Generally, it's best to use the MW API for 3rd party apps [01:14:46] Reedy, so would i host my own MW on server 1, and then have a rails app on server 2? [01:14:54] Upto you [01:15:00] Depends on the load, you can have them on both [01:15:10] Reedy just going to be a prototype [01:15:42] Reedy, how would you approach this? [01:15:59] I'd say if it's just a prototype you should be fine to have both on 1 server [01:17:04] IvanFon, Reedy, i'd rather not do 1 server because i'd have to deal with webserver config :( it's just the only method i thought of [06:48:53] y0 [06:49:14] thannks for the software [06:49:22] still having the same issue as all week [06:50:24] cannot get email to work on http://wiki.study even if I've rechecked gazillion million times the settings in LocalSettings.php match those for another wiki where email works just fine [06:51:13] please help [07:05:12] I think I need to file a bug report about this [07:05:16] where do I do it [07:05:48] ahh.. I c in topic https://bugs.mediawiki.org [07:06:41] though I am pretty sure this is a misconfiguration thing instead of an actual code bug [07:07:03] but since I cannot figure it out I gotta ask for help [07:09:21] Okk... [07:09:30] It has gotta be this https://www.mediawiki.org/wiki/Manual:$wgEmailAuthentication [07:12:15] if the authentication was not turned on when I regged the account then the email address is unauthenticated... or somethign like that [07:14:00] noep [07:14:03] nope [07:14:07] password reset did nothing [07:47:05] Here are the relevant LocalSettings.php sniplets for the problem that email works in one wiki and doesn't work in another wiki set up in the same manner http://apaste.info/Yo36X [07:47:29] Someone please help.. I have been looking at this for days and do not see what could be wrong [11:10:13] So... [11:11:31] THere is no help for this problem where one MW has email functionality just fine and another MW installed in same way does _not_ have email functionality (relevant snipplets of LocalSettings.php here) [11:11:40] http://apaste.info/Yo36X [11:12:09] Now I try to fix it by making the wiki that no worky use the php-pear way of mailing [11:12:38] is dirty hack but there is nothing other I can do having looked at the isssue for couple of days now [11:25:53] ok. cancel all the complainign [11:26:34] I had not confirmed either of the account's email addresses I checked the thign with [11:26:59] Now all works with the SMTP and port 587 [11:27:46] I forgot I needed to dirty clean the system some summer some years ago.. it was so flooded with shit that I just took what was not shit and put it into a new instance [12:47:18] Hi [12:47:37] hi Amit__ [12:48:37] How can I get edit count of a page since its creation ? [12:48:54] Which xml dump I need to parse ? [12:52:39] Hi Andre, hope I am asking right question on right platform .. [12:52:57] If not , please point me to correct one .. [12:57:17] Amit: api.php?format=xml&action=query&titles=Cheese&prop=revisions&rvprop=ids&rvlimit=max or something like that? [12:57:27] if you want to use the web api [12:57:33] or maybe https://en.wikipedia.org/wiki/Wikipedia:WikiProject_edit_counters has some hints [13:00:20] Thank you Adrian .. [13:00:40] there is one file on dumps.wikimedia.org [13:01:13] file name is "enwiki-20161201-stub-meta-history.xml.gz" [13:01:33] This file contains revision metadata .. [13:01:57] can i assume each revision is one edit ? [13:02:10] hello.. i am using the media wiki rest api provided by wikipedia and got stuck when trying to get the articles list in a language other than english.. I would really appreciate if someone could guide me in this matter.. thanks [13:02:38] That is no of revisions is equal to no of edits on that page ? [13:03:24] sorry? [13:03:50] my query is to Adrian [13:04:03] Andre ..sorry [13:04:42] https://en.wikipedia.org/w/api.php?format=json&action=opensearch&uselang=ja&search=%E3%81%9D%E3%81%AE. [13:10:07] hello.. i am using the media wiki rest api provided by wikipedia and got stuck when trying to get the articles list in a language other than english.. I would really appreciate if someone could guide me in this matter.. thanks [13:11:51] shubh: you're searching en.wikipedia.org. try searching the different language versions, like ja.wikipedia.org. [17:15:02] Hi. could anyone please check out https://phabricator.wikimedia.org/T152929? (WikiForum overwrites $wgCaptchaTriggers when adding a new permission) [17:15:25] What is there to "check out"? [17:18:17] It'll get looked at when someone has time -.- [17:18:36] andre__: hej! How's it going? [17:20:49] can anyone tell me how to setup irc with thuderbird [17:21:52] puridilip: Have you asked in a Thunderbird IRC channel already? [17:22:04] no [17:22:26] puridilip, then maybe you should? :) [17:22:34] okay [17:22:56] or check out https://support.mozilla.org/en-US/kb/instant-messaging-and-chat which is the first result of an internet search. [17:23:14] myrcx: Hey! Need more GCI tasks. But apart from that pretty fine :P [17:32:44] join #mediawiki-dev [17:34:16] puridilip: its actually #wikimedia-dev [17:36:03] and "/join" :) [17:36:14] ohh sorry [17:37:19] andre__: By that I mean if you have any ideas for a possible solution to this problem [17:37:37] The extension is a useful one for us [17:44:17] andre__: got the email :/ I'll take a look and see if I can get a couple more tasks up and running :) [17:46:24] heh, thanks :) [18:09:55] join #wikimedia-tech [18:27:06] hi anyone tell me who will help to set gerrit [18:28:49] !ask | puridilip [18:28:50] puridilip: Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [18:29:34] puridilip: see https://www.mediawiki.org/wiki/Gerrit/Tutorial [18:30:14] should I setup mediawiki-core or gerrit?? [18:30:48] puridilip: Do you know what the difference between them is? [18:31:09] puridilip: And what exactly happened before, that makes you ask this question? [18:32:10] puridilip: Gerrit is an infrastructure tool that we use for the development of the MediaWiki software. [18:32:17] sorry that is mediawiki git [18:32:19] puridilip, so it depends on what you want to do [18:32:39] puridilip, have you read https://www.mediawiki.org/wiki/Gerrit/Tutorial#What_is_Git.3F ? [19:35:56] I have a question, but first some quick background: After a recent major upgrade, I ultimately needed to change my Varnish 4 (previously 3) configuration to set a TTL for images since so many were getting negative TTLs and were thus being returned as uncacheable and tanking the hit ratio. [19:37:01] So now I'm setting image URLs to have a 48h TTL. However, I'm wondering if this is leading to a caching issue when new versions of images are uploaded. [19:37:40] So my question is, should I (assuming there's a way) somehow send a purge request for older versions of an image, or at least the previous one, when there's a new one available? [19:48:04] justinl: The job queue should be able to handle it, but I usually find that it is terrible at it. [19:51:17] Trela: Hey! So when there is a new version of an image uploaded, MW should automatically be creating a job that sends a purge request to $wgSquidServers, right? [19:51:23] http://ilredentore.dynv6.net regards... [20:39:03] justinl: Correct, but it may only be purging the image page and not the image. [21:05:53] Is there a way in Lua to have a child template to be aware of parameters from a parent? Like this kind of setup: {{parent|foo=bar|{{child}}}} and the child wants to know the value of parent's foo. [21:17:59] sigilbaram: yes, I believe it's frame:getParent(); [21:18:35] sigilbaram: https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#frame:getParent [21:42:21] frame:getParent() on the given frame returns the frame of the child template, while trying to call it from there returns nil. It doesn't seem like it can be used to get the parent template. [22:08:58] sigilbaram, legoktm: there's no way at all for "child" to get "parent"'s parameters there [22:09:14] (btw, that's not generally what people mean when they say parent and child templates) [22:38:31] going to close https://www.mediawiki.org/wiki/Project:Requests/User_rights/Mainframe98 soon [22:44:21] Krenair, looks like a decent wikignome? [22:53:48] !debug | ashley [22:53:48] ashley: For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [22:54:53] legoktm: https://en.wikipedia.org/wiki/Wikipedia:Don%27t_template_the_regulars [22:55:11] pfft [22:55:23] I'm aware of what a stack trace is, what log files are, how to enable them, etc. [22:55:28] I wouldn't mind depending what it is [23:49:56] ashley: don't worry, we T2001 legoktm all the time [23:49:56] T2001: Documentation is out of date, incomplete (tracking) - https://phabricator.wikimedia.org/T2001