[00:15:56] legoktm, should I do something like https://phabricator.wikimedia.org/T129584 ? I mean it feels wrong but is this kind of queue and if I don't do it now it has to wait another 2 years? [00:16:11] "This is a placeholder; the code isn't written yet" [00:18:07] rillke: well, you've already written the code :) but yes, getting in the security-reviews line early is a very good idea [00:18:30] rillke: https://www.mediawiki.org/wiki/Wikimedia_Security_Team/Security_reviews#Requesting_a_review use the phab template linked there [00:22:29] is there a way how to subst a template that is invoking a module? [00:23:37] if I do {{subst:Temp}} which is invoking a module, I get {{#invoke:blabla but I want to get the result of the invokation of blabla [00:24:55] auvajs, does {{{{{|safesubst:}}}#invoke: ... }} work? [00:26:18] I just figured it out, the template should have {{subst:#invoke:blabla}} [00:27:01] yeah, or that but this way you can't see it in the preview [00:27:53] ok I'll try it your way [00:29:08] rillke: your version is better [00:29:20] :-) [00:45:33] is it possible to user (?!bla) in mw lua regexp? so that ([^%s]+(?!/|)) matches a word not followed by / or | ? [00:45:38] *to use [00:47:20] Lua Regexps are very limited. https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns [00:48:57] wouldn't [^%s]+ match "word/someothertext" then? [00:49:36] or how does the (?!/|) group is supposed to work? [00:49:42] * how is the [00:50:19] rillke1: i'm not sure but in normal regexp (?!bla) means not followed by bla [00:50:58] rillke1: [^%s]+ should match a string of non space characters [00:51:05] so a word [00:51:20] or any sequence [00:51:24] of characters [00:51:28] /([^%s]+(?!\/\|))/.test('word/otherword') returns true [00:51:43] in JS [00:52:41] idk [00:52:43] so your word must end on |/ to have some effect at all, otherwise the first pattern [^%s]+ catches all this [00:53:28] hm obviously [00:53:29] * matches, whatever .... [00:54:59] [^%s/|]+(?!\/) ? [00:55:37] this would work in JS, I guess but no clue about lua [00:56:01] and that is the question :) [00:56:16] yeah, just try it [00:56:27] there is a scribunto console on all WMF-wikis [00:56:44] this is why I ask lol [00:57:34] so you're out for a authoritive "no it doesn't work" [00:58:02] I'm rather for how to make it work :) [01:00:01] anomie will know [03:15:10] I have noticed that in wikis using more recent versions of mediawiki, the "pre" HTML tag (and/or using an initial space character, for preformatted text) results in a diff. presentation than in older versions (say, in v.1.23). In newer versions, the text is wrapped. Is this intentional (or a bug)? Is there any kind of document / bug report / blog / anything where I might find info about this change? [03:25:16] Ady: https://phabricator.wikimedia.org/T103780 [03:25:52] it can be overriden in mediawiki:Common.css page on your wiki [03:47:33] Fatal error: Class 'Composer\Semver\VersionParser' not found in /var/www/mediawiki/includes/registration/CoreVersionChecker.php on line 42 [03:47:44] after update, how can I fix it? [03:49:47] do you have mediawiki installed via git? you should update the libraries installed in your vendor/ directory [03:50:11] either by `composer update`, or by switching to the right branch in the directory, depending on how you installed them [03:53:11] MatmaRex: tnx, I did, but now I have quite a lot of other problems :) have a look: http://pravnickyslovnik.cz/Tituln%C3%AD_strana [04:00:07] it's extreme ! :( [04:01:33] please help someone [04:12:12] works now :) [06:23:08] any idea why https://www.mediawiki.org/wiki/Manual:MediaWiki-Recent_Changes-IRCBot wouldn't report changes with cpan stuff properly installed and the line setup in LocalSettings.php? The bot connects as intended but nothing is reported to the target channel [06:42:02] I have noticed that in wikis using more recent versions of mediawiki, the "pre" HTML tag (and/or using an initial space character, for preformatted text) results in a diff. presentation than in older versions. In newer versions, the text is wrapped. Is this intentional (or a bug)? Is there any kind of document / bug report / blog / anything where I might find info about this change? [06:44:27] There is a "pre style="white-space: pre-wrap", so the simple "pre" should not wrap, as it happening in recent versions. Is this a bug? [10:49:59] Hi. I am cloning mediawiki repo. But after 75% of progress, I get the following error: " fatal: The remote end hung up unexpectedly". Should I simply retry it or do something else? [10:53:05] hi, i'm trying to clone the mediawiki repo using gerrit, but get an error as pasted here http://pastebin.com/pLifM89f [10:53:18] should i restart the cloning? [10:55:20] Nemo_bis: can you please help me? [10:55:26] ostriches: around? ^ [10:56:30] I get the same error as @dips [11:06:43] wswq, dips: That is because you are on the same network. [11:07:02] You could try a shallow clone maybe. [11:07:11] But there's not much anybody else can do about your network. [11:10:55] I resolved my issue following these: [11:11:19] andre, you mean this "git clone --depth 1 reponame" ? [11:11:48] Steps here http://pastebin.com/ytcyGnqb [11:11:58] andre__: can you please check and verify? [11:12:14] wswq, yes [11:12:27] dips, what to check and verify? [11:12:37] thanks andre and dips :D [11:12:47] I don't know Git commands by heart either :) [11:13:53] dips, how much time does it take that way? [11:14:29] wswq: lesser than the clone [11:14:31] :P [11:14:41] thanks [12:08:19] I need some urgent help. [12:08:19] When registering an account, it says the account already exists(which it doesnt), create it, and the user page is just an Exception that mediawiki cannot solve. [12:08:45] SleepyMode: Is this on a Wikimedia wiki? [12:08:51] No. [12:09:12] Do you have access to the error logs? [12:09:39] Ahumm not really. [12:10:12] Now I made another account, and it seems to be clear. [12:10:17] its like 50% [12:10:27] Can you link to the wiki and also the username which you were trying to create? [12:10:36] meta.miraheze.org [12:10:42] I'm just a volunteer trying to solve an issue ;( [12:10:46] Username: Gollark [12:10:52] Seems to exist but just gives an error [12:11:02] https://meta.miraheze.org/wiki/Special:CentralAuth/Gollark [12:11:55] I guess that's the Local user data not found exception [12:12:02] (but it could be anything else too) [12:12:23] Its made in the Meta so I can't tell. [12:12:28] It ususally just adds it [12:12:29] Hold on [12:12:31] Talking to a sysadmin [12:13:05] Alright, thank you for helping, Sysadmins are now aviliable and aware of the problem so I'm no longer required. [12:13:12] But still, thanks ;) [12:13:53] SleepyMode: If it is that exception I mentioned, https://phabricator.wikimedia.org/T119736 might have some helpful info [12:14:16] Glaisher We have all of the information about the Exception [12:14:27] I was just.. quite scared as we are trying to keep 100% secured [12:14:35] and an exception that MediaWiki cannot catch.. oh well. [12:15:16] SleepyMode: It's a valid error even if it's not caught ;) [12:15:54] ;) [12:15:58] I'm not a security master. [12:25:46] I have noticed that in wikis using more recent versions of mediawiki, the "pre" HTML tag (and/or using an initial space character, for preformatted text) results in a diff. presentation than in older versions. In newer versions, the text is wrapped. Is this intentional (or a bug)? Is there any kind of document / bug report / blog / anything where I might find info about this change? [12:25:58] There is a "pre style="white-space: pre-wrap", so the simple "pre" should not wrap, as it is happening in newer versions. Is this a bug? [14:15:50] morning [14:55:14] in mediawiki 1.18.1 how do I get rid of a mime type error when uploading .graphml files which contain xml? [14:55:49] I cannot answer the question but please upgrade. 1.18 is ancient history full of security holes. [15:02:15] ah there is an option to disable mime type check [15:24:52] Hello. What does it mean if sb runs this against my wiki. Is he an attacker? load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=cneFL16L [15:25:27] no. why? [15:26:04] The same IP also tried referral spam [15:28:12] it looks like a perfectly regular request for some JavaScript. your browser probably sends identical ones. [15:31:26] Thanks. I just don't understand what those bots are trying to achieve with such requests, when I do them my browser I just see lots of text output. [15:58:29] quit [15:58:33] exit [17:19:09] Hey guys, about a month or so ago I asked what the best way to get a truly random selection of articles tagged to a certain WikiProject would be, and someone baked a Quarry that did that. [17:19:23] I lost the link though...is there a way to search for it? [17:20:00] They sampled some number of random articles tagged by the military history wikiproject, I recall [17:20:31] No word on why I don't have that output bookmarked. [17:22:24] ResMar: if the link was posted here and you know the date, you can look at the channel logs [17:22:34] Ooh. That's a good idea. [17:22:47] Let me try that now. [17:23:40] Oh, logs are daily though. [17:24:26] Ok wow, I found it on the fifth guess. Lucky or what? [17:24:55] https://quarry.wmflabs.org/query/7505 courtesy of Bawolff [17:25:16] :) [17:26:06] From http://bots.wmflabs.org/~wm-bot/logs/%23mediawiki/20160221.txt [17:27:11] Would this query work on the Labs database? [20:48:14] I've logged (under an administrator account) into my wiki from an Android phone. Now I see tiny locks with "edit" and "upload" icons, and I cannot edit from the smartphone. Why?! I use MobileFrontend extension. [20:49:20] ... If I switch to desktop version in my phone, then Edit button is available [20:51:04] Hm, these "locks" appear even when I use Mobile mode in my PC's browser. Bad [22:22:43] I installed Wikibase, why is the first item I created Q2? [22:22:45] Q1 doesn't exist [22:26:01] any idea why https://www.mediawiki.org/wiki/Manual:MediaWiki-Recent_Changes-IRCBot wouldn't report changes with cpan stuff properly installed and the line setup in [22:26:04] LocalSettings.php? The bot connects as intended but nothing is reported to the target channel [22:38:16] also how do I get rid of things like ""? I have one wiki and I only want to link items to articles there