[03:54:00] Hi, I'm Nick ,and I'm doing Google Code In. [04:02:26] ndefilippis: hi nick, welcome here! find tasks and get started, feel free to ask :) [04:03:38] Hi, I was looking at the tutorail for working with Gerrit, and I was wondering how to generate SSH keys in Windows [04:04:18] ndefilippis: https://docs.joyent.com/public-cloud/getting-started/ssh-keys/generating-an-ssh-key-manually/manually-generating-your-ssh-key-in-windows [04:27:21] hi, i am having some messages of warning: mod_fcgid: stderr: PHP Warning: file_exists(): Unable to find the wrapper "mwstore" - did you forget to enable it when you configured PHP? [04:27:41] i did not seem to find much about solving this by searching [04:27:52] comes from extensions/ConfirmAccount/backend/ConfirmAccount.class.php on line 26 [05:35:35] nvm, solved [10:04:11] who is in charge of the "mediawiki" packagist/composer namespace? [10:16:35] saper: bd808 [10:17:33] ori: thx [10:17:48] need to put HitCounters (once fixed) there [10:58:37] hello [10:59:01] I am new to mediawiki and looking to contribute. [11:02:39] hi kartikey0303, welcome! How can we help you? What areas are you interested in? [11:02:43] !hacker [11:02:44] http://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [11:03:59] i am follwing this guide. I have setup gerrit and am now cloning. [11:10:27] cool. if you like something nice to work on, you can try to reproduce https://phabricator.wikimedia.org/T119942 [11:10:51] I am following https://www.mediawiki.org/wiki/Special:MyLanguage/Gerrit/Tutorial [11:11:12] Now can someone please tell me how to proceed [11:13:42] I am cloning from git. After it is finished should i install vagrant. The http://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker is a little confusing. [11:26:30] kartikey0303: Those are two opposite things. :) If you install vagrant, it has the clone pre-installed. [11:27:39] kartikey0303: The two ways to do this are the "Virtual machine with vagrant" and "Manual installation" as listed in the guide. [11:28:04] I actually followed the gerrit/tutorial [11:30:16] kartikey0303: Okay. You did the manual install. [11:34:29] But i did not install apache or xampp [11:34:43] should i install them now? [11:37:22] kartikey0303: If you feel comfortable playing with the, sure. Personally I'd recommend vagrant install. Way easier. [11:43:55] Ok i am now going with the vagrant method [12:23:16] hi, are there any special settings I need to change or plugins I have to install for mediawiki to also do full text searching? Also, currently it only shows results when searching the full word, but not when searching for example for "manua" instead of "manual" [12:34:06] ok i have installed vagrant using vagrant up command. What should i do next? [12:42:49] kartikey0303: What do you see when you did vagrant up? [12:43:03] kartikey0303: Do you see the colorful MediaWiki banner? [12:43:21] Oh wait. That's ssh. [12:43:47] Hello! I'm Julius. I really love solving problems. (Not particular subject, just love to solve problems) [12:43:47] kartikey0303: Did the vagrant up command finish yet? Takes a long time on the first go. [12:44:08] No it is displaying "downloading box from url" [12:44:08] I've joined the Code-In [12:44:13] Hi JadeMaveric. That's awesome. :) [12:44:26] Thanks [12:44:30] kartikey0303: Let it run. It will take an hour or more. That's usual. [12:45:09] kartikey0303: When it finishes, you should be able to navigate to the localhost link in the guide. [12:46:14] Ok thanks [12:52:32] hmmm... things seem very quite here [13:00:42] JadeMaveric: It's more active when the pacific coast wakes up. [13:01:08] JadeMaveric: If you have questions, feel free to ask. :) [13:21:45] hey Nemo_bis, thanks for approving my task :) [13:22:16] I want to fix patchset about updating todo, but it fails test and I have no idea what causes this fail: https://integration.wikimedia.org/ci/job/mediawiki-phpunit-hhvm/20611/console [13:42:17] Albert221: seems an error in the testing [14:20:44] is there any super simple image upload system for mediawiki? [14:21:29] I know there's an upload tab in VisualEditor, but it still takes quite a few clicks to upload and insert an image [14:22:04] Yes [14:22:09] Special:Upload [14:26:10] Albert221: mainly it's https://phabricator.wikimedia.org/T120824 , ignore test failures for now [14:26:46] ok, thank you for information :) [14:30:30] The guest machine entered an invalid state while waiting for it [14:30:30] to boot. Valid states are 'starting, running'. [14:30:45] can someone help with this [14:31:49] kartikey0303: You can google that error. It's a common one, I think. [14:33:09] anyone knows who I can get a better error message than 'Cannot contact the database server' [14:33:44] "better" [14:34:10] like: a stracktrace [14:34:24] or something more clear at least then 'it doesn't work' [14:35:07] Reedy: ok, wrong question. Super simple *inline* upload system :-) [14:35:53] inline of which line? [14:36:11] I presume ktosiek means something like the drag and drop thing that Phab does [14:36:13] a wikitext editor? [14:36:51] like pasting into VisualEditor [14:37:05] Niharika: I searched for that error but most of the solutions are for windows. [14:39:55] kartikey0303: Okay, open VirtualBox. Shut down the machine from the GUI. [14:40:16] bdesmet: Is this a development wiki? [14:41:49] Niharika: not especially, I am just running into troubles when trying to migrate our wiki from one server to another [14:42:25] bdesmet: I have these in my LocalSettings.php $wgShowExceptionDetails = true; $wgDevelopmentWarnings = true; But I am not sure how safe it is to have these on in a non-development wiki. [14:44:13] Niharika: it's on our own intranet, so it's not really public at the moment.. :) [14:44:25] anyway, I still don't see more than 'cannot contact the db server' :( [14:45:30] Niharika: It still doesn't work [14:45:42] kartikey0303: Did you do vagrant up again? [14:46:29] bdesmet: No idea. :( [14:46:51] Niharika: yes and it still shows the same error [14:48:07] kartikey0303: Okay, then I guess we should wait for bd808 to show up. He's our vagrant magician. :) [14:49:04] Niharika: ok no problem [14:56:46] Niharika: :( [14:56:48] thx anyway! [15:00:43] mediawiki@cadoth ~/flarar (REL1_26) $ php maintenance/update.php [15:00:44] PHP Fatal error: Call to undefined function MediaWiki\suppressWarnings() in /pub/flarar.cadoth.net/htdocs/w/maintenance/Maintenance.php on line 960 [15:03:22] (I'm upgrading from 1.25.2) [15:06:09] perhaps some of your files are mixed up [15:06:46] your prompt implies git, so use git to verify everything is okay [15:06:46] Your branch is up-to-date with 'origin/REL1_26'. [15:06:57] only untracked DB backups and EditorConfig [15:12:33] hmm [15:12:35] https://phabricator.wikimedia.org/T106148 [15:12:35] are there any special settings I need to change or plugins I have to install for mediawiki to also do full text searching? Also, currently it only shows results when searching the full word, but not when searching for example for "manua" instead of "manual" [15:13:15] installing composer and running "composer update" fixed it [15:13:40] uh, the CSS is messed up now [15:13:52] https://flarar.cadoth.net/wiki/Main_Page [15:14:36] nginx error log: http://dpaste.com/3TS6ZYG [15:15:28] that's strange, Monobook works fine [15:18:22] that error should be fixed for you (though it pops up in other places where it hasn't been fixed yet) [15:18:28] vector works just fine for me [15:19:24] i upgraded with the tarball and i don't have the issues you do [15:22:38] I'll try to update my extensions [15:31:24] nope, still broken [15:36:52] kartikey0303: MediaWiki-Vagrant problems? [15:38:37] hey, so I've got some extensions in composer.local.json, and running composer update *uninstalls* them, instead of updating them. Does anybody know what's going on with that, and what I can do to fix it? [15:39:17] Rosencrantz: yikes! Can you paste your composer.local.json somewhere? [15:40:38] oh wait a sec [15:40:43] maybe dry-run is lying to me [15:40:55] Ah. that's a know issue [15:41:13] the plugin (composer-merge-plugin) doesn't work in dry run mde [15:41:18] Ahhhhh ha [15:41:23] actually no composer plugins work in dry-run mode [15:41:34] oh… that's unfortunate [15:42:24] Rosencrantz: https://github.com/wikimedia/composer-merge-plugin/issues/55 and https://github.com/composer/composer/issues/4650 [15:42:35] ah ha [15:44:58] Thanks! [16:10:12] how can I make search results better? For example, searching for "1.2.3.4" that's used in a page as "http://1.2.3.4:4444" won't give me any results [16:10:30] is there any way to enable stemming for polish? [16:12:40] (I really want to search inside links) [16:21:27] ktosiek: installing CirrusSearch will probably help, but it's probably not trivial to set up. [16:21:30] !e CirrusSearch [16:21:30] https://www.mediawiki.org/wiki/Extension:CirrusSearch [16:21:44] (Wikimedia wikis use this extension) [16:23:07] I can setup ES, so it shouldn't be too bad [16:23:28] except maybe for the polish-specific configuration [16:24:19] Hi all, I just removed wikieditor and added visualeditor. I only see "edit source" now. I believe visual editor is invoked for "edit". How to fix this? [16:25:31] the "edit" link appears for a second and then automatically merges itself with "edit source" link. any ideas? [16:26:40] TridenRake: what page are you looking at? Is it a normal text page? [16:26:57] Main page. yes. [16:27:01] do you see any errors in browser's console? [16:27:44] None. [16:28:30] TridenRake: Did you make the required config changes in LocalSettings? [16:29:14] Yeah. I just registered the visual editor extension in LS and I also made visualeditor as the defualt editor for all users. Still won't work. [16:30:05] maybe try enabling the debug log and looking there? [16:30:18] TridenRake: Do you have Parsoid? [16:30:35] I am really new to MediaWiki. What is Parsoid? And how to enable debug log? [16:31:13] Parsoid is a separate service that is essential for VisualEditor [16:31:36] TridenRake: "If you want to be able to edit existing pages and save pages with VisualEditor you need a Parsoid service that converts between wikitext and the HTML that VisualEditor displays for editing. To set up your own Parsoid service follow the Parsoid installation instructions before setting up VisualEditor. Note that it can be particularly complicated [16:31:36] to set up Parsoid and Node.js in non-standard systems, like those running Windows or Debian." [16:32:01] TridenRake: From https://www.mediawiki.org/wiki/Extension:VisualEditor [16:32:07] it's not that bad on Ubuntu Trusty (just use the repo for jessie :-)) [16:32:14] Oh. :/ I am on a shared server and I don't have node.js. [16:32:37] So visualEditor won't work right? Switching back to wikieditor. [16:33:05] TridenRake: You can get node.js? [16:33:17] Parsoid just "fkd up" my apache2.. Could connect via HTTPs but not over HTTP... after i deleted it a process was still running under the uid 113 which was parsoid.. anyone knows why that happend?... thank god a restart fixed it [16:33:53] Niharika, No.. :/ I asked Hostgator and they told me node.js cant be installed on shared servers. [16:34:12] Oh. :( [16:34:27] VisualEditor is really enticing... ^_^ [16:34:49] Yeah. :) [16:35:51] Is WikiEditor the second best editor? Or are there any better editors? I am okay with the editor, but for my project, users would certainly raise their eyebrows for the markup. [16:38:29] WikiEditor or TinyMCE? Help me choose. [16:38:41] TridenRake: We have all these apparently: https://www.mediawiki.org/wiki/Category:WYSIWYG_extensions [16:39:18] Yeah just found. Not sure which one to use. :) [16:41:57] TridenRake: I'm not sure if any of the others work with recent versions of MediaWiki. [16:42:26] Yeah. I am going with WikiEditor. [16:47:48] got it. But why this always happens? - > http://i.imgur.com/k6XSBfo.png [16:48:13] Some problem with z-index or something else? [17:07:24] ktosiek: if you install the elasticsearch plugin analysis-stempel and set your wiki lang to pl cirrus *should* support polish stemming [17:29:03] under the task, T92362, there are some differences between the BoilerPlate and Example extension. If we have to remove the differences, what actually we got to do? And if we have to edit the PHP file of extension, which file do we have to edit [17:30:32] ankita_, ^^^ [17:34:37] anmol_wassan: Hi. [17:35:12] Hey Niharika [17:35:23] anmol_wassan: Look at BoilerPlate and see how it uses __DIR__ everywhere it needs to call upon a different module. Let me find an example... [17:36:26] But the task says, the example remains old school. Don't we have to just edit the example.php? [17:37:15] anmol_wassan: Basically everywhere it uses $dir instead of __DIR__ [17:37:23] anmol_wassan: https://github.com/wikimedia/mediawiki-extensions-BoilerPlate/blob/master/BoilerPlate.php#L6 See this for example. [17:37:27] I looked at BoilerPlate.php. It uses __DIR__ everywhere while example.php uses $dir [17:37:50] Okay, let me just look at it.. [17:40:22] anmol_wassan: That seems to be the only difference. [17:43:34] so do I just have to edit the example.php so that it uses __DIR__? or do I need to get the work done with BoilerPlate.php? Sorry, I am just a beginner :( [18:07:28] Hi everyone :) [18:07:40] hey :) [18:29:43] #JOIN Niharika [18:30:01] anmol_wassan: You use JOIN for channels, not people. :P [18:30:14] anmol_wassan: Yes, what you said is right. [18:30:26] I know that :P [18:31:28] Ummm.. Well, there were two options. [18:31:40] 1. Edit BoilerPlate.php [18:31:48] 2. Edit example.php [18:31:55] Which one should I go for [18:32:05] anmol_wassan: edit example.php [18:32:16] the task says example.php is old school [18:32:38] Yeah, I was just clearing the doubt :) [18:32:57] Thanks codezee(a.k.a Sumit ;) ) [18:34:11] Niharika: did you get along with storing data of parser function thing? [18:35:21] codezee: I got a solution but not really happy with it. You got any suggestion for me? :) [18:36:34] Niharika: the best I could think of is stroing it using setExtensionData() in an array and retrieving it, used it before Parser does not provide any other better way [18:37:31] Niharika: WPB extension uses it - http://git.wikimedia.org/blob/mediawiki%2Fextensions%2FWikidataPageBanner.git/master/includes%2FWikidataPageBanner.hooks.php#L273 [18:37:31] codezee: That's the idea we are going with BUT we don't pre- know the keys. The keys are coming from the page too. [18:37:52] Oh, good to have an example to look at, thanks! [18:38:26] Ah, you use an array. I'll probably go the same way. Thanks codezee. :) [18:38:29] dcausse: thanks, I'll try that on monday. Haven't found any docs about it, are there any? [18:38:43] Niharika: I had a similar problem of storing banner parameters and not knowing which of them are set, so I used the array and check it later [18:39:49] Niharika: btw, in what part of MW are you presently working? [18:40:11] codezee: On an extension. For storing page assessments. [18:40:34] ohh, nice :) [18:50:28] hello! [18:52:19] the page https://www.mediawiki.org/wiki/Phabricator/Creating_and_renaming_projects says multiple words(in title of the tast/project) must *in bold* be connected with dashes [18:52:55] it still works without that and no problem is searching either, so do I need to mention this point of inserting dashes in the video (how to request a project) [18:53:06] in searching* [18:53:41] the video is, after all, for complete novices [18:54:15] Husun: preferably yes, it's still a useful convention. projects named like that can be linked in comments [18:54:25] e.g. by writing "#mediawiki-uploading" [18:54:39] okay, thank you! [18:55:08] MatmaRex: can titles go without hashtags? [18:56:01] titles? [18:56:19] project's titles [18:56:50] ah. no, adding hashtags isn't necessary. [18:57:03] the hashtag for project's name will work automatically (if it follows that naming convention) [18:57:35] okay, :) [19:46:43] ktosiek: it should be relatively 1/ install the plugin (put the plugin zip file in the elastic plugins folder and restart elastic) 2/ setting $wgLanguageCode = 'pl'. 3/ rebuild your indices Let me know if you encounter issues, I'll try to update the CirrusSearch docs. [20:06:55] Hello again, [20:36:58] Hey does anyone know the code to put into .css for special pages, i.e. the login page? [20:48:14] does the description (when requesting a project) need policy? [20:52:21] Hey, how can I run tests on my cloned core repository? [21:01:29] helloo? [21:01:31] does the description (when requesting a project) need policy? [21:03:40] Husun: which description? which projects? [21:04:10] well, usually the answer is yes [21:04:36] I'm making a video on how to request new projects in phabricator, so I wanted to know do you have to add policy in description when you want to request a project? [21:05:40] Husun: ah, so it's about phabricator. would you mind asking that in #wikimedia-devtools? [21:05:49] that has the phab people [21:06:32] i did, no response, i'll try again [21:08:07] Husun: i _think_ the answer is you don't have to unless you want non-default [21:08:23] if you dont specify it it would just be public per default [21:08:37] which should be the case unless you have a good reason why not [21:10:13] right! [21:10:34] i think i might skip that, the video is for beginner and i don't think beginners would have strong reason [21:15:09] Husun: that sounds right to me [21:15:21] moin [21:15:30] moin moin [21:15:47] yay [21:16:05] I've here a „nice“ problem - Xampp-Environment on windows and USB-stick to operate a portable media-wiki [21:16:27] opcache is active in php [21:17:03] is there anything i've to set in the media-wiki settings to increase speed? [22:25:30] hello!\ [22:25:46] does anybody know the name of phabricator's font style? [22:35:38] Husun: @font-face{font-family:'Lato'; [22:36:45] Husun: https://phabricator.wikimedia.org/res/phabricator/848dfb1e/rsrc/externals/font/lato/lato-regular.eot?#iefix [22:36:58] lato-regular.eot: Embedded OpenType (EOT) [22:38:44] thank you [22:47:30] mutante: is it available in otf pfb pfm ttf or ttc? [22:49:20] Husun: format('woff'),url(/res/phabricator/751e7479/rsrc/externals/font/aleo/aleo-regular.ttf) [22:49:49] Husun: do what i did, just open a phabricator URL, click "view source" and search for "font" [22:49:56] then you'll see all the formats etc [22:50:21] tysm [22:51:06] Husun: eh, i clicked through to this: https://phab.wmfusercontent.org/res/phabricator/5ab1a46a/rsrc/css/font/font-lato.css [22:51:09] there it is [22:51:34] yeah, I was getting in 'view source' :D [23:01:08] Hello, I am Luke, a art student. [23:12:27] loopyhano: hello Luke [23:12:30] !ask [23:12:30] 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. :) [23:12:54] muntante: hello [23:13:50] What does !ask do? [23:13:55] !ask [23:13:55] 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. :)