[00:21:11] Krinkle: When you use "$.ready" in a $.when(), is that the equivalent of saying wait for $(document).ready()? [00:21:26] kaldari: Yes [00:21:35] cool [00:21:37] $.fn.ready(Function) -> $.ready.promise().then(Function) [00:21:53] the 'document' part of $() is ignored [00:21:59] There is only one 'ready' [00:22:21] Good to know. I hadn't seen that before. [00:55:15] Krinkle: I'm having some trouble figuring out how to utilize the Intuition API without adding my translations to the Intuition repo (as you recommended for new tools). Would you be able to help walk me through it at some point? If you're pretty busy, would it be OK to just do it the old-fashioned way (adding them to the repo)? [01:04:02] kaldari: No, I'm not merging new messages to the repo unless it's for an on-wiki JS gadget. [01:04:20] ok [01:04:27] kaldari: Is it an on-wiki JS gadget? [01:04:31] no [01:04:33] What are you building anyway? [01:04:43] kaldari: Is it server-side on tool labs? [01:04:51] What API are you referring to? [01:05:02] Kaldari: Adding server-side and client-side i18n to http://localhost/~kaldari/pageviews/ [01:05:22] the server-side part is already done [01:06:05] I was referring to the Intuition API that the JavaScript talks to to get the messages on the client-side. [01:06:42] I clicked on the link, not sure what I was expecting :P [01:06:53] oops, wrong version.... [01:07:05] http://tools.wmflabs.org/pageviews/ [01:07:17] :) [01:09:13] Krinkle: For that API request, should I be pointing it to tools.wmflabs.org/intuition/load.php and passing it some kind of path to my local messages, or should I be setting up my own local version of the Intuition API and changing it to load my messages instead of all the ones included in the vendor repo? [01:10:59] as it is now, my vendor directory (where Intuition lives) isn't publicly exposed (i.e. isn't in public_html/) [01:11:39] but that's a minor problem I suppose [01:14:07] Krinkle: if there's any example of how to set this up without the messages in the Intuition repo, that would be most helpful [01:16:43] Otherwise, I'll assume that I'm just supposed to create a local fork of Intuition that includes my messages instead of the ones currently in the repo [01:19:48] kaldari: Not really. You install intuition via composer and use it as you see fit. [01:19:52] No need to clone the repo itself [01:20:12] However the api/load.php files aren't meant to be exposed in installs [01:20:18] the composer package is for in-PHP use [01:20:48] kaldari: Does this have its own API for other data already? [01:20:54] no [01:20:55] Would be simple to pass it along [01:22:22] it's currently just an API consumer and doesn't have any API of its own [01:22:51] kaldari: right [01:23:12] but you could export something like var msgs = {}; somewhere in the html [01:23:20] get the messages you need and export [01:23:29] true [01:24:00] kaldari: btw, don't forget to html escape [01:24:08] I see $I18N->msg() currently [01:24:20] I guess I'll do that [01:24:25] $I18N->msg(name, array( 'escape' => 'html' )) [01:24:30] ah, thanks [01:24:38] or htmlspecialchars() yourself [01:24:43] or some other abstraction :) [01:24:59] https://github.com/Krinkle/intuition/blob/e5146e0fa7c7c7d9fc1513885c5cd71e3bd6a13b/includes/Functions.php#L56 [01:25:10] There is also _html() if you feel comfortable using global functions [01:25:18] but some people want me to remove that in the next release [01:25:35] or make your own function around it [01:25:42] OK, I'll play it safe then :) [01:25:55] kaldari: I'll think about JS consumption within tools. I don't account for that at the moment. Thanks for bringing it up [01:28:06] Krinkle: You might consider adding a feature to be able to tell tools.wmflabs.org/intuition/load.php to load JSON from somewhere else on tool labs, but I'm not sure how that would affect your caching [01:29:23] kaldari: Yeah, I could add an option to instruct you to add a symlink to vendor/krinkle/intuition/public_html/api.php somewhere and then use that url [01:29:48] I'll need to adapt the API endpoint to look for the local domain registry rather than the core one though [01:30:58] Or create a generic method you can call in your own endpoint (e.g. put 'respond();' > your own/api.php) [01:31:00] or something like that [02:43:35] Yes, hello. [02:44:14] legoktm: If you don't like how mentions work, add a FIXME? [02:44:43] That's also an option. [02:46:17] {{#@:username}}, heh. [02:47:01] https://www.mediawiki.org/wiki/User:Legoktm/pings [02:47:10] Bullets two through four are basically the same issue. [02:48:30] > Matt pointed out that the syntax would be {{ping:User}} so it wouldn't conflict. [02:48:33] Right. [02:48:42] > On-wiki templates might be implemented differently, so overriding them with magic word might cause problems. [02:48:43] The first set of bullets? [02:48:47] Yes. [02:48:55] To way to verify, requires a signature, adjusting text. [02:49:11] Those are basically all part of "can't trust pings to work reliably." [02:49:16] No way * [02:49:34] Maybe a log, yeah. [02:49:38] Yeah, that makes sense [02:49:40] That would also help with abuse. [02:49:44] Maybe. [02:50:00] Oh, goddamn it. A single edit tab now. [02:50:18] > Show me both editor tabs [02:50:18] Heh. [02:52:06] Wow, writing "{{ping}}" is difficult in VE. [02:52:19] Even finding the obscure "computer code" drop-down menu item doesn't save you. [02:54:36] what page are you on where VE loads but it would make sense to leave "{{ping}}"? [02:55:00] Probably my user sub page that discusses improving pings ;) [02:55:26] heh [02:55:59] Yes. [02:58:30] I updated https://www.mediawiki.org/wiki/User:Legoktm/pings a bit. [02:59:17] So just add "# FIXME: https://www.mediawiki.org/wiki/User:Legoktm/pings" when moving the mention code into core. ;-) [03:01:43] RESOLVED FIXME [03:16:55] :-) [03:17:10] legoktm: Another silly idea: use revision tagging to associate a "4-users-pinged" tag to edits that cause a ping. [03:17:19] Or "1-user-pung" or whatever. [04:01:09] Leah: Do you know if revision tags allow for variables like that? I don't think we want a new change tag for each number [04:30:55] Probably not. [04:31:05] But separate tags might not be so bad. You could aggregate in a nice chart! [04:32:54] legoktm: hey, you stole my idea :) [04:33:33] thank goodness :) [04:34:27] although I imagine it has occured to many [04:39:06] :P [04:39:14] "surely there's a less terrible way to implement this" [07:05:35] anyone with access to a wikimedia fishbowl wiki around? [07:11:39] jayvdb: wikimediafoundation.org? yes [07:13:00] err, bah, I meant a private one not a fishbowl [07:13:06] anyone, you're alive, which is good [07:14:08] a specific private one? [07:14:15] or any? [07:15:15] any; see pm [07:56:01] [[Tech]]; ArchiverBot; Bot: Archiving 1 thread (older than 30 days) to [[Tech/Archives/2016]].; https://meta.wikimedia.org/w/index.php?diff=15400262&oldid=15398572&rcid=7460410 [08:20:58] Is it possible for someone truly l33t to use a bot to hax0r wikipedia passwords and get sysopped [08:21:16] cuz nobody wants to sysop me [08:22:21] !ops how do i no if im 1337 enough to try and hax0r wikipedia for sysop? [08:26:09] wow dude, we got trolled hard [08:26:18] can't handle it [08:26:27] LOL [08:26:31] OK [08:26:35] on a more serious note [08:27:00] if I got kicked from the revdel channel for no reason and the kicker is not responding to PM [08:27:12] WHERE do I report a serious WP:BLP isssue [08:27:23] call 911 [08:27:27] LOL no [08:27:30] not that dumb [08:27:41] seriously someone sabotaged a redirect page [08:27:50] to defame the president [08:28:13] they redirected his second middle name to "Toilet Paper" [08:28:18] yeah seriously [08:28:28] they redirected "asswipe" to "toilet paper" [08:28:30] That’s not a serious BLP issue. [08:28:44] IDoH: yeah it is [08:29:26] they are comparing President Asswipe, the greatest president ever to wipe his political ass in the face of society, is being treated like a used piece of Toilet Paper [08:29:48] someone must be on crack [08:33:18] hey [08:46:31] https://archive.org/post/1053401/i-must-protest [11:19:51] Nemo_bis, I'm thinking about whether to add some sort of Wall of Shame to your new essay :p [11:50:18] Krenair: I had to resist the temptation... [11:51:13] I'd probably get into trouble [14:30:36] qchris: hi, are you the one handling requests on https://www.mediawiki.org/wiki/Git/New_repositories/Requests ? [14:30:46] Yup. [14:31:10] can you create the WikibaseMediaInfo repo for us? [14:31:18] I have not gone through the list today :-) [14:31:24] would be really helpful for us ;) [14:31:27] Sure can do. [14:31:31] ty :) [14:31:38] But I gotta finish something else beforehand. [14:31:43] sure, np [14:31:45] It will take ~1 hour. [14:31:53] I'll ping you once it's done. [15:53:58] benestar: Done. See https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/WikibaseMediaInfo [16:01:42] qchris: thanks a lot! [16:01:48] yw. [16:28:47] Special:NovaServiceGroup on WikiTech doesn't seem to work... is it just me? [16:43:41] MusikAnimal, doesn't work?? [16:44:26] MusikAnimal, go on... [16:44:34] I had to disable JavaScript [16:45:06] the multi-select thing when adding/removing users doesn't have autocompletion, and even when I manually typed it in and hit submit it did not add the person [16:51:27] autocompletion works for me [16:51:36] what did it do instead of adding the person? [16:52:23] I disabled JavaScript so it showed the checkboxes for available users, and added them that way [16:52:32] let me check the JS console [16:53:17] no relevant errors... just some PNG file didn't load [16:53:36] when I inspect the DOM I see that the