[01:02:52] does anyone know of a way to apply the autonym font to an element with a lang attribute (on a wiki page) and not have webfonts override autonym with its own font? [01:04:04] the Wikidata main page is loading a whole lot of fonts that it doesn't need [01:14:14] Bsadowski1: Seems Reedy beat me to an answer. [01:15:58] I know. But legoktm actually beat him to the answer [01:16:00] :P [01:32:29] Bsadowski1, Reedy, legoktm: Did any of you file a bug about abusefilter.php being wonky? [01:32:36] I think it went from opt-in to a global extension. [01:32:42] And the resulting config is wonky. [01:35:50] I don't think its wonky [01:39:08] legoktm: It seems kinda wonky. [01:39:18] What's with the case switching? [01:39:32] With no default, I guess it just falls back. [01:39:41] defaults are the extension defaults [01:39:45] Right. [01:39:49] It's goofy. [01:40:32] I'm not even sure why it has its own file. [01:42:33] You think $wgAbuseFilterNotifications should be set per-wiki? [01:45:16] I don't [01:45:39] I think it should be udp everywhere, and wikis can set private notifications if they want [01:46:46] Couldn't the config be simplified? [02:04:43] legoktm: I filed https://bugzilla.wikimedia.org/show_bug.cgi?id=58247 about abusefilter.php. [02:04:47] cool [02:05:15] Bsadowski1: ^^ [02:35:26] greg-g: Can haz LD window for https://gerrit.wikimedia.org/r/99722 ? :D [09:23:39] I want to remove my bot's watchlist because of the amount it shows an error. is there any one who have system acess [15:53:53] I have problem to remove my bot's watchlists there are more than 190,000 how can I remove them? [15:56:00] reza1615: Special:EditWatchlist/raw [15:56:09] yes [15:56:13] bot it shows [15:56:14] error [15:56:34] and it crash becuase the amount is 190,000 pages! [15:57:27] no idea [15:57:51] does [15:58:17] users with system access can do it? [16:13:18] reza1615: which error? [16:13:44] $.post('/wiki/Special:EditWatchlist/raw', { wpTitles: '', wpEditToken: mw.user.tokens.get('editToken'), title: 'Special:EditWatchlist/raw' }); Object {readyState: 1, setRequestHeader: function, getAllResponseHeaders: function, getResponseHeader: function, overrideMimeType: function…} POST https://fa.wikipedia.org/wiki/Special:EditWatchlist/raw 500 (Internal Server Error) load.php?debug=false&lang=fa&modules=jquery%2Cm [16:14:00] when I post this code in consul [16:14:29] because Bot has 194,000 pages in watchlist [16:14:47] and browser can not load them :( so it carshes [16:14:56] reza1615: Stop asking in all channels :P [16:15:08] ok [16:15:28] ... [16:59:56] hi room. I'm not sure if this is the right place to ask, but I'm stopping by before heading to the refdesk. I'm just trying to find a way to (a) total row/column numeric contents in a table. (b) for a row/column that consists of only "a" "b" or "c" to count the number of times "a" appears. Is this possible? [17:16:16] Rhododendrites: it would be possible with Lua, but I'm not sure in what form you would provide the base data to the Lua module. [17:16:51] if it's a wikitext table, you would have to parse it in Lua, then sort/calculate, then re-generate. ugh :) [17:17:55] hrm. I haven't explored lua. I'll check it out. thanks [17:19:14] ...I think I'm going to be out of my depths right quick... :) [17:20:11] Rhododendrites: well, you want to do calculations. so you need a programmign language. Lua will do it on the server. you can do it with JS on the client side, too. [17:20:46] might be easier (because you get an HTML table to work with, instead of a string to parse), but it has other disadvantages (no caching, flickering layout, brwoser compatibility) [18:11:37] greg-g: rehi, can I use the LD today to backport https://gerrit.wikimedia.org/r/99722 ? [18:11:48] oh, yeah, sorry, those pings from last night... [18:12:00] pingsfromlastnight.com [18:12:44] hah [18:12:52] marktraceur: yessir, plz add to calendar [18:13:37] kk [18:21:09] hi. Someone asked me if Wikipedia uses an Alexa widget. We don't, right? [18:21:37] We don't [18:22:57] global rank: 6 [18:23:31] mutante is our Alexa widget. [18:23:38] Where do wikipedia.org's visitors come from? [18:23:52] keyword 'seo' 0.09% :P [18:24:10] hah, i had to http://www.alexa.com/siteinfo/wikipedia.org [18:24:15] What about keyword "irony"? [18:24:38] marktraceur: "Subscribe to the Alexa Pro Advanced Plan to view all keyword data. " :? [18:25:24] popdex.com is supposed to be our #1 related link.. shrug @ alexa stats credibility in general [18:25:40] also see "other sites owned":) [18:25:53] Ah, bah wmbug. [18:27:28] I'd be sort of amused to see things like "SEO score" [18:28:01] well that wasn't sfw [18:28:28] Hahaha [18:28:37] greg-g: the sites we own?:) [18:28:38] greg-g: You clicked on the other sites owned, didn't you [18:28:45] mutante: marktraceur uh huh [18:29:28] * marktraceur needs to get greg-g a "Shouldn't have clicked on THAT" barnstar [18:30:02] heh, 'whois' on the shell first.. who knows [18:30:05] so, a site I frequented in HS had a chat server that was powered by "Naken chat" http://nakenchat.naken.cc/ (SFW). A naken chat client another user wrote was called "Nekkid", so, I was nostalgic when I clicked the link, not so much when it loaded. [18:59:49] greg-g: Reedy https://gerrit.wikimedia.org/r/#/c/100606/ [18:59:55] sometime before deploying to wikidata [19:22:08] aude: I think he just did it? [19:22:18] just being 10 minutes? [19:22:19] ago [19:22:53] Reedy: ping [19:23:17] yes, thanks greg-g and Reedy :) [19:24:39] :) [19:26:01] My wifi keeps dropping [19:26:04] not very helpful [19:26:14] my connection to tin stayed alive though [19:33:11] Reedy: Are you on a ferry? [19:36:32] No [19:36:40] I'm within smashing distance of my router [19:42:39] hoo, mutante: excellent, thanks. [19:44:22] Warning: Missing argument 3 for CreditsSourceAction::getCredits(), called in /usr/local/apache/common-local/php-1.23wmf6/includes/SkinTemplate.php on line 445 and defined in /usr/local/apache/common-local/php-1.23wmf6/extensions/CreditsSource/CreditsSource_body.php on line 40 [19:44:22] Fatal error: Call to a member function getArticleID() on a non-object in /usr/local/apache/common-local/php-1.23wmf6/extensions/CreditsSource/CreditsSource_body.php on line 48 [19:47:16] Need a stack trace [19:47:43] $tpl->set( 'credits', Action::factory( 'credits', $this->getWikiPage(), [19:47:43] $this->getContext() )->getCredits( $wgMaxCredits, $wgShowCreditsIfMax ) ); [19:47:48] Who removed the title... [19:49:48] No one apparently [19:50:38] * Reedy kicks ^d [19:50:39] https://git.wikimedia.org/commitdiff/mediawiki%2Fextensions%2FCreditsSource.git/54c55932f85dbbdc91dc066543875da99dc88ab6 [19:51:06] There's only a title if you pass one [19:51:06] <^d> Maybe people shouldn't use evil globals. [20:26:20] Hey ori-l, Krinkle, do either of you know if we have a document on writing sane javascript for gadgets? [20:28:02] csteipp: Not really, but that's a tough concept to grasp as a thing on its own. [20:28:06] csteipp: There is https://www.mediawiki.org/wiki/RL/MGU [20:28:18] and https://www.mediawiki.org/wiki/RL/JD [20:28:24] which are mostly about what not to do anymore. [20:28:49] and https://www.mediawiki.org/wiki/RL/DM which lists all new APIs that one should use [20:28:57] APIs/modules [20:29:22] and https://www.mediawiki.org/wiki/CC/JS for general coding practices, that are always good to use in gadgets as well. [20:29:41] mh [20:30:04] Krinkle: We want something short which explains why gadgets can be very dangerous [20:30:19] and how to avoid that [20:32:11] hoo: csteipp: Who's the intended audience? And in which frame of mind will they be when reading it? (e.g. people who write gadgets? or new gadget contributors? when reviewing code? or when reading an announcements?) can you zoom out to the bigger picture? [20:32:24] hoo: How about "you can load things from the Google WebFonts API which violates the privacy policy"? (Except you can do that with CSS, and people do) [20:32:46] But also "you can compromise account security of anyone who installs the gadget" in general, I suppose [20:33:02] https://meta.wikimedia.org/wiki/User_talk:Hoo_man#Help_request [20:33:04] yeah, make sure that CSS is included in the scope as well if the aim is security, 'javascript security' ==> 'frontend security' or client-side security. [20:36:01] hoo: well, I don't have a good answer to that other than: people who don't know what they're doing shouldn't be allowed to do what they're about to do. First in that scope is: wiki-sysops must not have the ability to modify js/css. That should be a separate user group entirely and is another thing Gadgets 2.0 brings (except for Common.js and Group-user.js/css which remain, still, but could also be gua [20:36:01] rded by other means) [20:36:41] note that that is not something that solves the problem, but is something that should happen for other reasons as well. [20:36:41] Krinkle: Yeah... totally agree (and I already had someone desysoped for JavaScript things :P) [21:22:38] bsitu: Flow throw some exception on beta cluster because of a non existent js registerered in RL [21:22:46] Exception from line 654 ResourceLoaderFileModule::readScriptFiles: script file not found: "Flow/modules/header/editor-nonajax.js [21:22:53] bsitu: probably harmless, filled bug https://bugzilla.wikimedia.org/show_bug.cgi?id=58288 to track it [21:23:15] harshar: thx [21:23:36] we will take care of it [21:26:35] hashar: it is fixed in here: https://gerrit.wikimedia.org/r/#/c/100681/ [21:43:50] bsitu: yup fixed on beta. Thanks! [21:47:41] Please do fix that before cluster deployment [21:47:57] Because error results are cached for less long [21:48:22] yeah, it's fixed [21:48:37] php ../php-1.23wmf5/maintenance/mergeMessageFileList.php --list-file=extension-list --output=/tmp/junkExtensionMessages.php [21:48:49] PHP Notice: Undefined variable: wmfRealm in /a/common/wmf-config/StartProfiler.php on line 26 [21:48:49] No MWMultiVersion instance initialized! MWScript.php wrapper not used? [21:49:28] RoanKattouw: any idea about this? [21:49:59] Use mwscript [21:50:07] Sorry, the instructions predate het deploy [21:50:18] in tin or terbium? [21:50:27] mwscript mergeMessageFileList.php --wiki=someWikiThatRunsWmf5 --list-file=...... [21:50:28] tin [21:50:40] ok, thx, let me try it [22:04:27] RoanKattouw: it ran successfully, the diff with the original file are: 'Flow' => "$IP/extensions/Flow/Flow.i18n.php", and 'SpecialCentralAuthAliasesNoTranslate' => "$IP/extensions/CentralAuth/CentralAuth.notranslate-alias.php", [22:04:55] CentralAuth is not an expected outcome, should we worry about this? [22:12:13] No. But you should yell at csteipp [22:13:44] Hmm? [22:14:15] csteipp: Apparently you didn't rerun scap after adding an i18n file to CentralAuth? [22:14:19] (The notranslate-alias stuff) [22:15:20] Ah, sorry about that [22:15:48] csteipp: It's OK to sync that out to wmf5 wikis? [22:16:15] spagewmf: Yeah, the i18n nightly update had it synched as of last night [22:17:44] running scapping in a second