[02:25:00] Hey there. Trying to setup v1.2.4.1 of MediaWiki, and I have the page showing at ~/mediawiki that states "LocalSettings.php not found. Please setup the wiki first." showing, but when I click that link that brings me to *.com/mediawiki/mw-config/index.php I get shown a blank page [02:26:06] did you download the LocalSettings.php during the setup wizard? [02:26:53] Lol, that could do it. The guide I used to set it up didn't have that part in it [02:27:09] I'll refer back to the install instructions on the mediawiki site and get back to ya [02:28:45] zitping, when i installed it I had to download the localsettings.php from the wizard and upload it to the server, so maybe you just missed that. good luck :b [02:28:57] Thanks, aclonedsheep ! [02:33:24] OH LOOK AT THAT https://bugzilla.redhat.com/show_bug.cgi?id=967302 A BUG ABOUT HOW CLICKING THE LINK SHOWS A BLANK PAGE ON REDHAT INSTALLS [02:33:28] K. Thanks :D [02:39:44] Once I ran this line: "chown apache.apache /var/www/html/mediawiki/mw-config/images" it fixed the issue. YAY [03:54:02] Hi everyone. I'm having trouble installing Scribunto. I'm getting an error saying that the lua file is not executable, but everything I see suggests it is. [03:54:11] I'm on CentOS running Apache. [03:54:25] Untoldent: is the filesystem mounted noexec? [03:54:37] also, try running the lua binary manual from the shell [03:55:30] jackmcbarn I don't know what that first thing means. [03:55:42] jackmcbarn (or, if I'm being honest, the second thing.) [03:56:05] do you know how to use the shell/terminal/command line at all? [03:57:20] jackmcbarn I'm very green. I know how to get around it, I'm learning how to chmod/chown things. I can see a directory listing. [03:57:32] what's the listing for the lua binary say? [03:58:30] jackmcbarn (uno momento) [04:08:56] -rwxr-xr-x 1 apache apache 195476 Feb 10 07:09 lua [04:09:12] jackmcbarn I've also tried assigning it to root. [04:09:50] Untoldent: type "mount" and look for the word noexec [04:10:11] and are you sure that that lua binary is the one that you're trying to execute? [04:10:21] if you have any scribunto configuration other than the one line to actually load it, remove it [04:10:48] I'm just double-checking that it's the correct one now ... [04:13:13] I have /dev/simfs on /tmp type simfs (rw,noexec,relatime) [04:13:19] and /dev/simfs on /var/tmp type simfs (rw,noexec,relatime) [04:13:51] aaaand [04:13:51] [root@untoldentertainment lua5_1_5_linux_64_generic]# /dev/simfs on /tmp type simfs (rw,noexec,relatime) [04:14:02] which looks suspect to me. How about you? [04:14:33] (I just checked - that file at that path is indeed the correct one that's causing the hangup) [04:14:46] that's not the problem unless you installed mediawiki in /tmp [04:14:52] jackmcbarn Nope. [04:14:57] can you pastebin your LocalSettings.php? [04:15:03] yes - just a sec [04:15:08] Don't paste anything private. [04:15:28] Fiona No worries. I'll remove Grandma's secret peach cobbler recipe. [04:15:34] Would hate for that to fall in the wrong hands. [04:16:20] :-) [04:17:23] http://pastebin.com/jK2ujX1B [04:18:26] go into the directory with the lua binary and type "./lua" [04:18:48] Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio [04:19:07] ok, hit Ctrl+C [04:19:08] and I get a > prompt [04:19:12] the binary is definitely executable [04:19:29] ctrl+C pops me our of the > prompt and back to the CentOS prompt [04:19:30] does your php configuration allow executing programs [04:19:31] ? [04:19:50] I'm not sure ...? What kind of a security risk is that to open up? [04:20:02] This is one website I have of quite a few, and I'd hate to lose them. [04:20:32] unless you're letting other people run php on your server, it's really not a risk [04:20:44] i think it does allow it by default btw [04:20:48] OK. Where do I check that or make the change? [04:20:53] php.ini [04:20:58] where it is depends on your system [04:21:01] This is all on a MediaTemple (dv) server [04:21:18] riiiight ... we were looking at this earlier today. Couldn't find a php.ini at this level ... [04:21:24] backed out to .htaccess ... [04:21:33] you might want to ask their support for help about it [04:21:39] everything i've seen indicates that it should work [04:22:06] So just call them up and ask them how to enable php to execute programs? [04:22:38] i think that's the problem [04:22:49] ok - thanks. Let me call them up, and I'll let you know what they say. [04:22:55] just tell them the error you get, and that we can't figure it out [04:22:55] ok [04:23:07] I only call them about twice a year, and they very begrudgingly help me. [04:23:12] i probably won't be around after, but someone else here probably will be [04:23:31] hokay [04:23:41] thanks for your help so far [08:59:35] after upgrading to mw 1.24 from 1.23 autodetection of SERVERNAME does not seem to work anymore, it returns ip address instead (worked before the upgrade). what could have caused that ? [09:00:10] i don't see anything related in the release notes, the closest seems to be "The server's canonical hostname is available as $wgServerName" - but i don't think it should make SERVERNAME autodetection not to work ? [11:32:11] Richlv: Do you have $wgServer explicitly set? [12:13:13] G_SabinoMullane, i do not [12:36:33] I think it's more possible Apache (or $webserver) is giving that. Try setting $wgServer manually so you don't have to depend on possibly faulty autodetection [12:36:45] (more possible than a 1.24 change that is) [12:39:30] where I could see all iso languages of Wikipedias sites? [12:59:16] Try #wikipedia [13:20:27] G_SabinoMullane, hmm, i'll dig in apache then :) [13:28:00] བོད་ཡིག [13:31:21] "To add files, drag and drop them into the comment text area." Really, Phabricator?!? No standard upload form? :( [13:36:42] G_SabinoMullane: there's a bug for that [13:37:05] G_SabinoMullane: there is a regular upload form, but separate from task commenting/filing, so somewhat inconvenient [13:37:35] G_SabinoMullane: https://phabricator.wikimedia.org/file/upload/ after you upload a file, you can link to it from a task [13:38:37] G_SabinoMullane: the bug about it is https://phabricator.wikimedia.org/T165 and might even get resolved at some point :) [13:45:24] Thanks [14:05:14] Hi. I was looking Gsoc Ideas page and couldn't find skills required for individual projects. Can someone give tell me about that or a link ? [15:07:20] dominos: it varies according to projects though. basics of php would be a general requirement I guess - you would learn more in the due course. try https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [15:14:23] hi [15:14:55] i'm trying to perform a ssl-authentification in mediawiki and i have a error " Cannot access protected property LoginForm::$mRemember " [15:15:10] what does it mean? [15:54:24] tonythomas: Thanks. I don't know Python. Will that be part of a significant number of projects? [15:55:20] just learn python, its swell [15:57:17] dominos: Python isn't used in a lot of our projects, but some [15:58:25] Ok. Thanks to both. I will try to learn some basics of Python [16:06:21] does anyone else use mediawiki for their school notes? [16:09:31] aclonedsheep: I think I tried to once [16:09:36] I'm not sure it went very well [16:09:42] But I lacked discipline in school [16:11:10] i've been experimenting with it, seems to be a pretty great option so far [16:12:04] i wrote a python script that creates some basic mediawiki articles based on PDF highlighting, so I Can easily outline my lecture slides into MW. I'm excited to see what i can do with semantic [16:12:27] marktraceur, the lack of discipline is part of why im wasting time studying in alternate ways and not just time-proven methods, heh. [16:13:57] Indeed. [16:14:59] but who knows, only when we walk on alternate paths that something new gets discovered :) [16:15:05] Especially, spending times on skins and bootstrap features instead of improving /studying the content. heh , oh well. So far I like it more than using oneNote [16:15:27] codezee, exactly :) [17:08:49] I'm using the bootstrap skin that moves TOC to a contents drop down in the header, which is really nice except on long pages when I have to scroll all the way back up to it. Is there anyway to move it to the subnav bar that is fixed? [17:45:29] darkprince: did you find ideas for GSOC? [17:47:01] aclonedsheep: iirc there is a css property now that keeps a block inline for scrolling until it reaches top of viewport or similar, so that it changes to position:fixed then. if that would help. [17:53:21] Hi, I need to make a table calculate some values automatically based on input i give it, how do I do that? Link to docs would be best [17:53:40] EdePopede, thanks. been playing with solutions like that. [17:54:27] Nemo_bis: https://phabricator.wikimedia.org/maniphest/query/A.GSkWKThKTT/#R I found this, some of which I found interesting :) [17:54:36] aww https://www.mediawiki.org/wiki/Thread:Project:Support_desk/calculation_in_tables [17:57:51] darkprince: ok [17:58:03] What about you ? [17:58:09] What have you been upto? [17:58:28] darkprince: my suggestion is to choose one where you find a microtask/bug you can file a patch against [17:58:50] So that you get some confidence with the repository before committing to a huge project [17:59:23] Usual stuff. Spy https://phabricator.wikimedia.org/p/Nemo_bis/ if you want :) [17:59:37] Alright :) I understand. Have you been into any of the projects that I showed you in the link? [17:59:44] Sure. I'll have a look. Thanks :) [18:00:04] is there a 'best' way to redirect wiki pages to external pages? I'd rather not use .htaccess 301 redirects [18:01:25] maybe some kind of conditional JS in common.js? [18:55:21] Nemo_bis: you there? [18:58:00] It's not specified in docs or on RL/Dm when it was added [18:58:17] Was mw.api() available in MW1.19.23? [18:58:55] T13|inClass: let's see [18:59:24] When was it added I guess is my question. [19:01:19] T13|inClass: a long, long time ago, it already existed in 2011 [19:01:46] so earlier than 1.19 [19:02:14] T13|inClass: if something is documented on the RL pages on mediawiki.org, it has probably existed for a very long time, since i don't think people are actively updating that [19:04:01] There are someon that page that say addedin 1.23 for example. :) [19:16:42] MatmaRex: I tried the mw.api snippet on [[API:Email]] and MW1.19.23 throws back a 'TypeError: mw.Api is not a constructor' [19:17:25] How would I look-up what version I would need to upgrade to for it to work? [19:17:43] T13|inClass: are you sure it's loaded? mw.loader.using('mediawiki.api', function(){ /* your code here */ }) [19:22:12] Now it's just returning undefined but never actually querying the API. I'm not sure why it's not loaded by default like it is on MWwiki and enwp. [19:34:32] MatmaRex: I see. Well, it's working now but returns an error that 'opt is not defined' on L75-94 of mediawiki.api.js. I'll figure it out though. [19:38:34] I installed the drafts extension but the button just doesn't show up. no errors on the page or in the log Special:Version shows it's installed; table is visible in the db ... mediawiki-1.24.1, Drafts 0.3.0. any ideas? [19:40:29] if I look at the source i see it get passed as an arg to a js function called mw.loader.load() [19:41:50] fwiw, i'm on a mac - tried it in both safari and ffx [21:51:10] Was 1.25wmf17 already branched? [21:51:22] Looks like it [21:51:27] Given -operations [21:52:14] Seems so [21:52:16] Yep [21:52:52] Ah, just two minutes ago, the patch I care about went in just in time [21:58:11] Yay! [21:58:23] Well, maybe. The branch may have happened sooner. [21:58:54] Nemo_bis: http://git.wikimedia.org/log/mediawiki%2Fcore.git/refs%2Fheads%2Fwmf%2F1.25wmf17 [22:02:39] Yep, in fact 2 hours too early [22:02:42] Too bad :)