[01:46:06] when editing a page, insert media doesn't seem to offer me an option to upload an image [01:46:23] using the visual editor that is [01:49:10] k-man, https://phabricator.wikimedia.org/T40030 [01:50:02] ah [01:50:17] so taht means its still at the feature reqeust stage? [01:50:46] oh wait, maybe its even done? [02:12:46] ah the joys of bleeding edge [02:16:06] going from Edit to Read, doesn't seem to correctly update the page back to the Read style [02:16:43] what's not correct about it? [02:19:24] fyi this is in master. [02:20:33] open a wiki page, click Edit (the visual editor), wait for page to render, then click Read again. The Tab moves back to Read but the page layout stays as though you are on Edit [02:21:01] happens in Chrome and Firefox [02:21:16] do you get an error in console? [02:23:18] Refreshed page. then click edit, i get a TypeError: this.$windows is null [02:23:59] i think that error is causing the problem. after that if I click read the tab changes as above but its still hung in the edit mode [02:24:08] no further js errors [02:27:32] i'm on commit b19eec304cbfafc9634889127b3d9c64a6cc3e15 [02:28:30] ok that's absolute latest master MW core [02:28:55] yeah - seems i'm perhaps pushing the limits [02:29:51] nah [02:30:05] we run the latest master of everything here: http://en.wikipedia.beta.wmflabs.org/w/index.php?title=0.3686301685488156&veaction=edit&redirect=no [02:30:26] (it works for me there) [02:31:09] hmmm [02:31:17] maybe i firgot to update something [02:32:18] do you have the latest copy of the ve extension? [02:32:24] ah [02:32:26] what about the latest ve core submodule inside the ve extension? [02:32:28] is that seperate [02:32:31] i forgot to update the extensions [02:32:33] ... yes :| [02:33:08] and VE-MW relies on OOjS UI as distributed by MediaWiki. So miss-matching versions breaks stuff [02:33:57] mismatching [02:34:16] yeah, that [02:34:18] :p [02:34:20] :P [02:36:05] hmmm [02:36:13] the recursive update script on the update page didn't work for me [02:36:19] http://www.mediawiki.org/wiki/Download_from_Git#Using_Git_to_download_MediaWiki_extensions [02:38:38] ok, slight progress [02:38:41] I have a few questions [02:39:34] Trying to run update.php gives me this "DB connection error: No such file or directory (localhost)" [02:41:28] Guest516: Is your wiki running correctly? [02:42:36] somewhat. I can log into it, but trying to go to "Preferences" or "Beta" gives a problem [02:43:05] can you try editing a page [02:44:01] Negative24: Yes, editing a page works fine [02:44:21] Going to preferences shows "A database query error has occurred. This may indicate a bug in the software." [02:45:30] Can someone point me to any up to date documentation on how to get sphinx search working on centos7 with mediawiki, or any other search which can find substrings? [02:46:05] This is a site that will never have more than 5000 pages in its entire lifetime and is private [02:46:07] Guest516: See if your LocalSettings.php file has correct database info [02:46:57] Negative24: I have checked there, and everything seems to be configured correctly. [02:48:10] Guest516: try disabling all extensions and seeing if the issue persists [02:48:38] Guest516: wait, never mind [02:49:08] Guest516: actually try it [02:49:32] Guest516: and try pasting the whole output from update.php [02:49:39] into pastebin [02:50:13] Betacommand: Sorry I am a bit new to this, would I disable them by commenting out the "require once" lines from LocalSettings.php? [02:50:25] Guest516: yes [02:52:42] Betacommand: Disabling all extensions yields the exact same result [02:53:06] so i'm getting some failed dependencies now with the VE [02:53:53] Guest516: after disabling go ahead and reboot the webserver [02:54:29] Betacommand: I did restart the server before running update.php again [02:54:49] Guest516: can you pastebin the full output of that script? [02:56:16] Betacommand: Really there is nothing to pastebin. It does not generate any further output than "Your composer.lock file is up to date with current dependencies! DB connection error: No such file or directory (localhost)" [02:57:02] Guest516: what OS are you running? [02:57:33] Betacommand: Mac OSX 10.10.1 [02:57:53] how did you install mediawiki? [02:58:28] Betacommand: Using Git. Or do you need anything more specific? [02:58:41] No, thats fine [02:58:53] Master or a release? [02:59:44] Master [02:59:56] Guest516: why??? [02:59:59] Oh boy [03:00:29] yeah. try checking out another branch [03:00:44] Guest516: master shouldnt be running on any production site [03:01:19] Oh sorry haha i am actually not sure. I cloned in using this command "git clone https://gerrit.wikimedia.org/r/p/mediawiki/core.git" [03:01:33] that's master [03:02:10] Guest516: master is known to break [03:02:18] and its untested [03:02:47] I am working with a team on trying to set up a development environment and that was where we were told to clone from [03:03:06] Well in that case... [03:03:25] Guest516: what is your goal? [03:03:57] I've been at this all day, its so frustrating... anyways we are working with someone name Amir on the Content Translation extension [03:04:19] But just trying to get the environment set up is maddening [03:04:48] Guest516: I would use the same version enwiki is running, its close enough to core, while still being fairly stable [03:05:22] How would I go about doing that? [03:05:37] Yes. Try running "git checkout -b site origin/wmf/1.25wmf22" [03:05:48] in your mediawiki directory [03:06:04] Negative24: thanks, answered my question before I could ask it :) [03:06:20] :) [03:06:21] I would suggest 21 not 22 though [03:06:33] Ok, thank you very much. Would I need to reconfigure everything for my db? Like re setup everything in LocalSettings.php? [03:06:48] Ah well WP will be updated to 22 in a week [03:06:51] Guest516: nope, your just rolling back a few files [03:07:06] to a more stable version [03:07:14] Ok perfect, you guys are (potentially) lifesavers! :) [03:07:20] Negative24: odds are there are bugs that are going to be fixed between down and then with 22 :P [03:07:36] Yeah don't you just love active development [03:07:48] so just run it in my core directory? [03:07:54] Guest516: yeah [03:08:15] As per Betacommand's suggestion run "git checkout -b site origin/wmf/1.25wmf21" instead [03:08:44] alright just did [03:09:21] does it automatically switch to that branch? Haha Noob questions [03:09:21] and what did you see? [03:09:27] it should [03:09:53] Something like "Switched to branch site tracking origin/wmf/1.25wmf21" [03:09:58] output showed all of my extensions then "Branch site set up to track remote branch wmf/1.25wmf21 from origin. Switched to a new branch 'site'" [03:10:09] seems like it switched the branch for me [03:10:14] Yup [03:10:21] Now run update.php [03:10:27] ok one sec [03:11:07] same exact thing..something must be configured wrong somewhere.. [03:12:00] Can you give us the url for the site? [03:12:16] I'm just running it locally at the moment [03:12:22] Guest516: what database platform are you using? [03:12:22] using xampp [03:12:48] Guest516: thats probably the root cause [03:13:00] you need to use xammp shell [03:13:19] how would i go about that? [03:15:02] I know on the windows version xampp has a control panel app that lets you launch the xampp shell [03:16:14] Well, I mean I have been messing and configuring with xampp most of the day. Everything appears to be in line. With the exception of the DB, since, Ill be honest, Im not exactly proficient in databases [03:17:50] Guest516: Good news, I know exactly what the root issue is [03:18:03] That is good news [03:18:35] Guest516: mysql and the xampp software isnt installed like normal programs [03:19:02] so when you run anything outside of the xampp shell, it doesnt see the xampp stuff [03:19:46] the webserver sees it because its part of that bundle, but the command line upgrade.php doesnt [03:19:59] So if I am running update.php from terminal, it finds problems? How in the world would that be solved? [03:22:05] Guest516: you need to use the correct terminal. [03:22:29] Guest516: see http://i.stack.imgur.com/OtqIn.png do you have a xampp-shell button? [03:23:03] The problem with that is that I don't see anything about xampp-shell [03:25:08] Honestly my suggestion would be to start over, and use a standard deployment guide [03:26:21] ok, it really seems pretty screwed. I did follow a guide, it said to use xampp though. Are there any suggestions with how to proceed? [03:27:15] which guide suggested xampp? [03:27:42] hold on ill find it [03:28:28] http://www.mediawiki.org/wiki/Manual:Installing_MediaWiki_on_XAMPP [03:28:33] that was one of the guides [03:29:21] yeah, using xampp isnt ideal [03:29:57] which would be the easiest to use? [03:31:45] Guest516: https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu is what I use, just need to tweak a few things [03:32:25] https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Mac_OS_X is the official mac instructions, but it suggests using a packaged mediawiki [03:32:39] !package | Guest516 [03:32:39] Guest516: Many Linux distributions provide MediaWiki in a packaged format for that distro. These packages typically contain obsolete & unsupported versions of MediaWiki; they also like to move around & change files, & do other super-counterproductive things. You'll get the best support here if you install MediaWiki directly from one of our tarballs - https://www.mediawiki.org/ - or Git https://www.mediawiki.org/wiki/Download_from_Git [03:32:49] in the EventLogging extension, what does this do? $wgEventLoggingBaseUri = 'http://localhost:8080/event.gif'; and what is that url? [03:33:55] I do have Ubuntu dual booted, I probably could go about just following those instructions and doing it that way? I feel like it's probably a lost cause and needs to be scrapped [03:34:40] Guest516: getting it setup on Ubuntu is easy [03:35:14] Easy sounds great at this point. [03:35:33] Guest516: Im about to checkout for the day, if you grab me in about 42 hours Ill be able to walk you thru the setup in an hour or so [03:35:50] nm, worked it out [03:36:37] Ok how would I get in contact with you? Once again thank you for all of your help! [03:37:54] Guest516: Im always here on IRC [03:39:04] Ah ok, well I am going to attempt to go through the solution. One more thing, how would I change my name from guest? [03:39:18] /nick username [03:39:57] ok sweet. I am going to get off here. I will attempt a run-through of the Ubuntu installation. Thank you for your assistance! [03:52:31] Betacommand: I've never used XAMPP so thanks for your assistance [11:33:20] aharoni : Are there any other tasks I need to do? [11:47:19] ankita-ks: I'll check your email :) [11:47:31] okay. :) [11:47:38] ankita-ks: do you have your own installation of MediaWiki and VisualEditor? [11:47:46] yes, I do. [13:19:52] is there a MW markup way to make a list wrap within a table cell? I need a 4 item list formatted into 2 columns of 2 items each within one table cell. [13:27:03] I think this is my answer http://www.mediawiki.org/wiki/Snippets/Horizontal_lists [14:13:07] so how do I apply hlist to a list in a table cell? [16:30:05] hiya people :) i'm trying to find the documentation for the javascript side, especially on mediaWiki.Api() : where would i be able to find that ? [16:38:54] Alphos: if you're looking for docs specific to mw api, see here http://www.mediawiki.org/wiki/API:Client_code [16:39:02] Alphos: select your language from there [16:39:38] codezee seems like this is it, thanks ! https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.Api [18:43:35] * shubhangi_ wonders [18:44:35] shubhangi_: Can we be of any help? :) [18:46:21] <^d> Guess not [18:56:07] Niharika : I have submitted my proposal on Outreachy's website and I have created a task on Phabricator. Is there anything else I should do? [18:59:03] ankita-ks: Nope. That's about it. You can refine your proposal, of course. :) [18:59:43] okay. is it okay to do so after the deadline? Say if i finished a new task, can i add it to my proposal? [18:59:53] Niharika ^ [19:00:17] ankita-ks: Sure! [19:00:31] okay. thanks! :) [20:06:49] hello [20:08:07] hello [20:08:36] !hi | mcapple [20:08:36] There are multiple keys, refine your input: hiddencategories, hidetabs, hidetoc, highlight, [20:08:47] i have problems with the jobs when i will add it [20:09:49] !hi [20:09:50] There are multiple keys, refine your input: hiddencategories, hidetabs, hidetoc, highlight, [20:10:18] mcapple: what kind of problems? could you please elaborate, without requiring other people to ask for more information? [20:11:01] i can't find the lua [20:12:20] mcapple: when you said "jobs", do you mean https://www.mediawiki.org/wiki/Manual:Job_queue ? [20:13:27] no i have dark rp for garrys mod i have come from darkrp wiki [20:14:49] I don't know what dark rp is [20:15:12] it is a gamemode for Garrys mod [22:37:05] I'm getting an error on a git review: http://pastebin.com/d2JnNWX6 [23:21:08] We are running MediaWiki 1.25. I ran the 1.23 version of maintenance/update.php, then subsequently the latest 1.25 version. Now, when users invoke VisualEditor on certain pages, a completely different page is presented for editing. It's almost as if some index has been skewed. Not all pages are affected. Has this ever been observed before?