[02:20:37] hello [02:22:27] anyone familiar with wpUltimateParam I think it broke my tools. Ive been getting reports of issues [02:23:00] how can i become admin [07:47:35] hello [07:48:03] does anyone know if media wiki (and semantic wiki) still has webservice extensions? [08:08:03] Hello. I want to force new users to register while they are making their first edit otherwise their edit wont be saved. What is the best way to do it? Is it possible to register while being in edit mode? I want the minimum amount of clicks from a user. [08:23:58] gleki: Well you could restrict editing using $wgGroupPermissions [08:25:49] When you set $wgGroupPermissions['*']['edit'] = false; and say an IP editor tries to modify your wiki page, it'll throw up a warning saying "you don't have permission to do this" and you can modify that warning to point them to [[Special:UserLogin/signup]] [08:27:54] Alternatively you can have them try to submit the page but not have it go through, and intercept the submission with a hook or event handler linked to EditPage::attemptSave() then perhaps do some complicated URL redirection to [[Special:UserLogin/signup]] while preventing the submission from going through [08:29:31] Withoutaname: the point is that i dont want to lose what they entered into the edit field. [08:31:03] so you want them to hit save, ask them to sign up, and when they do, take them back to the editbox so they can continue where they left off? that's pretty difficult [08:31:56] Withoutaname: Some systems like Weebly require to enter your address, password and captcha during posting. [08:34:30] it might not be possible because of the edit token, which might be different when you're logged in vs when you're logged out [08:37:01] if you've ever tried to edit a page, then log yourself out in a different tab, and submit the changes, it'll say your session has been lost [08:37:28] hello, I'm using wiki api to retrieve a page https://de.wikipedia.org/w/api.php?format=xml&action=parse&prop=text&page=Burg_Gleiberg the problem is that URLs are relative (eg. /wiki/Datei:Burg.Gleiberg.06.JPG) and there is no CSS for the classes used (eg. class="image"). Is it possible to I) ask for absolute URLs and II) download CSS content as well? [08:39:14] !e [08:39:14] https://www.mediawiki.org/wiki/Extension:$wiki_encoded_* [08:40:56] ? [08:55:24] hello, any mediawiki savys here? [08:56:11] is it possible to set group priorities, so that for example sysops cannot change the permissions of bureaucrats? [08:56:24] not just wgaddgroup or removegroup [08:56:37] but permissions for a certain group [08:57:38] hi, i am having issues retrieving edit token [08:58:01] here are the details of the problem when communicating to the api http://pastebin.com/tf0K660e [08:58:46] apparently I am able to login, and receive the edit token, but can edit the page [08:58:53] but cant edit [08:58:56] the page [08:59:13] and receive bad token when i send the edit token back to the server [08:59:41] any idea how to fix this? [09:00:57] arnab: i guess no ones online [09:01:11] arnab: or no one that knows [09:01:25] guest100 == yeah i gues so [09:02:20] you could come back later, but in the end you're probably going to have to figure it out yourself [09:02:59] no one gets paid for answering questions here - they made that pretty bold, when i previously visited :D [09:04:28] guest100 : lets see. ben searching for quite a while now. finaly came here. [09:18:15] can anyone help here http://pastebin.com/tf0K660e [09:24:16] brion should make up his damn mind [10:26:13] Shukran, Shukran FLGOSS devels [10:26:23] I've a problem with a Debian6-box [10:26:41] the apache2:s keep on multiplying till they've sucked up all the memory [10:27:19] static pages are somewhat served but http://pingdom.com and http://uptimerobot.com are on like the 100th incident report coz the MW keeps on going down [10:27:59] I've a spare Debian7 server I could migrate to but don't feel like getting my hands dirty and doing it [10:28:40] I didn't touch any config for the apache2s keep on multiplying from 'sudo apachectl start' [10:28:46] pls halp [10:28:51] I no texy person [10:29:34] It may be a problem with the apache and not MW [10:29:54] in which case the rational thing to do would be to tell me to take it to #apache [10:30:02] Hiya brion. Long time. [10:30:49] now starting Kubuntu14.04 in VirtualBox [10:34:25] I want to copy a .tar.gz that contains the logs and the /etc and the MySQL-dumps and the folder that contains the .html and .php and whathaveyou.. [10:34:52] thats.. *counting* ... 4 things [10:34:58] hell.. [10:35:40] I take what ? /var /etc /sites and /home/username [10:36:14] I don't even recall what /var contains.. if it's not /var/logs [10:37:16] the logs are next to the sites public contents in the directory tree [10:37:25] I thought that convenient solution at time.. [13:24:59] Hello... [13:30:57] I have a tag extension that is returning the results of $parser->recursiveTagParse($wikitext) and I noticed today that the results don't include the tooltips that the Lingo extension is providing on other pages. Should I be using something else to return wikitext? [14:12:34] hi. is it possible to have images in the sidebar? [15:48:52] manybubbles: hi, do you have a moment to clarify the thing you said about Auckland being halfway around the world? do you mean that it's simply too far for you to travel right now? [15:49:21] sumanah: oh sorry! Yeah, its really super duper far for me to travel but I'd so love to go. [15:49:30] also, I just got back from Germany a couple of weeks ago [15:49:52] and, I know, half way around the world from me is actaully south of india in the ocean [15:50:02] but auckland is still like 20 hours of flying [15:50:02] manybubbles: nod nod nod. oh I did not mean to be pedantic about that particular point [15:50:14] sumanah: I figured:) [15:50:24] I was pretty sure that you were saying "too far away logistically" but also wanted to check whether I was missing something [15:50:26] I'm actually talking at the south east linux fest this friday [15:50:32] ooooh! about what? [15:50:49] sumanah: elasticsearch and how we use it. Elasticsearch is buzzwordy enough to get me into places. [15:51:08] YES [15:51:15] yeah, too far to fly. SELF is a couple hours away on the train and my family can catch up to me [15:51:56] Rock. It was neat to speak in Raleigh in March partly because I could get there and back on the train [15:52:20] sumanah: I didn't realize you were here! the train to new york is kinda far [15:52:44] manybubbles: I'm sorry - it was a packed enough schedule that I didn't see basically any of my colleagues nearby :( [15:52:55] I understand! [15:54:01] http://2014.javazone.no/ - so I just heard last weekend that JavaZone in Oslo is (1) not really that Java-specific and (2) takes their speakers on trips into the Arctic Circle [15:54:25] sumanah: oh! much more fun [15:57:29] manybubbles: btw are there any Requests for Comment that you're currently waiting on? https://www.mediawiki.org/wiki/Requests_for_comment [15:58:07] sumanah: not at present. If I should be reading some, well, then I'm being lazy now [15:58:34] manybubbles: hmm, lemme see whether there are any I really want to bring to your attention [15:58:42] I think the SoA ones are probably in your arena [15:59:01] sumanah: yeah, I'll go open a tab and leave it there for later [16:00:52] ok, manybubbles here are the ones that I think you should at least skim, because I think half of these you want to be aware of, but I don't know which half [16:00:56] https://www.mediawiki.org/wiki/Requests_for_comment/Debugging_at_production_server [16:01:06] https://www.mediawiki.org/wiki/Requests_for_comment/Performance_standards_for_new_features [16:01:11] https://www.mediawiki.org/wiki/Requests_for_comment/Retained_account_data_self-discovery [16:01:16] https://www.mediawiki.org/wiki/Requests_for_comment/Partial_page_caching [16:01:20] https://www.mediawiki.org/wiki/Requests_for_comment/Regex-based_blacklist [16:01:31] https://www.mediawiki.org/wiki/Requests_for_comment/HTML_templating_library - you've seen us talking about this on wikitech-l [16:01:35] https://www.mediawiki.org/wiki/Requests_for_comment/Content_API [16:01:38] https://www.mediawiki.org/wiki/Requests_for_comment/Services_and_narrow_interfaces [16:01:41] https://www.mediawiki.org/wiki/Requests_for_comment/Third-party_components [16:02:26] sumanah: I'll read over Change LESS compilation library and SOA Authentication and Debugging at production server when I can too [16:02:39] lots of reading - I should find a nice nook for it later [16:02:54] :) thanks manybubbles - again, I don't mean to tell you READ ALL OF THESE LETTER BY LETTER. [16:07:32] thanks for the reading list though:) [16:09:32] :) [16:28:27] Hey all. Major noob here. I'm having trouble grasping using ParserFunctions to create more dynamic templates. Would someone be able to help me with that here? [16:29:22] what kind of dynamic exactly are you looking for? [16:30:10] like, what do you want to do? [16:30:21] I work for an IT support group. I'm just wanting a way to make it easy for my co-workers to create a nice table for listing company server names, roles, and IP's in respective columns [16:30:50] So they could use {{Servers}} with like | Server1 | name|role|ip [16:30:55] As params [16:31:57] one basic way is having something like {{Servertable}} with no params and the table header info [16:32:16] and {{Server|param|param|param}} for each line [16:33:30] or {{Server|name=|role=|ip=}} if you prefer [16:34:01] That is essentially what I have I bleieve. I have the template for the table, and then |-{{#if: {{{Server1}}} | {{Server1|{{{server1name}}}|{{{server1role}}} | {{{server1ip}}}| }} | {{blank}} }} [16:34:09] For each line [16:35:06] slightly different, since you've got it all in one template [16:35:33] {{Server1}} is it's own template [16:35:35] and my suggestion was having a copy of the server line template for each line [16:35:47] okay, subtemplates [16:36:20] hm [16:37:57] I don't know if that's the best method or not. I just went with what I used for my infobox [16:38:43] I got the above to work for Server1, but when I put Server2 on a line, it just uses the info from Server1 [16:38:59] hang on, pastebinning something [16:40:37] theding0: If you set it up to be callable like http://pastebin.com/675RJwuj [16:40:47] you'll need a much simpler template [16:41:39] {{Servers}} has header info, each {{Server| stuff}} produces one line [16:41:58] {{Endservers}} is just |} [16:42:25] hmm ok. Will they need to type name= or can they just put the value? [16:42:53] The people I work with are frustrating as hell in that they want as little formatting on their part as possible [16:43:10] Formatting/syntax* [16:43:11] you can have it as just the value, but have to have the variable called in the template {{{1}}} {{{2}}} [16:43:34] and it'd mean, for example, if you have a line with name and ip but no role [16:43:59] it would put the ip under role [16:44:00] they need to do {{Server|||}} [16:44:18] they need to make a blank value for {{{2|}}} [16:44:53] yea, exactly [16:46:00] number variables are faster to type and look neater, name variables avoid that issue and are probably easier for non-technical users to figure out [16:47:01] also you can do a redirect from Template:s to Template:Server, so {{s|stuff}} works [16:47:06] cut down formatting a bit [16:49:27] does anyone know the extneison that wikia uses to lightbox/modal image thumbnails upon click, instead of going to File: URL? [16:50:02] not sure what you mean by redirecting from Template:s [16:54:02] Also, would it be possible to change the line background color using this method? Or would I have to make a seperate template for each background color? [16:54:06] Morbus: MultimediaViewer [16:54:19] No no [16:54:25] Morbus: Wikia uses something else [16:54:27] Sec [16:54:32] theding0 if you make the line template at Template:Server, you can make it usable with {{s}} by creating page Template:S with content #REDIRECT [[Template:Server]] [16:54:39] Oh, [16:54:40] wikia [16:54:42] pfft [16:54:46] Who cares about tem [16:54:54] heh, heh. [16:55:13] theding0 change it based on what? alternating? name? having a param for color? [16:55:18] Reedy: i've multi-media heavy pages, and would like an inline bigger-than-gallery viewer that doesn't require full page loads to File: ;) [16:55:30] all of those are possible [16:55:31] Just alternating to make it a little more readable/nicer looking [16:55:54] Reedy: if you know of one, i'm all ears. i confess to not investigating non-Wikia options fully as, conceptually, Wikia's approach was what I wanted... [16:55:58] Morbus: https://github.com/Wikia/app/tree/dev/extensions/wikia/Lightbox [16:56:18] alternating is probably trickiest, the way 'd use is probably hacky and bad [16:56:44] eh [16:57:43] marktraceur: looking, thanks. [17:00:27] you could do it with https://www.mediawiki.org/wiki/Extension:Autoincrement [17:00:47] and an expr checking remainder of dividing it by two [17:00:51] but as i say [17:00:56] probably hacky and bad [17:13:58] hi. is it possible to have images in the sidebar? [17:40:03] ete: ok so that system will work well, however, the {{Servers}} template is including the ToC in the actual table.. [17:40:54] i.. have no idea why that would be happening. link me? [17:41:13] it's not web facing [17:41:21] you could also add __NOTOC__ if you don't want a toc at all? [17:41:49] pastebin the wikicode from the relevant pages and link to that? [17:41:57] will do [17:45:33] bawolff: hi [17:45:46] Hi [17:45:59] http://pastebin.com/WdQZcmg1 So that is all from my sandbox. Includes the working template and the table I'm trying to recreate as a template [17:46:16] MaxSem: around? [17:46:26] yep [17:46:56] MaxSem: https://gerrit.wikimedia.org/r/#/c/131224/ makes generators not work for things that aren't queries [17:46:57] (like purge) [17:47:47] eek [17:48:27] jackmcbarn, thanks - can you file a bug, please? [17:48:33] MaxSem: sure [17:48:38] I don't have time to fix this right now... [17:48:40] theding0 code on the template page? [17:50:50] ete: http://pastebin.com/xau7KtmY [17:53:08] theding0 I don't see straight off what the issue is, and without being able to see what's going wrong firsthand it's hard to help [17:55:16] Would a screenie help? [18:02:40] theending0 maybe, try it [18:03:57] bawolff: I am trying to get a DB schema change merged, is it required to first make it compatible with all Databases? [18:04:40] Mysql and sqlite are the hard requirements [18:05:12] other dbs are often left to their maintainers [18:05:37] https://imgur.com/7aqxLtt [18:05:43] make sure you add springle as a reviewer to all schema changes [18:19:22] theding0 oh, i see, put __TOC__ outside the table to place the TOC elsewhere [18:19:50] ete Thanks! [18:20:29] alternate soluton: bold the Servers text with ''' not h3 [18:20:34] should work i think? [19:06:46] plop [19:47:13] Hmm, given the new terms of use we need a renewed effort on global user pages I guess [19:48:16] how do I get template documentation to work on a mediawiki [19:48:30] jeffo: define "work" [19:48:54] Which reminds me, do the disclose-if-you-are-paid apply to mediawiki, because if so, that really doesn't make sense [19:48:58] oh, near as i can tell there's some templates i need to define to get the documentation to be included right [19:49:25] bawolff: it does [19:49:29] so on a page, template:example in wikipedia you just go {{doc}} and edit /doc and thats it [19:49:40] Yeah, I think we should follow commons lead here [19:49:50] but i guess i need to define those templates in a previously empty mediawiki [19:49:50] bawolff: people are already adding disclaimers https://www.mediawiki.org/?diff=next&oldid=830537 [19:49:55] bawolff: does make sense, I guess. [19:49:57] i can't find instructions on what to define [19:50:24] Nemo_bis: Well in theory people were supposed to be doing that before [19:50:42] bawolff: sure but now they're criminals in USA if they don't :) [19:51:20] My host installed PHP 5.5.13 parallel (5.3 peviously) and now MWs setup routine doesn't find MySQL (5.5.37-0ubuntu0.12.04.1 | 5.5.22-0ubuntu1). How can that be? Do I need to upgrade mysql? [19:51:30] jeffo: just import the {{doc}} or {{man}} template from any wiki then? it's just an #ifexist [19:51:41] is it possible to have a special page that outputs just a snippet of HTML, without invoking the skin (or is there a better way to do this with something other than a special page?) [19:51:58] jeffo: or just put docs on the template page between noinclude, there is no need to do more [19:52:06] Subfader: it doesn't find the database, or the mysql drivers? [19:52:10] i.e., can i make an empty OutputPage object, or output to the browser without using OutputPage? [19:52:27] btw I'm trying to install MW 1.16.5 (as parallel test setup for my current installation which I plan to upgrade) [19:52:37] firebus: so you mean, blanker than special:blankpage? [19:52:56] firebus: try the disable method of OutputPage. e.g. From a special page $this->getOutput()->disable(); and then just echo your html [19:53:07] for some reason my wiki doesn't seem to interpret the template right [19:53:19] Vulpix: the driver. only SQLite is offered [19:53:24] jeffo: do you have subpages enabled in template namespace [19:53:28] Nemo_bis: yes, blanker than that. no header, no footer, etc. [19:53:30] !subpage | jeffo [19:53:30] jeffo: By default some namespaces have subpages enabled and others don't. You can enable or disable them using $wgNamespacesWithSubpages in LocalSettings.php. http://www.mediawiki.org/wiki/Manual:$wgNamespacesWithSubpages [19:53:45] bawolff: awesome! i will try that.. [19:54:03] firebus: If you want that sort of output for a non-special page, you can also try ?action=render [19:54:07] Subfader: http://www.php.net//manual/es/mysqli.installation.php [19:54:17] i copy/pasted the source of template:documentation to template:documentation on my wiki [19:54:24] on Wikipedia i get a beautiful page [19:54:28] on mine i get [19:54:29] Template:Doc [19:54:29] {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}} [19:54:30] Subfader: eh, override that "es" language ;) www.php.net/manual/mysqli.installation.php [19:54:41] jeffo: For that, you need scribunto [19:54:46] !scribunto | jeffo [19:54:46] There is no such key, you probably want to try: !lua, !wptemplates, [19:54:55] !lua | jeffo [19:54:55] jeffo: Scribunto is a new extension that makes it easier to write repeatable code in Lua, rather than in complex wikitext templates. See http://www.mediawiki.org/wiki/Lua_scripting and http://www.mediawiki.org/wiki/Extension:Scribunto for more information. [19:55:02] ah [19:55:12] ok i will install that, sec [19:55:14] damn, the host needs to compile PHP again with mysqli? [19:55:36] subfader: more like enable the mysqli extension [19:56:48] Subfader: they probably installed PHP from a distribution package. They only need to install php-mysqli, no need to recompile :P [19:57:14] !scribunto alias lua [19:57:15] Created new alias for this key [19:58:23] Subfader: MW 1.16 doesn [19:58:34] Subfader: MW 1.16 doesn't support mysqli, you need mysql [19:58:45] newer mediawiki supports both [20:02:45] ok [20:02:50] i have scribunto loaded [20:02:56] now im getting a script error [20:03:05] what else do i need to import to get template:documentation working [20:03:35] oh [20:03:36] wait [20:03:37] sec [20:04:18] ok its still jacked [20:05:08] If i want to display html snippets on a page, would I need a custom template to emulate and maintain line breaks? [20:07:12] screw it [20:07:19] i dont need this to work i guess [20:07:30] pre seems to do what i want, but it overflows the right [20:08:29] bawolff: I asked at https://meta.wikimedia.org/wiki/Talk:Terms_of_use#Global_user_pages [20:09:54] same for the 1.23.0 test installation. the host screwed a lot. thanks for the info! [20:10:32] interwiki transclusion [20:12:30] Nemo_bis: Well I updated my commons user page - I have no intention of touching my other 200 user pages... [20:14:19] bawolff: criminal [20:15:21] * Nemo_bis reports bawolff to Carmen Ortiz [20:15:34] !geshi | voronika [20:15:34] voronika: There are several extensions for syntax highlighting, see http://www.mediawiki.org/wiki/Category:Syntax_highlighting - the most popular one is at http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi [20:16:33] On a serious note, I'm paid to make commits to mediawiki, so arguably I don't need to declare anything on my user page, as I'm not being paid to do anything to any wiki ever [21:27:26] Hello? [21:27:32] Hi jar__ [21:28:15] Is this a place where I can ask questions about mediawiki stuff? [21:28:31] yes!~ [21:28:35] yes, please go ahead jar__ [21:29:18] I am wondering how to get a content filter so I can filter incoming inappropriate content to my mediawiki [21:29:30] Im just not sure how to go about that [21:29:48] jar__: "inappropriate content" - like spam and vandalism? or something else? [21:30:33] Any kind of inappropriate uploads that users may add like images or profanity or things like that. [21:31:19] jar__: Whom will you trust to run the content filter and approve or remove things? just you? [21:31:29] !access [21:31:29] For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [21:31:33] !cms [21:31:33] Wikis are designed for openness, to be readable and editable by all. If you want a forum, a blog, a web authoring toolkit or corporate content management system, perhaps don't use wiki software. There is a nice overview of free tools available at including the possibility to try each system. For ways to restrict access in MediaWiki, see !access. [21:32:08] For now it is just me. Well looking at wikipedia many people edit that and I want this particular wiki to be editable by all, but I just want it to be family friendly. [21:32:35] jar__: you probably want FlaggedRevs [21:32:36] !e FlaggedRevs [21:32:36] https://www.mediawiki.org/wiki/Extension:FlaggedRevs [21:32:40] !flaggedrevs [21:32:40] The Flagged Revisions extension allows for Editor and Reviewer users to rate revisions of articles and set those revisions as the default revision to show upon normal page view. https://www.mediawiki.org/wiki/Extension:FlaggedRevs [21:33:46] jar__: yeah, if you're okay with being the person who approves the edits before they go live, FlaggedRevs is a strong option for you [21:34:24] Wow that sounds perfect! So this will force all revisions to be approved by me before they are viewable by everyone else? [21:34:38] Take a look at the page :) [21:35:13] (note that, if your wiki gets popular, you may get annoyed at the workload of reviewing each edit.) [21:36:07] Okay. Are there any automatic options that would automatically filter anything pornographic or profane? [21:37:52] jar__: there's no automatic way to detect profanity in photos that I'm aware of :P [21:38:42] Vulpix: There are actually people who work on computer vision systems to automatically detect naked people in images [21:38:51] jar__: yeah, not sure whether you realize that the thing you're trying to do is so hard that even companies with a zillion engineers have a hard time with it [21:39:08] but yeah, that's more state of the art computer science research [21:39:16] Okay! This has been very helpful! Thank you everyone! I will look into FlaggedRevs. Haha I was just checking to make sure! [21:39:36] jar__: There is a spam blacklist feature which can be used to block common swear words [21:39:38] bawolff: I guess it's still not ready for use in MediaWiki servers :P [21:39:51] usually doing something like that is more annoying then helpful though [21:40:09] for texts, AbuseFilter is good enought [21:57:30] how do I make it so that a user can pass an argument to index.php when accessing a special page [21:58:04] e.g. Special:Userrights has both Special:UserRights/username and Special:UserRights?user=username [21:58:37] Withoutaname: I'm not sure what you mean by user passing arguments [21:58:54] Do you want to know how to make a special page that can read ?foo=bar arguments? [21:59:06] yes [21:59:14] in the url [21:59:33] i should have specified that [21:59:50] Well from inside the special page, you do $this->getRequest()->getValue( 'name' ); [22:00:55] And for "subpage" arguments, its the first parameter passed to the execute method (often named $par) [22:01:04] * bawolff not sure if I'm understanding your question right [22:03:13] well I'm trying to do it like Special:UserRights does it, display additional information about the user's groups if the username is part of the subpage or part of the user= parameter in the url [22:04:47] See line 90 of includes/specials/SpecialUserrights.php [22:05:24] you can do something like $targetUser = $this->getRequest()->getValue( 'user', $par ); (where $par is first argument to execute method) [22:37:55] MatmaRex: hey, are there any times this week that are particularly bad for you to talk about your skin work & changesets in an IRC meeting? [22:51:21] has anyone worked with Python generators? [22:52:32] fhocutt: I sort of have [22:52:58] if you have a basic question about how to make one or invoke one or why one would do that, I can answer it [22:53:04] mwclient uses them heavily and I'm fairly confused about how that works [22:53:15] the basics of why one would do that would be helpful. [22:53:27] fhocutt: http://www.harihareswara.net/sumana/2013/11/06/0 - I will now copy and paste [22:53:41] you might want to use generators if you want to get an infinite series of values (e.g., all the even numbers up to infinity). [22:53:46] Or if you're crunching numbers and it takes hella resources to do this particular part of the crunching on THE WHOLE DATASET ALL AT ONCE, with generators you can just crunch one input at a time and yield it up, then move to the next input in the sequence seamlessly when needed. [22:53:51] You can speed up bottlenecks in your assembly line by doing particular computations in a just-in-time way. [22:54:20] sumanah: this and next wednesday are mostly impossible, but apart from that most days should be fine [22:54:49] MatmaRex: ok, so Friday for instance then - I will probably be setting something up for Friday. What time zone are you in these days and what range of hours works for you? [22:55:05] * sumanah attempts to not make assumptions [22:55:24] * YuviPanda waves at sumanah [22:55:27] Hi YuviPanda [22:55:40] hm. [22:55:55] sumanah: I (with help from legoktm and some others) have completed the implementation for the UrlShortener RfC [22:56:03] mwclient is using generators to deal with individual pages afaict [22:56:05] sumanah: I'm guessing the next step is to bring it back up at another RfC meeting? [22:56:09] sumanah: same as always, UTC+2. i've got nothing planned for this friday, so anything up to around midnight my time is okay [22:56:21] (that's 3 pm pacific, it seems) [22:56:45] MatmaRex: thanks. I probably won't go that late but it's nice to have the option [22:57:03] YuviPanda: well I think the next step is to tell wikitech-l and clearly state what you need next, if anything [22:57:15] sumanah: hmm, ok. I'll do that tomorrow. [22:57:40] sumanah: and if there are more questions that remain that can't be consensunsed onlist, another RfC meeting? [22:57:42] * YuviPanda is just curious [22:57:54] YuviPanda: and then if you don't get what you need within a couple of days on wikitech-l, then yeah, let's have a meeting [22:58:21] sumanah: feels sane. Thank you! [22:58:33] Cool, glad you and I agree :) [22:58:42] (re the preference to do things onwiki & onlist when possible) [22:59:50] fhocutt: what is it doing with those individual pages? maybe if you point to a chunk of code I can understand better [23:00:11] let me see [23:01:18] https://github.com/mwclient/mwclient/blob/64a51955ec14b5d9d2d84732ddea5e6b52ac5bcd/mwclient/listing.py#L104 [23:02:38] I find this confusing [23:03:24] specifically, I'm like "wait, so it makes lists that are generators? but where is the yield keyword?" [23:03:56] very confusing and also basically undocumented [23:03:56] I see that next tells how to iterate through it [23:05:02] ...yeah. [23:05:47] but, from "Implementation details" in the README, "Properties and generators are implemented as Python generators." [23:06:54] generate_kwargs is the only thing in listing.py that has a "yield" [23:07:11] so maybe everything else is actually an iterable object but not a generator [23:07:34] it is also confusing because Python generators and the "generator" module of the API are not the same thing at all [23:08:42] yeah I don't know what's happening here and I think it might be complicated enough that you should ask one of your mentors or advisors who is more experienced at Python [23:08:51] fhocutt: would you be ok with that? [23:08:58] ok, will do