[04:32:25] Is it possible to use Wikipedia's infoboxes that doesn't use Scribunto? [04:32:39] I am on a shared server on Hostgator, and I can't use Scribunto [08:20:53] Hello people, need help with subst: . [08:21:31] I have a page, so I have a PAGENAME, it is a human name. I may #explode it with -1 parameter, so to get a surname. [08:22:12] I want to use subst: or safesubst: to get the surname and to put it into page on saving. How can I do this? [08:22:45] 1) {{#explode:{{PAGENAME}}| |-1}} -- this gives me a surname, but does not subst. [08:23:03] 2) {{safesubst:{{#explode:PAGENAME| |-1}}}} -- this does not give me a surname :-( [08:23:13] What can be done then? Thanks! [09:24:40] I want to use subst: or safesubst: to get part of PAGENAME; how can I? [09:24:56] {{safesubst:{{#explode:PAGENAME| |-1}}}} -- does not work :-( [09:53:48] When is it gonna start?? [10:24:52] Solved. {{subst:#explode:{{subst:PAGENAME}}| |-1}} [12:41:12] hello, anybody!!? [12:41:28] !hello [12:41:28] There is no such key, you probably want to try: !, !iamabot, !wm-bot, [12:41:32] * Reedy kicks wm-bot [12:41:36] !ask [12:41:36] Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [12:42:35] i am a student partaking in the GCI competition and choosed wikimedia as the organisation to work with, how do i proceed to get the task as a student? [12:46:32] hi Black_cypher [12:47:30] Black_cypher: i think the contest hasn't started yet, but you can find instructions for students at https://www.mediawiki.org/wiki/Google_Code-in_2015#Instructions_for_GCI_students [12:47:51] ok thanks. [13:17:22] MatmaRex: Can you add a key for that link? I expect a lot more GCI aspirants to turn up. [13:18:18] Niharika: probably. can't you? :) [13:18:19] I trust: petan\|w!.*@wikimedia/Petrb (2admin), .*@wikimedia/.* (2trusted), .*@wikipedia/.* (2trusted), .*@mediawiki/..* (2trusted), .*@wikipedia/MZMcBride (2admin), .*@wikimedia/Krinkle (2admin), .*@fsf/.* (2trusted), .*@unaffiliated/valhallasw (2trusted), .*@wikinews/bawolff (2admin), .*@unaffiliated/jeroendedauw (2trusted), .*@MediaWiki/.* (2trusted), .*@unaffiliated/ciencia-al-poder (2trusted), [13:18:19] @trusted [13:18:37] Nope. [13:18:40] Niharika: the bot should listen to you. [13:18:45] !gci [13:18:45] Google Code-In is a contest to introduce pre-university students (ages 13-17) to the many kinds of contributions that make open source software development possible. https://www.mediawiki.org/wiki/Google_Code-In [13:18:45] I am not trustworthy enough. :P [13:18:50] !gcihelp [13:18:57] !gcihelp is https://www.mediawiki.org/wiki/Google_Code-in_2015#Instructions_for_GCI_students [13:18:57] Key was added [13:19:25] MatmaRex: Thanks! [15:56:14] andre__afk: what is name of your cabal channel pls [15:57:43] more cabals? :o [15:59:05] yes but please don't tell others [15:59:22] andre__afk: I tried -releng but clearly that is wrong combination of rel eng and dev [16:00:09] Hint: Next time you want to ask about a sikrit channel, do it in PM, not in a channel with 309 users in it :p [16:00:33] it's not secret really :P [16:14:18] petan: release engineering? that's #wikimedia-releng [16:15:19] greg-g: hmm it must be a different channel with very similar name, because afaik in that one people weren't voice and andre__afk was in there :P [16:17:04] -devtools ? [16:24:49] greg-g: -devrel :D I found it [16:30:03] there's devrel now too? [16:30:08] oh right, of course [16:45:21] Having problems upgrading to 1.26.0 using mediawiki/vendor. It's as if nothing in vendor/ is getting parsed correctly. Ideas? [17:01:40] Ah...composer.lock no longer in the repo, so had to remove it manually [17:03:24] Yeah, propogating deletions is useful [17:04:34] How would MW do that via a tarball upgrade? [17:08:16] Extract tarball to new location, copy across localsettings, cache, uploads etc [17:08:48] Well, if you don't do something like that periodically, you end up with a lot of old files, renamed, moved, deleeted etc [17:09:01] Granted, MW doesn't dynamically autoload them, so they don't cause any harm, but it's a mess [17:12:16] Yeah, that's true; I usually go the other direction as it's easier than trying to remember all the custom files to mvoe over. [17:30:45] petan, -devrel? [17:33:57] howdy all [17:34:13] I somehow mangled my mediawiki upgrade [17:34:54] it works if i go to /var/www/mediawiki-1.26.0 but i wanted it to be /var/www/wiki [17:35:17] maybe i ran the upgrade scripts before moving it from mediawiki-1.26.0 to wiki? [17:35:34] looking on the wiki it looks like the Warning: Inaccessible files might be my solve [17:35:41] but it is in terms of domians [17:35:47] but i'm on the same server [17:36:08] mv /var/www/mediawiki-1.26.0 /var/www/wiki [17:36:14] Though, I presume the old files are in /wiki? [17:36:18] no [17:36:25] Here is how i did the upgrade [17:36:36] extracted the latest tar.gz of mediawiki [17:36:50] it went into the mediawiki-1.26.0 [17:36:56] i copied the settings file into that [17:37:03] and i ran the upgrade script [17:37:10] then i moved it to wiki [17:37:17] after moving the old wiki to oldwiki [17:37:21] mv wiki oldwiki [17:37:29] mv mediawiki-1.26.0 to wiki [17:37:34] my settings file says its wiki [17:37:36] but ... [17:37:38] it didn't work [17:37:40] nothing showed [17:37:44] !blankpage [17:37:44] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [17:37:49] so i moved it back to mediawiki-1.26.0 [17:37:58] and changed in the settings file to mediawiki-1.26.0 [17:38:01] and discovered it showed up [17:38:17] that lead me to looking for places in the database that had the wrong path [17:38:35] Paths aren't stored in the database, bar potentially in some caches [17:38:44] and i saw the references in the module_deps tabl [17:38:55] Reedy: they are in that module_deps table [17:38:59] Yeah, that's a cache [17:39:08] hmm [17:39:17] But that would only break javascript/css stuff [17:39:21] Not the whole wiki [17:39:49] odd though eh [17:40:03] that it works if i have it in mediawiki-1.26.0 [17:40:05] but not wiki [17:40:13] looking at the url you sent [17:40:33] you can just truncate the module_deps table [17:40:57] hmm [17:41:03] do you think that will solve the issue [17:41:12] Is your wiki public? [17:41:23] It's hard to say, as I'm just guessing what's wrong [17:41:31] I presumed your "nothing showed" was a blank page [17:41:39] what do you think of that reference on the wiki to the Warning: Inaccessible files [17:41:47] https://www.mediawiki.org/wiki/Manual:Errors_and_symptoms#You_see_a_Blank_Page [17:41:48] Dpeends what the warning is [17:41:57] ok 1 sec. [17:42:00] uh, what files are inaccessible [17:42:03] wiki is not public [17:42:03] in/un [17:42:17] let me switch it back to wiki and see what the errors are [17:42:28] i had turned logging on [17:42:37] ok [17:43:42] WHAT! It works now [17:43:43] wtf [17:43:47] cache? [17:43:55] that makes no sense to me [17:43:57] oh well. [17:44:15] lol [17:44:38] you must be a lucky charm [17:44:39] ;) [17:45:02] TTL on various caches varies [17:45:07] well, then this upgrade from debian wheezy to jessie and upgrading mediawiki and autobackups are all now working [17:45:13] Reedy: yes I think that must be it [17:45:58] winning on a monday morning. ;) [17:58:12] I am a GCI contestant, Can I know how to clone or find SmiteSpam extension in my core so that I can work on it [17:58:50] hi sanjay [17:58:53] !e SmiteSpam [17:58:53] https://www.mediawiki.org/wiki/Extension:SmiteSpam [17:58:58] hi [17:59:02] hi guys [17:59:04] it should be documented there [17:59:22] I'm a GCI participant [17:59:58] MatmaRex: I need your help please [18:00:19] yes? [18:00:30] MatmaRex: https://codein.withgoogle.com/dashboard/task-instances/5326699004690432/ [18:00:48] In this task, where do I download the code which I need to modify? [18:02:09] I viewed this website https://www.mediawiki.org/wiki/Extension:SmiteSpam, where should I place this command 'require_once "$IP/extensions/SmiteSpam/SmiteSpam.php";' [18:02:17] MatmaRex: Are you there? [18:03:11] yes. hold on [18:03:49] MatmaRex:please [18:04:27] ananayarora: so, that task is about the MobileFrontend extension: https://www.mediawiki.org/wiki/Extension:MobileFrontend [18:05:09] Okay. So I download mediawiki, Install that extension, and code. Right? [18:05:16] ananayarora: you can get the Git repository for it per the instructions here: https://www.mediawiki.org/wiki/Download_from_Git#Using_Git_to_download_MediaWiki_extensions [18:05:39] MatmaRex: Thanks! [18:06:37] What should i do [18:07:14] sanjay: at the bottom of your LocalSettings.php file, like it's written on that page. [18:07:22] (you need to have MediaWiki installed first.) [18:07:27] kk [18:07:40] but how to install Mediawiki [18:07:41] MatmaRex: Do I need to send pull requests to this Git Repository? Or can I simply upload it to GCI's task submission page? [18:09:23] sanjay: you can use vagrant to run mediawiki https://www.mediawiki.org/wiki/MediaWiki-Vagrant [18:09:44] kk got it [18:09:45] ananayarora: i think people will expect you to upload patches to Gerrit (our code review system on top of Git). https://www.mediawiki.org/wiki/Gerrit but it might be different for some tasks [18:11:01] Hello, I'm doing this https://codein.withgoogle.com/dashboard/task-instances/5804085592719360/ task. All I need to do is just clone repository, change this one line and make a pull request, right? [18:11:33] This is my task description -"Most extensions listed in Special:Version have a link pointing to their wiki page, SmiteSpam should have this too." But what link should i include. [18:11:52] Albert221: you fix the bug and use gerrit to upload your change - https://www.mediawiki.org/wiki/Gerrit/Tutorial [18:14:44] (it seems that instructions about Gerrit have mysteriously disappeared from https://www.mediawiki.org/wiki/Google_Code-in_2015#Instructions_for_GCI_students , i just added them back) [18:22:24] sanjay: probably the mediawiki.org page for SmiteSpam [18:22:26] !e SmiteSpam [18:22:26] https://www.mediawiki.org/wiki/Extension:SmiteSpam [18:24:36] ok thank you [18:32:02] I have fixed the bug. For submitting the task should i attach the smitespam.php file or anything else [18:36:18] sanjay: have you gotten set up with Gerrit? [18:36:29] s [18:36:38] yes [18:37:22] sanjay: ok, you should submit it as a gerrit patch, and then add the link to the GCI task [18:38:05] I have an icon in my contest website saying "Attach file". Can I upload the file over there and send it. [18:38:12] legoktm: Help me please. I've claimed this task. [18:38:23] https://phabricator.wikimedia.org/T102154 [18:39:10] legoktm: I have an icon in my contest website saying "Attach file". Can I upload the file over there and send it. [18:39:36] sanjay: ok, that's fine for the GCI site, but you also need to upload it in Gerrit [18:39:50] $ git review -s Problems encountered installing commit-msg hook The following command failed with exit code 104 "GET https://gerrit.wikimedia.org/tools/hooks/commit-msg" ----------------------- 404 Not Found

