[03:14:59] hey I have a question with getting git and gerrit setup, I'm on basically the last step and confused [03:16:56] I'd like to fork this repository, not sure how,a nd how to do it so gerrit works too... link: https://github.com/requests/requests-oauthlib/issues?q=is%3Aopen+is%3Aissue [03:23:46] That code repository isn't really related to Gerrit, I don't think. [03:29:53] can I just fork it through git somehow? [03:29:58] I've already pushed the fork button [03:30:26] this is the other link he gave me: https://phabricator.wikimedia.org/tag/pywikibot-login.py/ [05:52:25] t [09:03:56] hi everyone [09:04:12] can i ask something? [09:35:54] Hallo, ich bin ganz frisch dabei mir ein Wiki zu erstellen. Und da hätte ich frage bezgl Bilder hochladen. Ich habe ein Bild erstellt und das würde ich gerne auf meinen Wiki hochladen. Wie müsste ich das machen. Ich nutze derzeit Media Wiki. kennt sich da jemand aus? [10:00:19] Hinzu kommt, dass die Gründerin von Afrobasar selber mit diesem Problem konfrontiert ist und genau weiß wie schwierig es ist gute sowie preisgünstige Haarpflegeprodukte zu finden für besonders krausiges Haar zu finden, kam die Idee schnell sich in diesem Gebiet selbstständig. [10:01:37] Hallo, weiß jemand wie man Bilder auf Media Wiki hochlädt ? [13:56:21] qgil: Is https://www.mediawiki.org/wiki/Outreach_programs/Possible_projects#Education_Program.2C_outreach_and_projects an available project? [13:59:08] hi Niharika I think so.. [13:59:28] qgil: Okay! [13:59:29] ragesoss, ^^^^ [14:18:24] qgil: I think that completes all the untracked projects. "Very raw projects" remain. Should I go ahead and add those too? [14:19:27] Niharika, thank you! No, there is no point in moving those old very raw proposals. [14:20:21] qgil: Okay. :) Feel free to tell me what else I could help you with. [14:21:27] Niharika, in order to complete that task properly, it would be great if you could CC to the new tasks the users that were mentioned as mentors or authors in the wiki page proposals. All the better if you can associate those tasks with additional projects [14:21:39] so no task is related to Possible-Tech-Projects only. [14:22:07] Then I can take care of the wiki page, cleaning it up and updating it. [14:22:56] qgil: Will do. [14:24:48] thank you! [14:27:00] Is there any feasible way to use mediawiki as a way to organize and annotate contents from a eBook? [14:27:41] I've been exploring different options for PDF conversion, looking at MW extensions...figured I'd ask here to see if I'm crazy for even considering this, or if anyone had ideas. Thanks [15:18:22] I wanted infoboxes on my new wiki install. I tried installing Scribunto, but now my wiki is completely blank. What did I do wrong, and how do I fix it? [15:18:52] (I backed up a few steps, and reverted my LocalSettings file, but it's still blank) [15:22:46] Untoldent: you would want this https://www.mediawiki.org/wiki/Manual:How_to_debug in your LocalSettings.php :) [15:24:01] tonythomas Where do the errors show up? [15:24:30] Untoldent: once you open the usual wiki url ! or maybe the place where you get the blank page! [15:24:36] tonythomas (because I'm still seeing a completely blank page) [15:25:42] Untoldent: hmm. you added this to the bottom of LocalSettings.php, right ? [15:25:57] tonythomas Yes. [15:26:14] tonythomas When I view page source, there's nothing. [15:26:42] Untoldent: try adding it to the top of LocalSettings.php file ? just under tonythomas Ok! Back in action. Thank you. [15:29:28] Untoldent: cool ! [15:30:57] Next question: even though I have chmodded the directory to a+x as required, I'm getting a "SAFE_MODE Restriction in effect" error. [15:31:49] I gave access to root ... is there/are there some other users that need access, or ... ? [15:32:02] i am trying to use a self-defined CSS class to a in my extension, but the changes are not visible, and neither is there an error!! [15:32:06] Untoldent: maybe www-data if you are using apache ( ubuntu ) [15:32:12] What could be wrong here? [15:32:35] Untoldent: chown -R www-data: core/ ? [15:33:08] tonythomas I drilled right down into the Extensions directory while sshing in as root and chmoded it from there [15:33:26] Untoldent: you are in vagrant ? [15:33:45] tonythomas Real talk: I don't know whaht vagrant is. [15:34:45] Untoldent: okey. so. consider I never wrote that. Do you know what runs in the server ? apache in Ubuntu/Deb ? [15:37:00] Apache [15:37:10] tonythomas Apache [15:39:11] Untoldent: there should be an apache user - probably ( www-data ) but cant confirm, which should own the folder. [15:39:19] tonythomas It's CentOS 6 x86_64 w/ Apache 2.2 [15:41:04] Untoldent: according to http://serverfault.com/questions/416236/what-is-centos-5s-apache-user-group?answertab=votes#tab-top, it should be 'apache' I guess. [15:41:18] tonythomas Ah yes - that sounds familiar. [15:43:37] Untoldent: so maybe try $ chown -R apache: extension/ [15:44:09] tonythomas Where is root? [15:44:26] tonythomas i thought apache was the user? [15:44:48] Untoldent: I would suggest something lower. maybe your username ? [15:45:37] Untoldent: we are setting apache itself as the owner. check the chown syntax [15:46:02] tonythomas I honestly don't know that I even have a username (?) It's a dv that I run all my sites form. [15:46:06] *from [15:46:25] Untoldent: you directly login as root ? then root is fine [15:46:37] tonythomas I just need the web server (whoever that is) to be able to access these Scribunto files. [15:46:51] tonythomas Hokay then ... [15:48:15] Untoldent: its an extension, right ? Next time, it would be just cd into extensions/ and git clone directly over there, which would give the appropriate permissions. [15:50:35] tonythomas Hmmm ... now it's throwing me an additional error because something doesn't have access to another folder within extensions/ [15:51:00] Untoldent: paste the error ? [15:51:07] tonythomas This is always my problem with this dv setup ... there's some sort of web server user that needs access to things, and I don't know which user it is [15:51:22] Warning: require_once(): SAFE MODE Restriction in effect. The script whose uid is 1000 is not allowed to access /var/www/vhosts/lockquest.com/httpdocs/manual/extensions/ParserFunctions/ParserFunctions.php owned by uid 48 in /var/www/vhosts/lockquest.com/httpdocs/manual/LocalSettings.php on line 157 Warning: require_once(/var/www/vhosts/lockquest.com/httpdocs/manual/extensions/ParserFunctio [15:51:23] ns/ParserFunctions.php): failed to open stream: No such file or directory in /var/www/vhosts/lockquest.com/httpdocs/manual/LocalSettings.php on line 157 Fatal error: require_once(): Failed opening required '/var/www/vhosts/lockquest.com/httpdocs/manual/extensions/ParserFunctions/ParserFunctions.php' (include_path='.:') in /var/www/vhosts/lockquest.com/httpdocs/manual/LocalSettings.php on [15:51:23] line 157 [15:51:34] Untoldent: not here, maybe dpaste.de [15:51:38] heh - sorry [15:52:00] qgil: A few of the projects don't have any mentors listed and no apparent parent projects. [15:52:48] * Untoldent awaits the banhammer [15:53:18] Untoldent: paste the complete log in dpaste.de ? [15:54:36] https://dpaste.de/7mFr [15:58:31] Untoldent: hmm. Looks like you would want root privilege, as files outside extensions/ are owned by root [15:59:04] so. $sudo chown -R root:root extensions/ [16:00:15] tonythomas Hmm. Still now. [16:00:19] *no [16:01:39] Untoldent: if it still shows the same issues, try giving $ sudo chmod -R -v 755 extensions/ ( if wiki not public ) and if public $sudo chmod -R -v 750 extensions/ [16:03:03] tonythomas Specify "not public" ? The home page is public, but I have page viewing and new registrations locked off. [16:03:23] Untoldent: Like the wiki is publicly accessible in the internet [16:04:23] tonythomas Sounds like a "yes" then [16:04:55] Untoldent: okey. then $ sudo chmod -R -v 750 extensions/ ? [16:04:57] tonythomas I made the change, but the error persists. (Thanks for all your help so far, btw) [16:05:22] Untoldent: the same error as in https://dpaste.de/7mFr ? [16:05:45] tonythomas I'll re-paste just to make sure. [16:05:51] Untoldent: okey [16:06:29] https://dpaste.de/oysu [16:07:31] Untoldent: can you paste LocalSettings.php, line 157 [16:07:46] require_once "$IP/extensions/ParserFunctions/ParserFunctions.php"; [16:47:33] Oh neat, this is here. I'll stick around. Are there any Frequently asked questions bots? [16:54:52] altometer: Usually we answer questions on the fly [16:55:12] We have a bot that has frequently used answers, but not one with a list of frequently asked questions [16:55:30] I guess you could browse the botbrain as if it were an FAQ [16:55:35] !botbrain | altometer [16:55:35] altometer: Hello, I'm wm-bot. The database for this channel is published at http://bots.wmflabs.org/~wm-bot/db/%23mediawiki.htm More about WM-Bot: https://meta.wikimedia.org/wiki/wm-bot [16:56:12] I usually just do random ! calls until I find what I need. [16:56:28] I wonder what the most frequent are [16:56:55] marktraceur: Yeah, I have my basic site set up, looking to use mediawiki as the intranet for an IT shop. We have a database with all our customer names, tickets, etc in it. Was thinking I could pull info and auto generate pages from there. [16:57:02] !external data [16:57:02] There are multiple keys, refine your input: externalauth, externaleditor, externalimages, [16:57:07] !externaldata [16:57:16] lol [16:57:23] !externalimages [16:57:23] To allow images from elsewhere to be included in your wiki, see . To limit this to some specific sources, see . [16:59:57] altometer: You could, but you'd probably need to build a bot for it [17:00:02] I doubt we have anything to do it for you [17:00:17] I am fine writing a few scripts to auto pull and parse the data. [17:00:33] Don't need anything fancy, this is just for internal use. Comments on clients and stuff. [17:03:01] tonythomas Thanks again for all your help with this. It's working! [17:03:05] marktraceur: Just found http://meta.wikimedia.org/wiki/MediaWiki_Bulk_Page_Creator I'll start here . Thanks for the help. [17:03:16] Neat [17:03:29] Untoldent: great. hope #mediawiki missed all our PM's :) [17:04:17] tonythomas It got pretty sexty in there. [17:04:40] Untoldent: yup. thanks to CentOS :\ [17:04:41] !bulkpagecreator is The MediaWiki Bulk Page Creator is a bot that can create lots of pages for you from a formatted input file. See http://meta.wikimedia.org/wiki/MediaWiki_Bulk_Page_Creator for more information. [17:04:42] Key was added [17:04:50] !externaldata alias bulkpagecreator [17:04:50] Created new alias for this key [17:05:01] !importpages [17:05:11] !importpages alias bulkpagecreator [17:05:11] Created new alias for this key [17:05:42] tonythomas: No harassing the newcomers [17:05:47] Or at least keep it above the belt [17:06:15] marktraceur: haha. you should've seen the error logs [17:06:19] I am able to recieve email confirmations, etc but not when another user modifies the page [17:06:31] FATAL ERROR: It's getting hot in here, I'm taking off all my clothes [17:06:50] marktraceur: reminds me of karaoke :) [17:06:53] Mmhmm. [17:06:56] I have also set all the tick marks in the Notifications under Special:Preference [17:07:59] marktraceur: kidding though. [17:12:17] does some one know how to install the graphviz extension on windows? ... some how it does not create pictures, other extensions which use the dot.exe work well in the same wiki [17:13:20] i did all the instructions as they say, dot.exe is in the path of the system and also in localSettings [17:14:20] user rights and every thing, but GraphViz only generates paragraphs which are empty [17:14:53] the GraphicalCategories browser extension works and the QuickGV too [17:15:15] so i strongly suspect the problem is in GraphViz [17:16:03] I'm getting an error that a lua binary within Scribunto is not exeutable, even though I've chmoded it numerous times and it looks abundantly executable to me. [17:16:21] There are often extensions which depend on GraphViz, so it would be realy niche it it would produce pictures [17:16:50] Shouldn't this be sufficient? [17:16:50] -rwxrwxr-x 1 apache apache 195476 Feb 10 07:09 lua [17:18:28] with the graphViz extension i get a message in the apache errorlog ... command not found or misstyped .... but also here on windows the apache user has all rights on it [17:18:40] Untoldent: Did you make sure the setting for the path to the lua binary is correct? [17:20:28] and other extensions can still reach the dot.exe ... it is just graphViz which tells me in the apache log that dot.exe is not found ... the other extensions just use it and generate pictures [17:21:05] i have no idea what i could try to fix this prob [17:21:44] Rabutz: My next step would be to try debugging graphviz to figure out where it's looking for dot.exe [17:22:10] It might not be looking in your PATH, but instead looking for a config variable that points directly to the binary [17:22:10] marktraceur Where do I find that path? [17:22:20] Uhhh let me find it [17:22:33] this is a wfSellExec command ... but i have no idea about PHP and how to change it [17:22:54] marktraceur Actually, wait [17:23:12] marktraceur I copy/pasted the path from the error message into shell, and it gets there just fine. [17:23:20] Untoldent: $wgScribuntoEngineConf['luastandalone']['luaPath'] = '/path/to/binaries/lua5.1'; [17:23:57] Rabutz: Hm, OK, so can you make sure that dot.exe is in the PATH for whatever user is running the webserver? [17:24:19] there is the graphvizParameters.php this creates the path ... and then in the body.php the path gets used ... once i did change wfSellExec to exec or Sell_exec and then it did generate pictures in the folder ... but still not found in the site because of a missing return value [17:24:29] but i dont know how to fix this :( [17:25:01] dot.exe is in the path of the system and the server user [17:25:11] and all have every permission [17:25:26] also the temp folder is open [17:25:37] and of course the mediawiki folders [17:26:02] Rabutz: Which versions of MediaWiki and GraphViz are you using? [17:26:04] and other extensions use the dot.exe command and they work ... its just graphViz that makes problems [17:26:49] the lastest version of mediawiki and also graphViz extension and the App it self [17:27:04] every thing just installed [17:27:12] What app? [17:27:47] the extenssion GraphViz needs a application GraphViz which it depends on [17:27:56] Ah, OK [17:28:00] it is this dot.exe [17:28:18] Well I'm out of ideas... [17:29:11] there is a other extension QuickGV and graphical Categories browser ... both zse the dot.exe too and they work they have access and are in the same wiki [17:30:36] just graphViz makes this problem ... sadly many depends on graphViz and not on QhickGV which was very nice to install :D [17:32:48] marktraceur In which file do I find that lua path? [17:33:44] Untoldent: I'm not really sure, I haven't looked for it [17:34:20] marktraceur Ha! So, ok ... where did you look to tell me where the path was set? [17:35:08] The Scribunto extension page on mw.org [17:48:06] Any help with this Scrubunto error? It's complaining that lua is not executable, but I beg to differ. :) [18:51:19] Untoldent: what are your configuration lines for it? [18:52:12] my crystal ball says you specified a directory instead of the file [18:59:19] RobotsOnDrugs: I just had to figure out the contents of your LocalSettings.php using my extra-sensory powers [18:59:33] lol [19:02:13] i'm impressed [19:46:28] I'm having trouble implementing Scribunto. I'm getting an error message saying that the lua file isn't executable, but as far as I can see, it is. [19:46:54] Can anyone come to my rescue? [20:01:23] Untoldent: what operating system are you using? [20:49:28] any good instructions for configuring nginx as the mediawiki web server? [20:49:56] !nginx [20:49:56] There is no such key, you probably want to try: !filesize, [20:50:02] Hm. [20:50:47] marktraceur: the documentation is pretty light [20:51:15] I found this: http://wiki.nginx.org/MediaWiki [20:51:34] but it states it requires a LocalSettings.php, which I don't have as I'm doing a fresh install [20:51:55] You should be able to generate LocalSettings.php...I think [20:52:01] !localsettings [20:52:01] All configuration is done in LocalSettings.php (near the end of the file). Editing other files means modifying the software. Default settings are not in LocalSettings.php, you can look in DefaultSettings.php. See , , , and [20:52:24] is there a command line install tool? [20:53:03] wmat: I want to say yes but I'm not sure [20:53:31] I'm sure there used to be [20:53:53] oh, install.php [20:54:15] Yeah. [21:28:26] hi! i get an SQL error when using Postgres in combination with an LDAP backend [21:29:04] the following error is shown in the logs when a new user (is present in the LDAP backend) tries to log in: SQL ERROR: ERROR: operator does not exist: text <= integer