[02:20:32] Hello! I'm looking for something that is a bit less like mediawiki and a bit more like etherpad [02:21:03] For me, the burden of thinking about a commit message and code formatting makes it a bit of a pain [02:21:32] i'd like to save snippets of various code that I've liked and used [02:21:53] you probably want a pastebin, then [02:22:32] hmm I hate the design, no code highlighting [02:23:14] are there any plugins or configuration settings that allow you to disable the commit message? [02:23:40] or an inline editor which is wysiwyg in the sense that you can just paste things into it (like evernote) ? [13:12:06] Would you have recomandation on which PHP library use for simply fetch pages within a category? I began something with Apibot, but I find it rather heavy for this task. Just trying some example of the documentation only lead me to "exchanger: Data transfer failed (One of the parameters cmtitle, cmpageid is required)" so far. [13:50:13] hi there, i have an article with 2 galleries. using the FancyBoxThumbs plugin i can cycle through these galleries in a nice way. however, if i click on gallery 1 it cycles through both galleries, is it possible to only cycle one gallery even if there are multiple on that article? and cycle each gallery on its own [13:53:23] psychoslave: Um, you can simply use the API right? https://www.mediawiki.org/wiki/API:Categorymembers [13:54:38] This will give you the list of pages and then you can do another query to fetch content of these pages. [14:31:52] hey [14:38:35] ConciseWiki: Hello. [14:52:42] Niharika: Thanks. Just new here, trying to figure out how this works :) [14:55:53] ConciseWiki: Just like a chatroom. Except most of the people you see present here are actually away with their bouncers running. [14:59:19] Niharika: This is a group chat. so, when i write it's broadcast to all? [15:00:31] Niharika: n if its true... how 1-1 conversations work once someone in the group starts chatting [15:02:17] Niharika: I mean if many people are writing msgs, your msg to me can be lost in the queue. Just wondering!! [15:09:27] . [15:23:01] ConciseWiki: Everyone can read anyone's messages and anyone can reply. If you want to have a personal chat, you can start a chat with someone from the list. But it's not the norm and a lot of people like to have 1-1 conversations in the chatroom. [15:23:32] Yup, anyone in this room can see it but as I said, most of the people here don't read it. They are away from their computers. [15:57:30] Sure, but my difficulty is more on using Apibot. [15:59:11] I'm actually now trying with "mediawiki-api". So far I was able to grab pages in the category and display content for each. [16:00:18] Now I'm trying to figure out how to only request the summary of article using https://www.mediawiki.org/wiki/Extension:TextExtracts#API [16:01:27] The problem being the the "mediawiki-api" library doesn't seems to easily let user enter custom param. [16:05:36] psychoslave: https://github.com/dereckson/Daeghrefn-Wikidata/blob/master/create_given_name#L26 [16:05:47] you're misled by a false impression libraries like pywikibot are "heavy" [16:06:19] ? [16:06:57] psychoslave: you asked sooner this day or the day before for a light Python library to interact with MediaWiki. [16:07:15] The link shows a sample of a CLI command using pywikibot [16:07:37] oh, ok thank you [16:08:46] Right now I want to advance on the php implementation, but I'll look at that later. :) [16:09:34] Niharika: is that concisewiki an extension for mediawiki? [16:13:20] fred2k: it was the irc nick of someone in the channel [16:13:35] they seem to have parted now [16:16:50] bd808: lol, sorry :P [16:17:47] anyhow, i am using 1.27, is there any extension that says "this page was accessed 200 times" ? i looked at that HitCounters and it says it cant be installed on 1.26 or above [16:21:12] hmmm... I think that page may be poorly worded. HitCounters is for MW 1.25+ because the functionality was removed from MediaWiki core. [16:21:53] I think the warning is about update.php removing the table -- https://phabricator.wikimedia.org/T120216 [16:23:30] yeah, thats true, i am kinda new to mediawiki [16:23:39] fred2k: I think if you are using a new 1.27 install that it will work fine [16:23:39] activated it, works without problems [16:23:50] yes it does, thanks again [16:24:00] the bug that exists is with wikis that are being upgraded from an older version [16:24:16] yep [16:53:54] So, I wrote that [16:53:57] https://paste.gnome.org/pcgbt2wgb [16:54:15] how do I exploit $query_result ? [16:54:51] I tried to guess through a var_dump, and looking at the apibot documentation, but it didn't help so far [17:09:42] psychoslave: I imagine what you got back is a JSON. You'll need to parse it. Can you paste a var_dump of the object? [17:11:25] https://paste.gnome.org/po7ijycrt [17:12:15] To me it looks like it doesn't returned anything, but I have no clue why [17:12:30] eum, may i ask my question again? [17:12:31] that is $query_result->data is null [17:14:03] I can't make a lot of sense of that data. :| [17:15:59] psychoslave: You might want to look up some examples. [17:35:09] i have an article with 2 galleries. using the FancyBoxThumbs plugin i can cycle through these galleries in a nice way. however, if i click on gallery 1 it cycles through both galleries, is it possible to only cycle one gallery even if there are multiple on that article? and cycle each gallery on its own [19:13:35] Niharika: well, apart from http://apibot.zavinagi.org/index.php/Bridge_examples#Move_pages_from_a_category_to_another_one if you have other examples, I would be interested :)