Not Found

The requested URL /tools/hooks/commit-msg was not found on this server.

---------------- [18:39:56] what should I do there? [18:40:27] legoktm: How to upload it in gerrit [18:41:01] sanjay: have you read through https://www.mediawiki.org/wiki/Gerrit/Getting_started ? the "Write and send new code:" part [18:41:13] ananayarora: What do you need help with? [18:41:23] Albert221: How did you clone the repository? [18:41:23] https://phabricator.wikimedia.org/T102154 [18:41:44] legoktm:ok,I will do it [18:41:47] with command: git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/MobileFrontend [18:41:49] legoktm: I downloaded the repo, installed the extension, but I don't know which file to modify [18:43:19] ananayarora: when you don't know where to change, try grepping in the code with snippets given in task [18:43:33] Okay, Thank you codezee [18:43:36] to see where the file is [18:45:16] ananayarora: I'm not sure, bmansurov is the one mentoring it, he or someone else in the #wikimedia-mobile channel might be able to help [18:47:17] Albert221: follow https://www.mediawiki.org/wiki/Gerrit/Tutorial step by step to set up gerrit and clone using ssh [18:47:32] Albert221: ok, ostriches says that git-review isn't smart enough to figure it out over https, try re-cloning over SSH [18:55:00] legoktm: I can't find him [18:55:16] legoktm: Anyway you can help me? I just need to know the file where I have to make the change. [18:55:51] ananayarora: looks like they went to sleep, I think they're in a different timezone. I would suggest asking your question in there, and someone else might be able to help. I looked but couldn't really figure it out either, I'm not very familiar with that code :/ [18:56:14] If I abandon this task [18:56:36] Is there a chance that I'll put a bad impression? [18:56:40] ananayarora: the best possible way is to leave a comment on phabricator, you'll get a response within a day [18:57:34] or you could try loking for bmansurov some hours later on #wikimedia-mobile, probably in a few hours from now [18:58:31] ^^ do that [19:00:23] Albert221: yay! it worked :) [19:00:27] :) [19:01:12] I must say that working with this kind of development is a headache on Windows [19:01:15] I can't claim 2 tasks? [19:01:19] At one time? [19:01:40] Albert221: is there a phabricator bug associated with this task? you should link to it in the commit message: https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines#Cross-references [19:02:32] ananayarora: no, you have to be patient [19:03:06] oh, is there a way to change commit message? [19:04:17] Albert221: git commit --amend [19:05:06] Albert221: see https://www.mediawiki.org/wiki/Gerrit/Getting_started the "make it and amend your commit" section [19:11:08] legoktm: I've taken up your task, can you help me with this? [19:11:13] https://codein.withgoogle.com/dashboard/task-instances/5516447337938944/ [19:12:27] ananayarora: have you read the instructions? What part is unclear? I can help, but I can't really hand-hold you through the entire thing [19:13:43] legoktm: Yes. So I wanna ask you, Where is the ConvertExtensionToRegistration script executed? [19:14:40] ananayarora: https://www.mediawiki.org/wiki/Manual:ConvertExtensionToRegistration.php [19:14:47] ananayarora: do you have MediaWiki set up locally? [19:14:53] legoktm: Yes. [19:15:32] ok, so you should be able to run the script similar to the example on the page I just linked [19:15:34] legoktm: Do I need to convert the quiz extension? [19:15:37] yes [19:15:45] so you'll need to clone the Quiz git repository [19:15:53] Yes, I've done that. [19:16:58] so try the script :) [19:20:16] legoktm: Fatal error: Cannot redeclare wfQuizExtension() (previously declared in /Users/ananayarora/Documents/www/gci/extensions/Quiz/Quiz.php:83) in /Users/ananayarora/Documents/www/gci/extensions/Quiz/Quiz.php on line 86 [19:20:17] Got this :P [19:20:45] ananayarora: so the global functions need to be moved into a static class, let me try and find an example of this [19:22:17] if this wgGroupPermissions ['*'] ['edit'] = false; disables visitors do see the page code, how come crawlers/bots can see it ? [19:22:33] HeXiLeD: that disables the ability for people to edit, not read [19:22:37] !access [19:22:37] For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [19:23:14] ananayarora: see https://github.com/wikimedia/mediawiki-extensions-CharInsert/commit/59428c54398592808988b3367309e209105072ae for example on how the functions are moved into static functions in a class. [19:23:28] ananayarora: you'll need to do a similar thing in Quiz before you can run the script [19:23:39] okay [19:23:51] i see. so how does one disable the right to read the page but not the code ? [19:24:27] you want to disable reading the rendered HTML, but not the wikitext? that's not really possible...or am I misunderstanding? [19:25:15] not sure if i am understand you either [19:25:41] why would you want to do that? [19:26:45] i want to allow visitors to read what is published but not the code that creates what is published [19:26:46] disable from read the output of &action=edit [19:26:51] The short answer is that you don't [19:27:13] MediaWiki doesn't have support for premissions that fine grained [19:27:54] i see. maybe regex and mod security in apache ? [19:27:59] you could try disabling the edit action, the raw action, and the api. No idea if that would be enough [19:28:20] oh and Special:Expandtemplates (since otherwise people could do {{msgnw:page name}}) [19:30:03] legoktm: Do I need to add var before the variables? [19:30:25] you shouldn't [19:31:35] HeXiLeD: If you're only interested in security through obscurity, you could force the webserver to only allow access via $wgArticlePath, not $wgScriptPath, combined with a custom skin, to remove relavent links (but there's ways around that if the attacker knows what they are doing) [19:33:19] legoktm: http://pastebin.com/chVA7gtR [19:33:30] legoktm: Fatal error: Cannot redeclare class Quiz in /Users/ananayarora/Documents/www/gci/extensions/Quiz/Quiz.php on line 34 [19:35:20] ananayarora: you don't need the $wg globals, just the *functions*. Since there's already a Quiz class, you should name this one QuizHooks, and put it in Quiz.hooks.php [19:40:28] legoktm: Did that. Successfully compiled. [19:40:39] But I got a blank extension.json :( [19:43:24] legoktm: Oh wait, I fixed it. Removed quiz.php from localsettings.php and I was able to compile quiz.php without errors. [19:43:26] I now have an extension.json file. What do I have to do next? [19:43:26] Test it! [19:43:31] Reedy: How do I test it? :P [19:43:46] Switch to new extension loading instead of the require [19:44:02] See if it seems to run rather than fatal-ing all over the place etc [19:44:59] New Extension Loading? Where is that? :$ [19:47:20] Its on the manual page that legoktm linked before [19:47:37] Under examples [19:48:33] ananayarora: wfLoadExtension( 'Quiz' ); in your LocalSettings.php [19:49:13] Done. [19:49:15] [01346d56] 2015-12-07 19:49:03: Fatal exception of type MWException [19:49:17] Got this. [19:51:41] extensions/Quiz/extension.json validates against the version 1 schema! [19:53:56] legoktm: There? [19:54:28] nice! [19:54:43] ananayarora: I'm about to take a break for lunch, can you upload it as a patch in Gerrit? [19:54:50] legoktm: But I'm getting a fatal MWexception [19:54:58] legoktm: Okay. [19:55:14] !debug [19:55:14] For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [19:55:25] ^ if you turn a few of those on, it should show the full exception message [19:59:40] legoktm: Is this task complete or do I have to fix something else? [20:00:02] ananayarora: you need to fix that fatal] [20:00:03] And you need to upload your code to gerrit [20:02:29] Reedy: How do I upload to Gerrit? [20:02:40] Did you fix the fatal on your wiki? [20:02:41] !gerrit [20:02:41] https://gerrit.wikimedia.org/r/#q,,n,z [20:02:44] ffs [20:03:09] https://www.mediawiki.org/wiki/Special:MyLanguage/Developer_access [20:03:13] https://www.mediawiki.org/wiki/Special:MyLanguage/Gerrit/Tutorial [20:04:25] Oh the GCI madness already started. Nice. :) [20:06:11] !gcihelp | Reedy [20:06:11] Reedy: https://www.mediawiki.org/wiki/Google_Code-in_2015#Instructions_for_GCI_students [20:09:08] Gerrit isn't accepting my publickey :( [20:10:06] did you configure it in gerrit already ? [20:10:30] Fixed. [20:17:24] I'm having a problem here. [20:17:32] I can't setup Git Review [20:17:36] Reedy: ^ [20:17:46] Why can't you? [20:17:57] It pops up 404 when I type git review -s [20:18:09] to what url? [20:18:21]

