[01:08:24] I am having some failed tests with the old timestamps. http://pastebin.com/8ZhA2Vag Setting $wgLocaltimezone = "UTC"; in LocalSettings.php didn't change anything [01:25:16] JeroenDeDauw: ping [01:26:07] marktraceur: ping [01:26:21] Im wondering how I can change the licenses in UploadWizard [01:27:56] aelevadoan: what licenses? the code license? [01:28:16] JeroenDeDauw: no, I mean, when I upload a file, to define a different license list [01:28:33] JeroenDeDauw: in specific a Peer Production license [01:28:46] err, no idea, ages since I looked at this thing [01:29:05] I was checking the Upload config file [01:29:30] UploadWizard.conf.php file [01:33:07] JeroenDeDauw: do you think someone on he neam could help me out? [04:09:54] Anyone able to nuke a spammer on mediawiki.wiki? [04:17:05] nvm got someone on it :) [09:00:49] MW 1.24.2 - search box prompt and typed text shows below the actual box - see https://wikispooks.net/wiki/Main_Page . Any suggestions? [09:07:20] sabretache: the site shows me HTTPS certificate errors when i access it, by the way. [09:09:29] @MatmaRex - Yes it's a new server being commissioned to replace the existing production one at https://wikispooks.com/wiki/Main_Page . It is using the PS cert so I can debug the Web server settings etc [09:11:43] sabretache: might be the 'externalsearch' gadget causing problems. [09:11:48] .com server running MW 1.23.3 New server has all latest releases [09:13:08] MatamaRex: It was a fresh install so should be all latest gadgets etc. But I'll have a look. Thanks [09:16:38] sabretache: just to make sure, since this was a version update - do you have the versions of all skins and extensions for MW 1.24 on the new wiki, not 1.23? [09:19:40] MatamaRex: Yes. It was a completely fresh install on a new cloud VM - might have copied something over from the production server backups when populating though. I'll check it out [11:28:30] Hey, I wanna know how many slots did mediawiki got? [11:29:33] qgil: ^ [12:09:22] Hello can anyone tell me how many slots did mediawiki got? [12:10:43] whats that even mean [12:12:55] ReadError: Oh, I mean via Google Summer of Code, how many slot do mediawiki got via gsoc [12:13:21] aren't peple here big fan gsoc? [12:23:18] qgil: ^ [12:32:21] q174: why are you interested? [12:33:18] Nemo_bis: I wanna apply for next year, so just asking [12:33:42] q174: no need to worry then, we usually get all the slots we ask [12:34:17] ok, so this year there were I guess 15 projects, right? [12:34:20] Fixing some bugs now and in the coming months is a great way to improve your chances https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [12:34:47] Dunno. We got 33 applications for a certain number of ideas some of which were not proposed by us [12:35:17] ok, so do I project can have more than 1 students? [12:35:26] 1 project* [12:35:49] no [12:36:16] ok [12:36:39] The earlier you start working on the codebase, the more likely you are to find an idea and mentor for you [12:36:56] ok, got it. [12:38:00] We don't lack potential ideas, mentors or students, but it's rare for them to match correctly :) [12:39:32] so, is this year's student evaluations been done? [12:41:31] Not yet [12:41:49] See the GSoC website for the timeline [12:42:05] ok, thanks for help [12:42:23] Hey there. I wonder if anyone could help me with an issue I appear to be having with a MW 1.24.1 installation on PHP-FPM 5.4.16 and nGinx. Whenever I try to use an image as a link in an article, but resize it, the thumbnail is not being created. Uploads are working, and an initial thumbnail is being created in the appropriate thumb hashed dir to display on the File: page. It's just any [12:42:23] subsequent attempt to make a thumbnail don't work. I have a debug log which I think shows where the issuing is occuring, I just don't know PHP enough to understand why (using GD instead of ImageMagick). [12:42:59] http://www.pastebin.com/yeif2Hw [12:43:25] q174, I arrive late, but I see Nemo_bis has replied to your questions. Thank you! Next time you can ping Niharika -- she's our org admin [12:43:44] (and generally quicker than me on IRC an other places) :) [12:43:49] and the specific page is http://wiki.magicjudges.org/en/w/User:Mumbles [12:44:17] Oh. Hi qgil, q174. Yep, ping me for all things GSoC and Outreachy. I'd be happy to help. [12:44:21] qgil: ok, I didn't know that, thanks [12:48:40] Or should I perhaps try and get some help from the mailing list? [12:51:14] RaTB0X, sorry but I don't know the answer to your question. I would try https://www.mediawiki.org/wiki/Project:Support_desk [12:52:19] I couldn't get a question to actually post there earlier, so I assume until I'm smart enough to figure that out I shouldn't be asking anything more advanced, heh. I will give it another shot though. Thank you. [12:53:32] RaTB0X, login and "Start a new discussion" should do... [12:54:04] Maybe I had forgotten to log in now you mention it... [13:07:18] It must have been because I wasn't logged in. Let's see if I get anywhere with the post there. Thanks again. [13:15:11] RaTB0X, good luck! [14:55:25] https://www.dropbox.com/s/srnyon10vtg0lty/Screenshot%202015-04-24%2000.49.08.jpg?dl=0 so what exacly am i entering here? the admin account or the main general user account? if i press next will i be asked to create a general user? its sort of missleading [15:01:29] Avi: the initial admin account (normally, your account) [15:02:32] who will be given the "admin" and "bureaucrat" rights (the latter allows you to give other accounts "admin" and "bureaucrat") [15:02:57] ah [15:03:29] for some reason the "don't run as admin" thing hasn't caught on with the mediawiki crowd [15:05:20] SamB_7: A site admin and a system admin are pretty different. :-) [15:05:40] ;-) [15:06:21] except when its run on my computer anyway [15:06:35] It isn't uncommon at all for a Web app to grant the first/initial account with admin rights, so that the user can administer the site (or give others the ability to do so). [15:07:17] Special:ListGroupRights lists relevant permissions. [15:07:41] more seriously, there's not so much motivation for the mediawiki install procedure to have you make a standard account [15:07:42] anything a (site) admin does is reversible anyway [15:08:33] I guess the main reason it would be useful is to help you be mindful of what standard users can and can't do? [15:09:05] hm [15:09:20] i remember the old version had me make an admin and a standard account (i think) [15:10:03] That was probably pre-Monobook [15:11:05] hmm, pre-monobook ... I'm having trouble remembering whether I've seen MW pre-Monobook [15:11:27] hm, why a textbox here https://www.dropbox.com/s/26vbyf3e0y250ys/Screenshot%202015-04-24%2001.11.17.jpg?dl=0 [15:11:33] Looked something like this: https://nostalgia.wikipedia.org/wiki/HomePage [15:12:08] heh [15:17:49] hm, so how do i import my old wiki into the new one? [15:18:12] just overwrite the mysql db and run update.php? [15:18:18] and replace /images ? [15:20:28] Use dumpBackup then importDump [15:22:49] well the only backup i got is the files from it, and then an sql file [15:59:37] marktraceur: JeroenDeDauw: do you know how I can add other licenses to UploadWizard? [16:00:28] aelevadoan: It's possible in LocalSettings.php I think. [16:01:01] marktraceur: but I mean when uploading the files, I want certain licenses to appear [16:01:07] Yeah. [16:01:21] aelevadoan: LocalSettings.php, there are some config variables to mess with [16:03:07] marktraceur: I first edited the Mediawiki:Licenses page [16:03:27] each one with a template [16:03:41] I mean, each license has an associated template [16:03:52] and I changed the footer [16:03:56] That would work for Special:Upload, but not UploadWizard, I think [16:03:58] and several pages related to policies and that [16:04:00] yes [16:04:03] exactly [16:04:07] now Im with UploadWizard [16:04:37] and I saw that in UploadWizard.config.php [16:04:42] Right. [16:04:42] you can change the infographic image [16:04:45] for example [16:04:49] and that there are arrays of licenses [16:05:00] aelevadoan: So you saw the note about not changing the UW.config.php file, right? And using LocalSettings? [16:05:09] no [16:05:19] OK, well, it's there. [16:05:24] Don't change the default config. [16:05:26] where does UploadWizard get the licenses from? [16:05:41] aelevadoan: From the $wgUploadWizardConfig['licenses'] array I think [16:05:45] Let me confirm that [16:05:56] thanks [16:06:04] I would like to understand a bit better that config [16:06:21] I saw that in Upload Wizard Extension talk someone asked [16:06:26] and I didnt find any answers [16:06:37] $wgUploadWizardConfig['licenses']['my-license'] = array( ... ) [16:06:37] so I will give feedback on that when I manage to get it to work on my wiki [16:06:45] where does that variable appear¡ [16:06:47] ? [16:07:12] aelevadoan: Appear? It's defined in UW.config.php [16:07:17] ok [16:07:21] aelevadoan: You should modify it in LocalSettings.php. [16:07:27] how? [16:07:36] With literally the line of code I gave you. [16:07:46] Except put the definition into the ( ... ) bit [16:07:55] but I include that line you mean? [16:07:58] because it isnt there by default [16:08:01] See the licenses array in the default config for details [16:08:04] aelevadoan: Yes, add the line. [16:08:09] oh ok [16:10:36] so the format is: [16:10:37] 'licenses' => array( [16:10:38] 'cc-by-sa-4.0' => array( [16:10:38] 'msg' => 'mwe-upwiz-license-cc-by-sa-4.0', [16:10:39] 'icons' => array( 'cc-by', 'cc-sa' ), [16:10:39] 'url' => '//creativecommons.org/licenses/by-sa/4.0/', [16:10:39] 'languageCodePrefix' => 'deed.' [16:10:40] ), [16:11:30] !paste [16:11:30] http://tools.wmflabs.org/paste [16:11:36] !pastebin [16:11:36] To avoid overflowing the channel with inane amounts of text, use https://phabricator.wikimedia.org/paste/create/ or other awesome pastebin sites to share code, errors, and other large texts. [16:11:36] ok [16:11:38] sorry [16:11:42] No problem [16:11:56] But yes, that's exactly the format I told you to look up, exactly where I told you it would be [16:12:03] unrelated, but why not use [] over array()? [16:12:11] Uhhh [16:12:27] HA [16:12:30] onei: I'm not exactly a PHP aficionado but I don't think [] is a thing [16:12:45] It most definitely is, and I was MOCKED in here for using that convention in JS [16:13:00] also morning everyone [16:13:04] Oh, it's a 5.4 thing. [16:13:10] http://php.net/manual/en/language.types.array.php [16:13:12] We don't support 5.4 officially yet IIRC [16:13:16] ah, you beat me to it [16:13:53] Like, presumably our code will run in it mostly, but we can't have 5.4 code yet because our cluster is on 5.3 I think [16:13:57] Alright, sorry. vindication was necessary. so I'm getting a this error: parsoidserver-http-request-error: MWHttpRequest error: . but I haven't the foggiest what isn't working correctly [16:14:13] it was, and now it isn't [16:14:21] Ulfr: Do you have Parsoid logs? [16:14:25] marktraceur: I dont have "$wgUploadWizardConfig['licenses']['my-license']" in the config file [16:14:28] what line are you talking about? [16:14:42] aelevadoan: That was an example. [16:15:03] http://www.mediawiki.org/wiki/Release_notes/1.24 this technically removed support for something deprecated in 5.4 [16:15:16] ...oh? [16:15:16] oh ok, so you mean the 'licenses' => array( part of the code? [16:15:26] scratch that, removed not deprecated [16:15:37] register_globals specifically [16:16:21] aelevadoan: What? You shouldn't be modifying that file. You should add the example I gave you to LocalSettings and modify it to your needs. [16:17:11] marktraceur: ahá, and 'my-license' is the name of the license I want to use? [16:17:18] like, for example, peer production license? [16:17:24] Yeah. [16:17:37] and in array [16:17:46] do I use the same format as in the config file? [16:17:48] marktraceur: I don't think I have logs because I didn't use the superspiffy package [16:17:49] ;; [16:17:51] Yes, that's what I said. [16:18:13] Ulfr: Huh, well...can you try making a request to Parsoid directly, maybe? [16:18:43] Runs fine [16:18:55] Assuming the page output being rendered in html is what's supposed to happen [16:19:00] So that's not the broken link. Yeah. [16:19:13] Maybe there's some CORS crap happening [16:19:39] Hm. It's working intermittently [16:19:45] Does that daemon often need restarting? [16:20:06] marktraceur: could you check this out please http://pad.partidopirata.com.ar/p/upload-wizard-licenses ? [16:20:30] * Ulfr facepalms [16:20:32] Yep. [16:20:36] It just needed a restart [16:44:53] marktraceur: if in $wgUploadWizardConfig['licensing']['ownwork']['licenses'][]  = 'my-license';  I have several licenses, how do I list them? [16:52:26] aelevadoan: Do that same thing, but with the different names. [16:52:42] aelevadoan: Maybe you should read a quick PHP tutorial so you have some idea what's happening here [16:52:59] I will, where can I find a good documentation? [16:53:23] aelevadoan: Google for "PHP tutorial", I guarantee you, you will find one. [16:53:36] do I have to define wgUploadWizardConfig['licensing']['ownwork']['licenses'][]  = 'my-license'; for each license then? [16:54:01] You're not really...defining, you're adding an element to an array. [16:55:14] aelevadoan: Strongly suggesting that you read a tutorial first - an important premise of community support is that people should try to help themselves before asking for others to stop what they're doing and help [16:55:31] ok [16:55:38] but you dont have to be rude about it [16:55:44] at least a feel a subtle annoyance [16:56:16] aelevadoan: I've been fairly patient, I'm just trying to help you understand the best path forward [16:56:34] thanks [18:17:13] MatmaRex: yo [18:17:22] Hallo from Ufa. [18:17:34] Looks like you did stuff with collation some time ago. [18:19:31] I'm not sure that I understand Collation.php. It says: "This data isn't used for sorting (the ICU library handles that)", so I would think that letters that are separate to begin with are not supposed to appear there, [18:19:43] but I do see Tatar ('tt') there [18:20:16] and it just has single letters [18:21:00] Is collation defined according to $wgLanguageCode or in the database? [18:26:03] hi aharoni [18:27:14] aharoni: the big list in Collation.php is only used to decide which letters get separate headings on category pages. [18:29:09] MatmaRex: I think that Tatar is useless there, and some other languages. [18:29:29] aharoni: maybe. useless how? [18:29:42] The letters listed for it are separate anyway AFAIK, and they don't help with sorting (as the comment says). [18:30:26] but, they are listed *because* they are separate? [18:30:48] i mean, for example [18:31:20] I can understand why is "Ng" there for Welsh, for example. [18:31:23] we have "É" listed for 'is' (Icelandic, i believe) - so it gets its own heading [18:31:40] but that same letter is not a separate letter in French (I think), it is sorted under E [18:31:52] In Tatar, these letters will get their own heading even without that line in Collation.php. [18:32:30] If in my test wiki I set $wgLanguageCode to 'tt' and check that they are listed correctly, is it a good enough test? [18:33:13] hmm. yeah, it is possible that some of the entries might be redundant. [18:33:26] aharoni: the list of such letters common to all languages is in /serialized/first-letters-root.ser (warning, huge file) [18:34:06] be a man [18:34:09] open it in nano [18:34:23] Ulfr: isn't vim good enough? [18:34:33] the data comes from two different sources, and nobody actually verified whether most of these languages work ;), so it's possible [18:34:50] MatmaRex: Now the real question is: How do I actually make it wort correctly for Tatar. [18:34:59] Is it supposed to be supported in the database or in CLDR? [18:35:07] Or ICU? [18:35:10] vim is an obfuscation layer over a text editor [18:35:10] aharoni: ICU [18:35:16] Is ICU separate from CLDR? [18:35:17] aharoni: ICU handles the ordering [18:35:28] TGIF [18:35:35] aharoni: MediaWiki gets the ordered list of pages, and only decides where in that list to insert headings [18:35:44] yes, it's a separate project i think [18:36:05] crappy crap, localization sucks [18:36:10] ^ [18:36:29] Intensive Care Unit [18:36:30] if everyone would just speak american we wouldn't have these problems [18:36:40] International Christian University [18:36:53] (Life would be so boring, though.) [18:36:57] Nope [18:36:59] international componenets for unicode, i think. fairly silly name, heh [18:37:07] Would still have to battle the evils of white space [18:37:28] Yeah, I know [18:37:35] MatmaRex, from ICU's website: [18:37:37] Collation: Compare strings according to the conventions and standards of a particular language, region or country. ICU's collation is based on the Unicode Collation Algorithm plus locale-specific comparison rules from the Common Locale Data Repository, a comprehensive source for this type of data. [18:37:40] Well, at least that. [18:37:51] So I need to get that language into CLDR, I guess. [18:38:03] and then hook it up to the flux capacitor [18:38:53] I'm sorry, I'll stop. Been in a meeting for 2 hours and am not allowed to talk -.-; [18:45:59] MatmaRex: as a matter of fact, I suspect that these letters for Tatar are not just useless, but actually harmful. [18:47:17] who let these characters in without actually demanding to see them in use? [18:47:57] * aharoni doesn't want to name names :) [18:48:00] i did [18:48:04] sue me [18:48:10] aharoni: patches welcome :) [18:48:28] MatmaRex: that's the plan [18:48:33] thanks [18:49:26] where by "let these characters in" I meant "approved adding them to Unicode"; if that didn't happen then I've no clue what you're talking about ;-) [18:50:29] Oh, that would probably me Michael Everson. [18:50:41] Michael Everson is the Chuck Norris of writing. [18:51:34] Chuck Norris allows the world to exist, Michael Everson allows letters to be written. [18:52:25] SamB_7: And today I happen to visiting a city where this language is spoken and written, and the nice people complained about collation. [18:54:26] well, I personally can't stand what ls does under en_US ... [18:56:17] what does ls do differently in different locales? [20:39:17] Can anyone be of help of how to make the "unblockable" permission? [20:41:44] Repton: write an extension that hooks BlockIp? http://www.mediawiki.org/wiki/Manual:Hooks/BlockIp [20:41:55] !hook BlockIp [20:41:55] https://www.mediawiki.org/wiki/Manual:Hooks/BlockIp [20:43:53] I've seen wikis with "Can not be blocked (unblockable)" or "Unblockable (unblockable)" [20:44:00] Ok [20:44:12] I'll look at that page [20:47:13] Repton: If you know the wiki, try seeing if the extension is listed at special:version which does it [20:50:19] Ok I looked and I can't find it on the particular wiki [21:42:23] Hey, I'm having some troubles with MobileFrontend, I'm injecting content on a SkinAfterContent hook, and it's now showing up in Mobile mode. [21:43:50] probably best place to ask is #wikimedia-mobile [21:43:57] Thank you! [21:50:02] Hmm, it looks like it's specific to the Wikimedia projects tho. [21:50:43] Yeah, but those guys are the developers of the MF extension