[01:03:53] Hi, I'm having trouble searching for the answer to this and was wonding if anyone could help - in a template, what is the difference between {{{x}}} and {{{x|}}} ? [01:04:45] the second has a | in it [01:04:54] one will substitute nothing as default [01:05:03] dreky32: {{{x}}} inserts the value of parameter 'x' if it was given, literal {{{x}}} otherwise [01:05:11] one leaves in literally "{{{x}}}" as default [01:05:24] (if there is no x specified) [01:05:27] dreky32: {{{x|whatever}}} inserts the value of parameter 'x' if it was given, literal "whatever" otherwise - it's the default value for the parameter [01:05:36] {{{x|}}} is a special case of that, where the default value is empty [01:05:47] * jeremyb races MatmaRex [01:05:54] :D [01:06:20] Ah, great, thanks guys! Had no idea how to search for that haha [01:22:48] hello all, i have an actual directory or w but i set up $wgScriptPath = "/w"; in LocalSettings.php. however, when i visit the login page i see /w/ in the url instead of /wiki/ [01:23:02] any ideas how i could have the login page use /wiki/ in the url as well? [02:31:31] Hi. I posted a question on the Math extension talk page, https://www.mediawiki.org/wiki/Extension_talk:Math#Upgrade_broke_MathJax I have my doubts that anyone will notice and/or try to answer it. Is there a better place to ask? [02:53:24] bryanclair, did you do maintenance/update.php? And yes, the mailing list is probably the best place to ask [02:54:32] @IanKelling - Definitely did the update. Where is the mailing list? [02:55:48] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l [02:56:25] Excellent. Thanks - somehow that was not easily discoverable. [03:02:47] bryanclair, your wgMathValidModes could be causing problems [03:03:37] you have 2 valid modes: text and mathjax. you probably want png in there too, sinceyou mentioned compiling texvc [03:04:37] I've tried quite a few variations there. At the moment, it's array( MW_MATH_MATHJAX, MW_MATH_PNG, MW_MATH_SOURCE ); and I've disabled MathJax so I can have PNG working (which it is) Do you have a specific recommendation? [03:05:49] If you want, I can switch on MathJax so you can see it fail at http://mathcs.slu.edu/escher/index.php/Tessellations_by_Polygons [03:09:39] The extension documentation may have problems. I did some edits for it a while back, but they have been changed around. Ima look through it a bit now. [03:10:32] Anyways, the error message you got is surely a bug. [03:10:51] but it might just be a bug that the error message is wrong, and you have some invalid option in your config [03:13:01] on my wiki, i use latexml, I think it looks better. just for the default math example, mathjax has 2 chars which overlap wrong, on firefox at least, and latexml service doesn't have that. [03:13:19] Doc improvements would be cool. The various rendering choices and settings aren't terribly well described. Still, I felt like it was clear enough to do the install. [03:14:34] Try just this for your config: [03:14:36] $wgUseMathJax = true; // enabeling MathJax as rendering option [03:14:36] $wgDefaultUserOptions['mathJax'] = true; // setting MathJax as default rendering option (optional) [03:15:00] I got the impression that latexml required running an additional latexml server. Is that not true? [03:16:02] Nope. It queries the default latexml server. not noticably any difference in speed to me. [03:16:12] you can run your own server, its optional [03:16:56] Sweet - I took out the wgMathValidModes line and put in the two lines you gave me, now working! [03:17:25] Yup. Thats what the doc said when _I_ edited it [03:17:30] :-) [03:17:32] other people put in crap that doesn't work [03:17:46] I think it's pretty lame that they put this notification system in, and you can't be notified of changes to pages you are watching [03:18:40] Well, I'm pretty happy you were watching the IRC tonite. I'll make a note of the solution on the Talk page where I posted the question. [03:18:51] Ya, and I'll revert some edits [03:19:15] I think editor engagement is pretty darn important, and I'm not going add "go to various wiki watch pages" to my calendar to see whats changed. I want email notifications, but noooo. [03:21:57] Now I've got it working, I'll play around with some of the options, try some browsers, see what looks good. I've got a couple of classes starting in a week that use this wiki as a textbook, want it looking sharp. [03:23:17] Someday we'll move it to WikiBooks, and I'll be relieved of my side job as WikiMedia sys admin. [03:26:13] ya, that will be nice. I recently wrote a long article, thought about wikibooks, but it really annoys me that wikibooks doesn't have all in one page format. [03:26:33] I end up using the download as pdf function if the book has one [03:27:28] cuz i can skip around faster, and do faster / more interactive search, like a single page would give me [03:27:48] i mean, i thought about making it into a wikibook type format instead of a long page [03:28:46] We went the other way - this started as a linear text, but now there's no way we could make it into a single PDF, because it's got so many links and individual pages. But we can't do WikiBooks (AFAIK) because we've got too much art used by permission. [03:36:42] Tried latexml. It looks good, and looks noticeably better in printed versions than MathJax. I'll see what the users like and default to that. [05:04:30] unable to install vagrant setup enviroment on win 8 [05:05:42] ?? [05:07:28] Hi rand0wn [05:07:43] rand0wn: Do you get errors, or is it just failing silently? [05:07:45] And at what step? [05:10:01] yes, it cannot install vbguest plugin [05:10:18] rand0wn: That's not an error :) can you pastebin the specific text you see? [05:10:20] !paste [05:10:20] To avoid overflowing the channel with inane amounts of text, use https://dpaste.org/ or other awesome pastebin sites to share code, errors, and other large texts. [05:14:02] http://pastebin.com/Gha8PxjC [05:18:21] marktraceur?? [05:18:31] rand0wn: Sorry, wasn't looking :) [05:19:01] rand0wn: Hm, I think I've seen that before. Could you try running the gem command manually? [05:20:25] I did that too, "gem install json", still no good [05:27:12] I think yurik was saying that it's currently broken [05:27:48] what if you try it at 3c8323c0bb58ea8405b244ea6a71491d8719f190 ? [05:28:29] (https://github.com/wikimedia/mediawiki-vagrant/tree/3c8323c0bb58ea8405b244ea6a71491d8719f190) [05:28:39] that was right before the multiwiki re-write that broke stuff [05:30:21] legotm, how did i go about installing then [05:33:31] did you do a git clone of vagrant? [05:45:36] yes i did [05:55:11] Hi! [05:56:38] Can anybody explain me the procedure to fix a bug from bugzilla.wikimedia.org? How can I test a self-written patch of code locally and submit it for fixing the bug and also get it reviewed? I am new to this environment. Please help! [06:08:26] ritika_coder_101 https://www.mediawiki.org/wiki/Annoying_little_bugs this should help you to get started [06:11:30] ritika_coder_101, you submitted the bug report already? [06:12:42] jeremyb: right now I am going through the procedure of installing virtualbox and vagrant [06:13:23] ok [06:13:30] Could you please tell me how can i get the complete code and start working on it [06:14:13] so that I can submit my patch of code [06:14:38] well first of all where did you see the bug? [06:15:08] It's one of the bugs on wikimedia.bugzilla.org [06:15:28] errr, switch those around the other way [06:15:36] which bug? [06:16:24] https://bugzilla.wikimedia.org/show_bug.cgi?id=5795 [06:16:56] sorry, bugzilla.wikimedia.org [06:20:40] ritika_coder_101, that one says it was fixed already [06:23:43] (how did you pick that one?) [06:27:14] Actually I picked up one project to begin with so that I could try doing a micro task on it and then later give some contribution to it which would have helped me to apply for the next round of opw. I contacted the mentor of the project and he gave a few links to try fixing the bugs. Here is another link: https://bugzilla.wikimedia.org/show_bug.cgi?id=43711 [06:28:01] ok, that's a more relevant [06:28:03] bug [06:30:58] Now how I am supposed to use them? please help! [06:31:14] them? [06:31:23] I see there's an education vagrant role [06:31:36] you could try enabling that and running vagrant [06:31:39] I have installed git, vagrant and virtualbox. [06:31:43] ok [06:31:59] there is some problem with connection. My previous message didint reach you [06:32:06] maybe [06:32:22] i have to run in a min [06:32:29] very late here [06:34:21] ahh, more connection problem [06:34:34] have done these steps as well except the last one 'vagrant up'. https://www.mediawiki.org/wiki/MediaWiki-Vagrant#Quick_start. [06:34:57] yea :-( [06:35:12] did you enable the education role? [06:35:29] um, what's that? [06:36:11] https://www.mediawiki.org/wiki/MediaWiki-Vagrant#Using_roles [06:36:15] so: [06:36:23] vagrant enable-role education [06:36:29] and then vagrant up [06:37:01] i have to run [06:37:10] good luck, hope to see you around in the future [08:01:11] hi, I can't run dumpBackup.php, it gives me a Fatal error on line 32. What to do? mediawiki version 1.23.1, php 5.4.20 [09:02:22] sarefo: does update.php run happily [09:13:43] Nemo_bis, strange, I seem to have run update.php on the new wiki version, but now it tells me I have php 5.2.17 only but MediaWiki needs 5.3.2 [09:13:54] and I can.t find a higher version on the remote server. [09:14:22] ah, found it [09:14:32] maybe you switched it in the control panel? [09:14:47] (though even the crappiest shared wbhost I know doesn't have anything older than 5.3) [09:18:47] sarefo: was PHP the only issue? [09:19:08] not sure yet, update.php still running [09:19:14] If the dump is successful, we're interested in hosting it at archive.org :) https://github.com/WikiTeam/wikiteam/wiki/Tutorial#Automatic_publishing [09:19:17] I hope it doesn.t hurt to run it twice... [09:19:17] ok [09:19:21] it doesn't [09:19:28] phew [09:22:18] hehe, I have it behind a 20+ character password right now, not sure I want to put it on archive.org ;) [09:23:23] yay, that worked, it was simply the wrong php version. thanks!! [09:24:35] however, I'd be happy to upload the dump to archive.org, so it is being published in case of my demise or so ;) [12:31:57] Hi! [12:32:08] Do I need to manually create a virtual machine in virtual box while working with vagrant? Because i am getting one error if i start my manually created virtual machine, that is"No bootable medium found! System halted". [13:34:33] heh Marco` [13:42:46] hello all. [13:43:08] what directories in a mediawiki installation contain user-uploaded files? so far, I know of /images [13:45:40] it's where ever you set it [13:46:01] the default being /images [13:46:11] some extensions put things in weird places [13:46:31] Reedy: okay, thanks. [13:46:54] putting some final touches on a script I wrote to automate a deployment [13:47:47] composer makes the extension management so much easier. [13:48:09] wrote a few quick package recipes for things that weren't on packagist and I was good to go. :) [15:04:25] I have a page called ManagerPlus, but I want it to be found with a search of Manager Plus [15:04:35] do I need to create some sort of keyword? [15:12:03] You could create a redirect EPiSKiNG-. [15:12:30] ah [15:12:34] that's an option [15:13:49] I don't know of anything else you could do. [16:15:43] need some help with parserfunctions ; 2 works, 3 works, but 1 doesn't work... http://vps753.greenhost.nl/acceptatie/index.php/Kimtest Why not? [16:16:03] * marktraceur looks [16:16:19] thanks :-) [16:17:00] and maybe there's an easier way to do this that I haven't thought of. :-/ [16:17:08] it seems like a pretty typical thing you might need to do :-/ [16:17:12] kim_bruning: Where's the #sub parser function from? I don't recognize it. [16:17:19] Stringfunctions [16:17:54] https://www.mediawiki.org/wiki/StringFunctions [16:18:04] merged with parserfunctions as of r50997 [16:18:35] kim_bruning: Because you're asking it to give you the pagename of "Bestand:BertLuttjeboer83.jpg|300px|Foto: Pieter Boersma" which makes no sense :) [16:18:45] Because "|" is an illegal character in mediawiki page names [16:18:52] Ok sure [16:18:59] but doing it one way does work, and the other does not [16:19:14] what I'm really trying to do is get the pagename out of a File: reference :-/ [16:19:20] Ah, you're right [16:20:04] And | is a problematic character all around. I'm trying to get rid of them all! [16:20:12] kim_bruning: Maybe Lua is the answer here? [16:20:24] Lua is always the answer [16:20:28] but not right right now [16:20:38] *nod* [16:21:27] Basically, someone is providing the template with [[ ]] and | which they shouldn't do, but they do it anyway [16:21:34] sometimes [16:21:44] so I'm trying to get rid of them today [16:22:02] and all this is very unstable it seems :-/ [16:23:03] Sure seems like [16:23:06] And I'm loading this stuff into semantic mediawiki right after, but then semantic result formats chokes on other stuff, so I need to do template output format (aka. Do It By Hand) [16:23:27] But then my template goes back to choking on THIS stuff [16:23:35] so I need to get it out and ... [16:23:40] argh... it's eaten my day :-/ [16:23:48] sorry, just venting ;-) [16:24:12] * kim_bruning considers dropping it [16:24:39] Hm [16:24:46] So it works for me locally without the | characters [16:25:01] OH [16:25:03] I can always just report to customer that they need to sanitize their data themselves [16:25:16] * kim_bruning looks at marktraceur [16:25:20] kim_bruning: I bet PAGENAME is thinking the "|" characters belong to it, instead of to the link [16:25:44] so if I use a blank template, it'll eat all the spurious | [16:25:45] So it's like "oh, you want the pagename of {{#sub:[[Bestand:BertLuttjeboer83.jpg, OK" [16:25:59] But of course that makes no sense to it :) [16:26:02] well, it'll do the subst first [16:26:08] err substring first [16:26:19] because template and parserfunction parsing [16:26:25] Ah. [16:26:34] so the [[ ]] are removed [16:26:36] and then on to step 2 [16:26:46] but you are suggesting a way I can still fool mediawiki, maybe [16:27:00] though fooling mediawiki is always a dumb plan [16:27:14] Hi MW! I ran this code( http://bpaste.net/show/GDqAUC3EYzos9bF05TpQ/ ) as a normal php file and it exports the data in CSV format perfectly but when I try to run the same code in MW extension I get these warnings http://bpaste.net/show/YKVpqCPZI7tA8BFGsSGs/ . [16:29:56] albertcoder: Looking, sec [16:30:33] alright marktraceur [16:36:55] Ok, I really don't get this [16:37:13] http://vps753.greenhost.nl/acceptatie/index.php/Kimtest Now I'm using a new template called truncate, which just returns {{{1}}} [16:37:22] but, when I apply truncate to sub, that breaks [16:37:27] * kim_bruning suspects sub is buggy somehow [16:37:59] and thus I still can't get rid of [[|]] [16:38:02] I wouldn't be surprised [16:38:16] not the answer I was hoping for ^^;;;;; [16:38:26] why do I find all the bugs ;-( [16:38:37] Someone's gotta do it [16:38:49] not while on the clock :-/ [16:39:10] and for some reason these functions aren't enabled on wikipedia [16:39:19] this is probably the reason ;) [16:39:19] else the errors would have been found sooner [16:40:10] well, they were merged with parserfunctions, right? [16:40:13] I'm confuzzeled [16:40:49] marktraceur, I got these sort of warnings too (Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/mediawiki-1.22.7/extensions/mat_ext/exportcsv.php on line 35
[16:40:49] ) I got rid of this warning by using mysqli_connect(). [16:41:00] I guess they implemented Lua instead [16:41:06] well, joy [16:41:13] no way I can learn THAT in the time I have [16:41:22] albertcoder: Try $sql->result instead of $sql [16:41:23] * kim_bruning mutters a string of expletives to self [16:41:34] $sql is a ResultWrapper, $sql->result should be a Resource [16:41:36] definitely will be learning, but not today [16:41:37] Er resource. [16:42:03] albertcoder: I honestly don't know why you're using mysql_query anywhere [16:43:34] albertcoder: I think that deprecation warning is a MediaWiki bug, we should be using PDO or mysqli probably [16:44:29] marktraceur, I saw a similar code of my interest which did like this, but I used mysqli_connect already. [16:44:49] albertcoder: You don't need to connect to any database when you're using MediaWiki [16:44:53] Take that code out [16:45:11] You already got the $dbw [16:45:47] alright [16:46:14] Ugh, no open bugs I can see [16:46:17] I'll file it [16:47:02] marktraceur, thanks for your help :-) [16:47:13] kim_bruning: No problem! Sorry we couldn't figure it out [16:53:38] marktraceur, I did as you said but still I get the same warnings (http://bpaste.net/show/YKVpqCPZI7tA8BFGsSGs/). [16:53:54] albertcoder: Can you pastebin the code again? [16:54:00] yeah [16:55:31] http://bpaste.net/show/5r5eCKD4rduzAE3LVEn0/ marktraceur [16:58:59] Huh. [16:59:36] albertcoder: $table = "wiki_density"; // Enter Your Table Name [16:59:39] This worries me. [16:59:50] albertcoder: Can you talk about what your extension is doing, and how? [17:00:42] It is used to store, display, edit material properties. [17:00:59] export and import are desired [17:01:17] I have been able to export in JSON [17:01:20] "material properties", could you give me an example? [17:01:53] yes, like boiling point of many materials is stored [17:02:29] Ah, OK [17:02:43] albertcoder: Is there any particular reason you're using a hardcoded table name in this file? [17:03:14] I mean, you'll be using a table name, but usually it's not meant to be configurable [17:03:14] and whence not using semantic or wikidata stuff? :-) [17:03:31] I was just doing it for a check, I will use variables later [17:03:32] * kim_bruning hushes after my wonderful adventures today [17:03:35] Hm. [17:03:45] albertcoder: OK, I think I see a way to fix this [17:04:04] albertcoder: Don't use num_fields, you can just loop through each field AFAIK [17:05:16] Isn't any there any other way in MW that I can count the number of columns? [17:05:38] I don't see any reason you'd need to [17:05:56] albertcoder: You could just get the first row and loop through the flipped array of results [17:08:02] okay marktraceur thanks I will see this. :) [17:08:03] albertcoder: See https://doc.wikimedia.org/mediawiki-core/master/php/html/classResultWrapper.html#a68b355986151fc9ce4d791c736b2d056 [17:09:20] alright mark thanks a lot. Will see into this. [17:09:24] *nod* [17:22:07] manybubbles: ping if you have some time free today [17:22:16] sumanah: always [17:22:23] you remember fhocutt? [17:23:07] I'm not good with names - irc or otherwise [17:23:13] context is better for me, sorry [17:23:16] or faces [17:23:19] but that is hard on irc [17:23:36] it's ok :) manybubbles: fhocutt is Frances, the programmer working on a Java project for her internship [17:23:45] sumanah: now I remember - yeah [17:24:04] manybubbles: you helped her out once [17:24:17] today she's working on a new feature - improving search in the Java library [17:24:25] ah sure [17:24:38] and she wants to write that feature herself but every once in a while she'd like to be able to ping you in IRC or email and ask "is this the right approach" [17:24:53] and you can answer yes/no/here's-a-hint etc. but like I said she wants to write the code herself [17:25:03] is that something you can do today? [17:25:06] be avail for that? [17:25:38] manybubbles: (email better than IRC since, you know, code chunks.) [17:26:33] sumanah: yeah - I can always answer emails. [17:26:45] emails are bit bit better then irc because they are more built in async [17:26:55] manybubbles: cool, yeah, and I think you have quick turnaround when asked :) [17:27:07] thanks! [17:28:14] eww, Elasticsearch has made my htop ugly :( [17:28:50] marktraceur: here? [17:30:27] Steinsplitter: he literally just went afk [17:31:39] legoktm: can i PM you, i think i have found a securetybug? [17:31:45] yes please [17:36:17] Steinsplitter: !ask [17:38:15] marktraceur: Asking to PM is usually considered polite [17:38:22] (I mean I don't care but some people seem to) [17:38:39] RoanKattouw: Protocol semantics, man [17:38:56] You can PM me if you want, and I can ignore you if I want. :P [17:41:35] quipped [17:41:47] :) [18:20:52] what is the error code produced when a page has more than 5,000 revisions and can't be deleted? [18:22:27] * legoktm tests [18:22:45] magioladitis: delete-toobig I believe [18:23:09] "error": { [18:23:09] "code": "bigdelete", [18:23:09] "info": "You can't delete this page because it has more than 5,000 revisions" [18:23:09] } [18:23:16] magioladitis: ^ [18:23:32] legoktm: RoanKattouw: thanks [18:23:43] Right, of course [18:23:47] trying to catch this in AWB [18:23:51] The i18n message is delete-toobig, but ApiBase maps it to bigdelete [18:23:54] Helpful :S [18:24:06] Consistency Is Hard. [18:26:34] if (ae.ErrorCode == "bigdelete") [18:26:35] { [18:26:37] StatusLabelText = "You can't delete this page because it has more than 5,000 revisions"; [18:26:38] listMaker.Remove(TheArticle); [18:26:40] articleActionLogControl1.LogArticleAction(TheArticle.Name, false, ArticleAction.Delete, [18:26:41] "Article can't be deleted"); [18:26:43] return; [18:26:44] } [18:26:47] !paste [18:26:47] To avoid overflowing the channel with inane amounts of text, use https://dpaste.org/ or other awesome pastebin sites to share code, errors, and other large texts. [18:27:03] pasted by mistake [18:27:07] I wanted to paste the link [18:27:15] but I never copied it :( [18:27:49] http://pastebin.com/wqufxN9i [18:32:31] Hi, I couldn't find this now via searching: > 10 mins already [18:32:51] there was a MW extension (part of a blog system perhaps?) which would show which external sites link to "here" [18:33:04] does anyone remember such a tool/extension [18:33:23] I don't want to use external apps to find that out (piwiki, Google, ...) [18:33:30] like a pingback tool? I don't think so [18:33:38] yes, like that [18:33:51] I remember also reading there that it could be misused fro spamming actually [18:34:04] since showing the sites would link to them :-( [18:34:38] magioladitis: I guess you could just use the info string, instead of hardcoding the error text [18:34:49] In case the number changes or something [18:35:12] marktraceur: how? [18:36:43] magioladitis: See legoktm's JSON output - error.info has a string describing the error. [18:38:08] I agree with RoanKattouw that asking to PM is generally considered polite [18:38:11] Erkan_Yilmaz, that would be very tricky... some info may be stored in your apache logs [18:38:12] hm, perhaps it was dokuwiki https://www.dokuwiki.org/plugin:linkback just searched for the term pingback (thx legoktm ) [18:38:40] Erkan_Yilmaz, That's for dokuwiki though ;-) [18:38:44] yes, I could get that info manually, if a tool doesn't exist. I could also imagine that the tool shows the pingbacks only to special users [18:38:56] (so the info i snot public and couldn't be "misused") [18:39:08] sumanah: I have seen very few arenas where that is the case [18:39:11] as is so often the case, I disagree with marktraceur [18:39:21] Heh, it happens [18:39:28] I personally prefer people to ask me publicly before they PM, for a zillion reasons [18:39:33] kim_bruning yes, I found it just via a search [18:39:34] one of which: sketchy dudes [18:39:50] Erkan_Yilmaz, AWstats and similar can be really helpful [18:39:52] sumanah: We were talking about this elsewhere, too - you could use +g [18:39:58] what's that? [18:40:03] sumanah, I don't like pm at all [18:40:06] It's the caller-id flag for users on Freenode [18:40:15] Only whitelisted users are allowed to PM you if you set it [18:40:19] hmm! [18:40:23] kim_bruning right [18:40:26] You whitelist with /accept [18:41:34] glad that functionality is available. as with so many IRC-related things, I've been using IRC for years and didn't know about it; discoverability fail. [18:41:42] Heh, yeah [18:42:08] I find myself reading documentation for helpdesk purposes a lot, so I pick up on little tricks sometimes [18:42:28] manybubbles: I just finished my wrapup call with Frances fhocutt so she may email you soon re a search approach [18:42:50] thanks, manybubbles! [18:43:01] any time [18:43:34] given that most people will not know about the whitelists & +g,I think it's better to promote a norm of "ask before PMing" and it sounds like a lot of people in this particular community have the same preference [18:43:42] off to do other things [18:44:20] > a lot [18:44:40] I think she was the only one who said she preferred it? [18:46:15] It seems a bit double-standard-y to have !ask but require people to request a PM session. [18:46:23] * marktraceur argues into the void [18:48:41] I personally am not bothered by people PMing me out of the blue, but it seems a number of people are, so while I don't tell people off for not doing it I also don't tell them off for doing it [18:49:00] If people want to be polite in excess of what I personally require than they should go ahead and be polite :) [18:49:10] fair [18:49:15] RoanKattouw: It sounds like sumanah is advocating a general policy of privately reminding people to ask first [18:49:33] it also depends on who is PMing ;-) [18:49:59] Which might be fine in public, because rebuttal would be possible, but in private it means that person's opinion is the only thing that matters [18:50:28] I don't feel strongly enough about it that I would go around and encourage people to ask to PM [18:50:46] But I don't think it's helpful to tell people /not/ to [18:51:32] meta-discussions on traffic are always such a contradiction to me [18:51:47] If someone's PMs bother me I use /ignore, simple as that [18:52:00] Nemo_bis: We need red lights at major intersections, damn it. [18:52:02] Oh, wait. [18:52:39] There are no deaths from IRC crashes AFAIK [18:52:55] Also, there were no traffic lights before cars ruined the cities [18:53:20] Cars don't ruin cities, the people who drive the cars into the cities ruin cities [18:53:23] Friggin' tourists [18:53:40] (let's play "how off-topic can #mediawiki get?") [18:54:44] ask before PMing is standard for #pywikibot, fwiw [18:55:13] The funny thing about it is, you don't see the incidence rate of the alternative [18:55:16] marktraceur: RESTORE BALANCE. FREE PARKING FOR EVERYONE [18:55:43] RoanKattouw: The SF Peninsula *is* starting to list slightly eastward, so maybe free parking in the Sunset? [18:55:47] errr [18:56:11] because #pywikibot used to have a problem where people would pm instead of ask in the channel [18:56:24] Ah, see, that's totally different [18:56:33] hence why we have that rule [18:56:53] hm, sure [18:56:56] As opposed to a policy of "ask in the public channel, don't spam the ops" [19:03:14] I think we should call api.php 'the red api'. [19:04:03] * marktraceur gives list=allmessages a crossbow [19:06:46] fhocutt: heh. actually, the policy was meant the other way around. Don't pm someone unless that someone invites you to do that. In the end, I'm not sure if people actually read the welcome message, but a simple 'please keep the discussion on the channel, as other people might also be able to help' typically works pretty well. [19:08:11] I know I have to remind people of that in PM every once in a while [19:08:41] hey, I found something: [19:08:41] https://www.mediawiki.org/wiki/Manual:$wgUseTrackbacks [19:08:47] doesn't exist anymore, though [19:38:03] hi all, I'm having trouble installing an extension with composer [19:38:08] bootstrap [19:38:30] it's failing to clone the .../Bootstrap.git [19:38:47] and when I go to the address where the git is supposed to be, it's not there [19:39:04] but there's no info about how to find it, or how to correct the incorrect address [19:39:30] (the address it's trying is: [19:39:55] https://git.wikimedia.org/git/mediawiki/extensions/Bootstrap.git [19:52:33] tremmors: Hi! [19:53:01] tremmors: I've seen someone try this before, but I was able to clone the repo without issue [19:57:28] just now you could clone it without a problem? [19:57:35] I'm getting a 404 [19:58:36] Works For Me! [19:58:39] * kim_bruning scratches head [19:59:10] tremmors: If you go to the repo URL *in the browser*, it will 404. [19:59:14] Cloning it should work. [19:59:25] git clone https://git.wikimedia.org/git/mediawiki/extensions/Bootstrap.git [...] Resolving deltas: 100% (163/163), done. [20:00:14] hm, ok - I'll double check, I just moved all my files around, maybe I missed something [20:00:52] tremmors: make sure to allow cloning dev versions [20:01:12] tremmors: Bootstrap still does not have a released version [20:01:22] Aha! [20:02:11] !boostrap404 is The MediaWiki Bootstrap extension does not yet have a release version, so if you're trying to install it with composer, you'll need to configure composer to allow cloning of development versions. [20:02:12] Key was added [20:02:18] ty FoxT [20:04:24] * kim_bruning thiks maybe I need to figure out what composer actually is [20:05:14] haha [20:05:19] its an installer for extensions [20:08:21] Well, a package manager in general really [20:08:26] It's used in a lot of PHP projects. [20:08:38] cool [20:09:52] marktraceur: tremmors: Fixed. I just released Bootstrap extension version 1.0. [20:10:11] Ooh. [20:10:47] I would install it, but I assume it will break everything I work on. :P [20:10:55] haha, nice [20:10:58] Most probably. [20:11:24] that wasn't actually my problem - I'm almost too embarrassed to say what my problem was, but it's funny, so, here goes [20:11:32] There is still the problem that it requires (and forcefully pulls in if activated) a different LESS compiler than is available by default in MW [20:11:37] i just put my porject into a new VM... [20:11:45] marktraceur: vagrant [20:11:50] it wasn't failing to find bootstrap, it was failing to find GIT ITSELF lol [20:11:53] I hadn't installed it [20:12:02] :D [20:12:04] installed it, restarted, and, hooray! i think it succeeded [20:12:08] checking now [20:12:32] AND HOORAY WE HAVE SUCCESS [20:16:29] greg-g: Hooligan [20:16:47] GYPSIES, TRAMPS AND THIEVES [20:17:07] vagabond [21:27:34] Is it bad that I can more easily find information via manually typing API queries than using the actual site [21:29:05] it's not only not bad; it's positively good [21:29:38] it means the API is sufficiently consistent, intuitive, and forgiving to be learned via trial-and-error [21:31:45] indeed, the documentation on api.php is way more useful than the wiki doc pages [21:31:48] i love it [21:32:14] we should just redirect the doc pages to [[Special:ApiSandbox]] and no value would be lost! [21:32:48] that's kind of part of the API roadmap (killing the manual help pages) [21:33:26] legoktm: Surely that's a !b 1 regression. :) [21:33:38] nope [21:33:47] most of the manual doc pages are outdated [21:33:55] the API autogenerated help is waaaaaay better [21:35:38] but arguably less new-user-friendly [21:35:56] We could probably make it more HTMLy [21:36:12] some of the doc pages have higher-level information that's not really present in api.php [21:36:19] and better-organized [21:36:30] particularly the docs for query [21:36:51] api.php is great if you know what you're looking for, but it doesn't help you know what to look for [21:37:04] I would at the very least like automatic links from sections to the relevant ?action=help calls [21:44:28] marktraceur: yes that's low hanging delicious fruit [21:45:55] fhocutt: I've always used api.php itself for docs when I was a total newbie [21:46:20] legoktm: it would be easier if one could just transclude the duplicative information from api.php straight into the wiki pages [21:46:26] when I was a total newbie, it was pretty intimidating. [21:47:00] I don't deal well with giant text-based lists without context. The API sandbox and to some extent the web docs were much more helpful. [21:47:54] I think I never used the API sandbox in my life [21:48:42] We had a project for transclusion of git content into the wiki, where is its page? [21:48:58] we have? :o [21:49:33] there is a pretty-broken extension, but otherwise I'm not aware of anything (except for pywikibot's plan to move docs to git) [21:49:59] valhallasw`cloud: what extension? that's probably it [21:50:12] one of our usual rotting GSoC products IIRC [21:50:35] wait, not an extension.. that was restructuredtext for mediawiki [21:50:39] https://github.com/moy/Git-Mediawiki <-- there is this [21:50:47] but that mirrors the entire wiki, I think [21:51:23] https://www.mediawiki.org/wiki/Git_and_MediaWiki_interaction [21:51:24] OPW [21:51:44] "interaction", as if they could take tea together or something [21:51:58] https://www.mediawiki.org/wiki/Extension:Git2Pages [21:52:20] https://www.mediawiki.org/wiki/Git-remote-mediawiki needs a category [21:53:29] reverted archival [21:54:19] "This extension requires bash.", what could that mean? [21:54:58] Bash, the shell [21:55:51] Ah, to do all the evil things described in the header, makes sense [21:57:03] } catch ( Exception $e ) { // Crap. [21:57:08] Oh MediaWiki. [21:57:28] And why the unarchival? It's unmaintained and dangerous [21:59:19] Like 95 % of MediaWiki extensions [21:59:45] The extension is alive and well in the repo, hiding its description only makes it more likel yto be abused and less likely to be fixed [22:02:30] Much better now https://www.mediawiki.org/wiki/Git_transclusion_in_MediaWiki [22:03:19] (Not to mention that it's still actively translated, sigh; I would support wiping the repo) [22:13:20] Is Ariel Glenn still an active dev manager? I'm trying to get in touch with her re https://bugzilla.wikimedia.org/show_bug.cgi?id=54633 [22:15:58] there is no such thing, but yes Ariel is active [22:16:01] *click* [22:16:37] jmeek: the most useful thing you can do is reviewing the code in question [22:18:19] fair enough. I'm currently trying to get vagrant running correctly on a 2012 box w/ vmware. Currently, 127.0.0.1:8080 shows me a Apache2 Ubuntu Default Page so I'm making progress but not there yet. [22:18:30] i.e. there is no such thing as a "dev manager". unless you mean e.g. rob (director of platform eng) but he's not Ariel's manager [22:18:43] silly me, it's https://gerrit.wikimedia.org/r/82449 not being merged [22:19:00] jmeek: :) [22:20:41] anyway, don't let gerrit/gitblit fool you, the code is there but not in master https://gerrit.wikimedia.org/r/#/q/status:merged+project:operations/dumps/incremental,n,z [22:42:08] Nemo_bis: It turns out there's not really any way to figure out when an API module is a submodule [22:42:11] So... [22:51:16] I guess I'm adding it. :) [23:53:55] It turns that HasRight("delete") is flase for eliminators in pt.wiki [23:54:00] any advice on that? [23:54:08] flase = false [23:54:09] flase? [23:54:11] Ah. [23:54:22] Config change, I suppose [23:55:05] any chance that they translated "delete" ? [23:55:47] Doubt it [23:55:54] magioladitis: Is "eliminators" the name of the group? [23:55:56] this works: https://pt.wikipedia.org/w/index.php?title=Wikip%C3%A9dia:AutoWikiBrowser/Sandbox&action=delete [23:56:20] the name of the group is "Eliminadores" [23:56:30] Oh, yeah, I see it [23:56:45] 'detele' => 'true', [23:56:48] Er [23:56:53] 'delete' => true, [23:57:01] Weird [23:57:09] OK [23:57:10] magioladitis: Do you see an error? [23:57:18] then my mistake somewhere else [23:57:25] let me check [23:57:30] trying to delete via AWB [23:57:56] Ah, hm [23:58:04] https://pt.wikipedia.org/wiki/special:listusers/eliminator?uselang=en [23:58:21] it's called "deleter" in english [23:58:32] magioladitis: i think there's a bug filed for that [23:58:41] but the actual name is eliminator [23:58:45] unless you're fixing that bug right now, in which case nevermind me [23:58:56] yes I am fixing the bug right now [23:59:00] one part is OK [23:59:11] Gosh MatmaRex, patience [23:59:23] :) give me a min [23:59:35] IF the button is enabled I can delete [23:59:35] :) [23:59:57] MatmaRex, 69398 ?