The requested URL /tools/hooks/commit-msg was not found on this server.

[20:18:43] http://prntscr.com/9bhmfw [20:18:44] MatmaRex: ^^ lol [20:18:52] still broken? lol [20:19:00] Fix wasn't deployed :P [20:19:07] eh, yes, it's broken [20:19:07] :'( [20:19:14] ananayarora: you can install the hook manually [20:19:22] You can do it manually... [20:19:23] Or use git push origin HEAD:refs/for/master [20:19:48] Reedy: that won't help if they don't have the commit-msg hook, Gerrit will reject pushes of commits without Change-Id [20:19:55] true [20:20:11] ananayarora: download the file from https://gerrit.wikimedia.org/r/tools/hooks/commit-msg , and put it into the .git/hooks directory inside your repository [20:20:34] Reedy: hmm, can you deploy https://gerrit.wikimedia.org/r/#/c/257396/ ? [20:20:52] Nope, but let me see if I can find someone to [20:20:58] moment [20:25:01] http://prntscr.com/9bhpfe [20:25:04] Reedy: ^ [20:25:08] MatmaRex: ^^ [20:25:21] You cloned over HTTPS [20:25:26] Are you behind a proxy that blocks ssh? [20:26:03] Nope. [20:26:32] Change the remotes to be ssh, not https [20:26:33] uhh, git-review shouldn't be trying to do anything via HTTPS. even if you cloned via HTTPS. [20:26:52] why can't this ever just work. ugh [20:27:07] `git review -s` should have created a 'gerrit' remote, with a SSH URL [20:27:32] ananayarora: what remotes does `git remote -v` list for you? [20:27:39] http://prntscr.com/9bhqmc [20:28:07] -v [20:28:15] Just use a pastebin, rather than pasting images ;) [20:28:24] okay :p [20:28:39] origin https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Quiz.git (fetch) [20:28:39] origin https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Quiz.git (push) [20:29:34] and `git review -s` does nothing? [20:31:00] okay I Fixed it, I think [20:32:03] http://pastebin.com/Z4DuBtaT [20:32:09] MatmaRex: ^ [20:32:38] Reedy: ^^ [20:32:46] I think I can tell you what your fatals are, without seeing the error [20:32:51] hmm, yeah, so it seems [20:33:03] https://phabricator.wikimedia.org/T102154 <- where's this css? I can't find it in repo [20:33:25] Reedy: The fatals in MediaWiki? [20:33:28] Yup [20:35:12] Reedy: Cool. Please help me. Debug Mode ain't turning on :( [20:35:27] Well, you should fix that [20:35:33] What did you add to your LocalSettings.php? [20:35:40] I've left a handful of comments on your patchset [20:36:08] Struggling to install wikimedia VisualEditor (V1.25 and V1.26 attempted) on CentOS6.7; Parsoid is responding on port 8000 but even attempting to create a page never finishes loading, the log shows [GlobalTitleFail] MessageCache::parse called by VisualEditorDataModule::getScript/Message::parse/Message::toString/Message::parseText/MessageCache::parse with no title set. [20:36:29] error_reporting( -1 ); [20:36:29] ini_set( 'display_errors', 1 ); [20:36:40] Reedy: Pasted this in my LocalSettings.php ^ [20:36:50] $wgShowExceptionDetails = true; [20:38:26] Okay so I used pastebin so much [20:38:36] That they're forcing me to upgrade to pro. [20:38:52] http://pastie.org/10616892 [20:38:57] Reedy: ^ [20:39:05] Or use http://p.defau.lt/new.html [20:39:27] Look at my comments on https://gerrit.wikimedia.org/r/257414 too [20:40:13] "QuizHooks needs autoloading" [20:40:32] You've added the class, but it's not doing anything [20:41:23] Where do I include it? [20:41:36] In quiz.php? [20:41:40] No [20:42:28] $wgAutoloadClasses['QuizHooks'] = $dir . 'Quiz.hooks.php'; [20:42:31] Added this line. [20:42:42] That's wrong [20:42:49] You're migrating the entry point, technically, so the code in quiz.php should be mostly removed [20:43:15] Have a look at the AutoloadClasses in your new json file [20:43:16] But quiz.php converted to extension.json successfully. [20:43:24] I converted that only. [20:43:31] It only did part of the work [20:44:06] https://gfycat.com/YawningOrganicAtlanticspadefish I can't find this css file [20:44:12] "Hooks":"Quiz.hooks.php" [20:44:16] Added this to my JSON [20:44:29] That's wrong [20:44:53] you need to add the AutoloadClasses equivalent to extension.json, so that's "AutoloadClasses": { "QuizHooks": "Quiz.hooks.php" } [20:46:14] done that. [20:46:41] This is what I'm getting [20:46:41] http://p.defau.lt/?QRqP69_LJCzE6RkZGn74tQ [20:47:02] Reedy: JSON Code: http://p.defau.lt/?PAmSt2McYCNnasOkzWdH5A [20:47:11] legoktm: ^ [20:48:33] ananayarora: Yes, missing space, but that's right [20:48:40] For autoloading the class anyway [20:49:13] Reedy: What do you mean by Missing Space? [20:49:22] "QuizHooks":"Quiz.hooks.php" [20:49:24] should be [20:49:26] "QuizHooks": "Quiz.hooks.php" [20:49:31] Like the other lines [20:49:40] Still doesn't work [20:49:52] Reedy: Getting that Fatal error again and again [20:49:58] Right [20:50:04] Look at my other comments on your patch [20:50:10] There's a handful of things that need fixing [20:51:20] Your comments are empty [20:51:28] I can see only one [20:51:37] Look at the diffs [20:51:45] https://gerrit.wikimedia.org/r/#/c/257414/1//COMMIT_MSG,unified [20:51:53] https://gerrit.wikimedia.org/r/#/c/257414/1/Quiz.hooks.php,unified [20:52:00] https://gerrit.wikimedia.org/r/#/c/257414/1/extension.json,unified [20:54:28] Fixed the rest, [20:54:29] This is now in the class below, not in the quiz class [20:54:32] Don't get this ^ [20:54:49] $parser->setHook( 'quiz', 'renderQuiz' ); [20:55:11] Hmm [20:55:32] Why is there a global scope render quiz? [20:55:37] You should copy the comments too [20:55:50] Attempted to install VisualEditor on Wikimedia 1.25.3 and 1.26.0. The editor never finishes loading, and never attempts communication with Parsoid. Parsoid is responding on port 8000. The only error in the debug log is [GlobalTitleFail] MessageCache::parse called by VisualEditorDataModule::getScript/Message::parse/Message::toString/Message::parseText/MessageCache::parse with no title set. Did follow https://www.mediawiki.org/wiki [20:55:57] Oh, no, I'm right [20:56:00] is the tag [20:56:25] ananayarora: The 'renderQuiz' should be 'QuizHooks::renderQuiz' [20:57:58] Reedy: Still not working [20:58:12] Upload a new patchset? [20:58:25] amend and re-review [20:59:42] ananayarora, https://www.mediawiki.org/wiki/Gerrit/Tutorial#Amending_a_change_.28your_own_or_someone_else.27s.29 [21:00:10] brossdh: have you also tried asking in #mediawiki-visualeditor ? [21:00:33] ananayarora: You didn't amend it [21:00:35] andre: thanks [21:00:42] And you've put another useless commit summary [21:00:43] Sorry, Reedy [21:00:48] Hold on. [21:01:11] Greeting [21:01:48] Welcome Husun [21:02:02] :) [21:02:18] how's everybody? [21:02:22] ananayarora, https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines should be helpful [21:03:01] andre__: I'm unable to do it, sorry. [21:03:08] Reedy: Can you review this right now? [21:03:10] ananayarora, oh, I know you can. [21:03:33] ananayarora: you can even edit the changeset summary in your browser window [21:03:41] andre__: I can, but I'm really sleepy right now :P [21:03:48] ananayarora, heh :) [21:03:48] Those 2 commits need squashing too [21:03:58] Husun: alive :P [21:03:59] I bearly have 3 hours to sleep, I have school tomorrow. [21:04:16] andre_ haha xD [21:04:38] ananayarora: Heh. Google Code-In is not a good excuse for falling asleep in school, I'm afraid. :P [21:05:04] there doesn't have to be a reason to sleep in school :P [21:05:07] good day: somebody here, who would help a newbie a little with template programming? [21:05:31] TAXman__: what's the question? [21:06:28] anyways, I wanted to ask that I have seen https://gerrit.wikimedia.org/r/#/c/178891/ as the task 'Pywikibot: Add missing unit tests for pywikibot library' tells me to, but I can't gather any influence or help from it, help :/ [21:06:35] andre__: Hahahahahahaha [21:07:08] My CS teacher is generous, He'll give me an official permission to sleep. [21:07:14] Husun: People in #pywikibot might have more expertise to help with that [21:07:23] bawolff: I'm wondering what the {{#ifeq: clause in following statement does: {{#if: {{{Bausteine|}}} | {{{Bausteine}}} | [[:Kategorie:Wikipedia:Unbekannter Wert (Chemie)|?]]{{#ifeq: {{NAMESPACE}}|{{ns:0}}| [[Kategorie:Wikipedia:Unbekannter Wert (Chemie)]] }} }} [21:07:28] Husun: That patch appears to be merged [21:07:38] Anyways, catch you later guys! And thanks for your help legoktm, MatmaRex, Reedy, andre__ [21:07:49] or do they just want you to use it as a template [21:07:58] andre_Thank you! [21:08:02] bawolff_what patch?? [21:08:19] Husun: https://gerrit.wikimedia.org/r/#/c/178891/ is something that's already merged in to core [21:08:22] bawolff: reason: there is already the categoray in the if clause, why add it again after ns check? [21:08:29] Husun: also see https://www.mediawiki.org/wiki/Google_Code-in_2015#Contacting_Wikimedia_mentors - it should list that channel for the mentor of that task [21:08:42] Husun: At first I thought you wanted help with https://gerrit.wikimedia.org/r/#/c/178891/ specificly, but I think I misunderstood you [21:09:00] andre_ thank you again! [21:09:11] bawolff: yeahh, pretty much [21:09:18] bawolff, that Gerrit patchset is referred to as an example in a Google Code-In task - that's the context [21:09:40] yeah, exactly [21:09:48] TAXman__: Note the colon at the beginning of [[:Kategorie:Wikipedia:Unbekannter Wert (Chemie)|?]] [21:10:10] TAXman__: [[:Kategorie:Wikipedia:Unbekannter Wert (Chemie)|?]] means link to that category, not include the current page in that category [21:10:24] bawolff: right, thx a lot [21:10:45] TAXman__: So that code reads as, make a link to Kategorie:Wikipedia:Unbekannter Wert (Chemie), and also, if the template is being included in main namespace, also put the current page in that category [21:13:51] Can anyone help me here? I can't find CSS/LESS responsible for mw-ui-icon-arrow-down [21:14:44] Albert221: Do you know how to/have you alredy tried, git grep? [21:14:51] Albert221, in which code base? Have you grep'ed? [21:15:12] its probably somewhere in the resources directory [21:15:27] yes, I have, in MobileFrontend [21:15:36] Or maybe the OOUI repo [21:16:01] It's in core. [21:16:18] Oh, does MF overload it? MEH. [21:16:29] (Unfortunate caps lock there.) [21:21:56] cloning speed 27KiB/s :/ [21:22:50] that's a little slow... but it should be a small extension [21:22:58] you're cloning from gerrit? [21:23:09] I'm talking aboute core.git... Yes, from gerrit [21:23:18] it's huge :D [21:23:19] oh, you're going to be here a while then [21:23:31] I thought you were clonning SmiteSpam [21:23:48] Well you're probably going to need both in order to test it, anyways [21:24:22] Some people report faster cloning time by cloning from github, but then you need to modify the upstream urls using git config, which is kind of more complex [21:24:54] 3%. Almost all. [22:09:01] I found it: https://github.com/wikimedia/mediawiki/blob/e87668e86ce9ad20df05c1baa8e7cf3f58900524/resources/src/mediawiki.ui/components/icons.less [22:09:23] but I still can't find this "mw-ui-icon-arrow-up" thing [22:09:35] neither in core and MobileFrontend [22:10:57] I'm going to bed but if anyone knows answer my email is here: w.albert221@gmail.com