[05:35:09] Hi, I am new and want to start contributing to Mediawiki. I was looking for the projects with which I can start. [06:45:18] hey [06:46:34] not sure whether this is the right channel, but i'm a bit lost. i'm trying to query an infobox on wiktionary, but I can't figure out how to do it. [07:07:25] JOBGG: what have you tried so far? [07:07:53] querying the wikidata api, and trying to wrap my head around dbpedia [07:08:09] the latter an abject failure [07:08:46] also seeing whether I could just parse the HTML...i'm trying to avoid that since that's just brittle [07:26:31] got something "https://en.wiktionary.org/w/api.php?action=parse&page=%E4%BF%B1%E6%A8%82%E9%83%A8&prop=text§ion=3&format=jsonfm" [07:37:56] think I can solve it, thanks [09:14:44] Hello I need to migrate MediaWiki 1.10 to newest version (1.27). Not wiki expert can somebody point me to some guide or documents how I even can start it? Hope will be not too much payne... [09:23:11] !upgrade | Hetman [09:23:11] Hetman: http://www.mediawiki.org/wiki/Manual:Upgrading [09:24:07] Vulpix: thanks found it ... Interested section starts with ""This is less thoroughly tested, but should work."" but I'm otpimistic, will try. Thank you [09:25:13] the most important part is to take a backup first ;) [09:26:04] Yeah , I'm doing it on another machine so first will prove that is possible and then say everyone OK now you not updating old wiki for 1h, i'm migrating and you getting new url so I can even break something on the way without too big consequences [09:29:31] yes, that's probably the best since you probably need a more recent version of PHP [09:33:04]

<< Importazione dei Clienti | Indice | L'Archivio dei Clienti >> i got this on a bottom of a page [09:33:52] i mean the text should appear centered with no code shown [09:34:08] i used the same code on another page and it works [09:38:39] Dr_Z: align=center is a deprecated HTML attribute. You should use CSS instead:

. Also, you may be missing the closing

[09:39:31] i have the same code on top of the page but have not the problem [09:40:14] do you mean the missing

? [09:41:32] well, we can start arguing why bad code works sometimes and sometimes not, but don't lose the focus on what bad code is :) [09:41:59] xD [09:42:16] i used similar code on all pages and all of them work fine [09:42:23] why that single line is not? [09:44:05] i'll try the code u provided me and see [09:47:13] nope [09:49:11] Dr_Z: is your wiki public so we can take a look at the page? [09:54:03] In developing an extension is it possible to use hooks to give users *more* user rights than they would have by default? [09:58:55] I guess you can modify $wgGroupPermissions from a hook, but that will probably be confusing [10:00:36] Which hook would that be? And would it apply to API actions as well? [10:00:52] Hello, I have a problem with translation extension I have no idea how to proceed with. I marked all texts @ https://outreach.wikimedia.org/wiki/Education/Class_activities_database for translation, yet the option to start translating doesn't appear at the top of the page. What am I doing wrong? [10:01:27] Any help would be appreciated [10:08:29] Halibutt_pl: are you a translation admin there? I see this at the top of the page: "This page contains changes which are not marked for translation.". A translation admin must mark the page for translation (not just adding tags, but click a button somewhere to make it translatable) [10:08:59] No, I'm not an admin [10:09:23] So I have to contact one of the admins at outreach wiki, right? [10:10:15] not a plain admin (sysop) but a "translation admin", which have different rights [10:10:29] Plus, the changes are actually adding tags :) [10:10:59] Ok, thanks for the info [10:11:02] https://outreach.wikimedia.org/wiki/Special:ListUsers/translationadmin [10:14:56] hare: this seems a good option https://www.mediawiki.org/wiki/Manual:Hooks/UserGetRights [10:24:03] where can I best find information on implementing SUL and Commons wiki? [10:24:46] Coz I need SUL and I need a commons installation to be the central point for checking images that they not copyvio or something disallowed [10:25:56] then I need a well conffed Semantic MediaWiki on the implementation phase wiki [10:26:22] triplestore(s) and graph database(s) for efficient querying [10:26:49] and gonna add the other language editions later on once we get the data insertion going in a rational manner [10:27:58] Here is in five minute read what we wanna do http://develop.consumerium.org/wiki/Consumerium:Executive_summary [10:28:13] I gonna go eat some pea soup now. [12:46:40] hello [12:46:56] as promise, i came back [12:48:09] i got enough information about my php spec, every thing are activated but unfortunately, i can't check the php.ini because it's a shared hosting provider [12:49:58] you can get all the php.ini configuration settings with phpinfo() https://www.mediawiki.org/wiki/Manual:Php.ini [12:50:10] so, it's impossible to know if the proc_open is not within the array of disable_functions in your server's "php.ini" file. [12:50:39] ah hello vulpix [12:51:22] as promised, you can check the info.php: https://dl.dropboxusercontent.com/u/14183130/info_php.png as screenshot [12:53:34] planin html would be better for searching, but whatever... [12:54:06] sorry [12:54:30] disable_functions does not contain proc_open [12:54:41] ah [12:54:49] so, it was that problem? [12:55:35] nevermind, i missread [12:59:12] humm [12:59:17] i will try something [13:00:09] allaze-eroler: so, reading the logs, apparently your PHP installation is missing the pcntl extension [13:00:58] https://dl.dropboxusercontent.com/u/14183130/info.html here [13:01:25] apparently, i just have to copy and paste the code source into notebloc XD; [13:01:46] i think as an artist not as a dev lol... [13:01:59] sorry about that [13:02:17] vulpix? [13:03:05] or maybe not... I see that in that phpinfo [13:03:51] you may want to explain again what's your current status, as well, maybe I missed something from the channel logs :) [13:04:11] oh [13:04:12] sure [13:04:54] i managed to activate that lua thing but i still get that same error: https://dl.dropboxusercontent.com/u/14183130/scribunto_bug.txt when i use the simple module with hello world code [13:05:07] Vulpix : proc_open is not part of pcntl [13:06:25] correct, but that error message tells about pcntl_wifsignaled() [13:06:59] I'm not sure why we started talking about proc_open tbh [13:07:08] ah [13:07:14] no idea, you're the one who started it ;) [13:07:33] Alphos: false: [14:50:10] allaze-eroler so, it's impossible to know if the proc_open is not within the array of disable_functions in your server's "php.ini" file. [13:07:42] i have probably try to find every possible error XD; [13:08:04] plus, i misunderstand what these mean since i'm a non-english person soooo.... XD; [13:09:09] my bad ^^ [13:09:53] even though i'm good with english but i'm still learning despite my 10 years XD; [13:09:55] I'm also a "non-english" person :) [13:10:01] as am i [13:10:10] 10 years old of experience i mean [13:10:26] correction: 15 years old [13:13:21] so, it's still that pcntl_wifsignaled problem [13:14:35] hum [13:15:05] pcntl seems to be enabled, but that function is not found, strange... [13:15:12] there's an alternative provided here: https://www.mediawiki.org/wiki/Topic:Sydxy2vfvr3m9qme [13:15:40] basically, install the LuaSandbox php extension https://www.mediawiki.org/wiki/Extension:Scribunto#LuaSandbox [13:16:48] i checked the version of wikipedia about scribunto, i noticed there is a new version which it's 20:39, 29 August 2016 mine is still in 03:46, 23 May 2016 [13:17:21] ok, i will check that out too [13:18:55] wikipedia uses "latest" code (or near that), but that matches with the latest MediaWiki version that doesn't have a "formal" release yet. It may or may not work with MediaWiki 1.27 [13:19:24] good point [13:19:30] didn't noticed it's 1.28 [13:19:41] which mine is 1.27... bummer XD; [13:22:18] guess my only option is to activate the luasandbox [13:24:18] i wish i could read that localsettings from wikipedia so, i could understand the coding XD; [13:25:04] shall i add this code in my localsettings? $wgScribuntoEngineConf['luasandbox']['key'] = 'value'; [13:25:59] no, that's only if you want to change the configuration. The important part comes before, where you download the luasandbox code, extract, compile it and edit php.ini to include it [13:26:20] ah [13:26:41] that is a problem: i can't edit php.ini since it's a shared hosting provider [13:26:52] once you've done that, you probably have to set $wgScribuntoDefaultEngine = 'luasandbox'; [13:27:06] i see [13:27:25] uh... I though that was a virtual host or something :S [13:27:33] wait [13:29:02] oh [13:29:05] now i see [13:29:07] why [13:29:19] it doesn't have the lua language.... [13:30:27] all i have is this: php, php/fpm optimisation, perl, c, python, mySQL, html, css and javascript [13:31:15] hexmode was trying to get rid of those pcntl_* functions here https://gerrit.wikimedia.org/r/#/c/273173/ , maybe you can just apply that patch and see if that works [13:31:21] here you can find info: http://cluster015.ovh.net/infos/ [13:31:43] hummm [13:31:46] i could try that [13:32:47] lua is provided by the luastandalone binary that came from the extension, that page probably doesn't know about it :) [13:33:01] i see [13:33:23] i guess what you gave me show all these errors in some files have as typo apparently [13:34:31] how i apply the patch? [13:34:47] by downloading the file and upload it on my sever? [13:34:51] server* [13:35:12] no, it probably won't match [13:35:29] ah [13:35:32] edit the engines/LuaStandalone/LuaStandaloneEngine.php file directly applying the modifications shown here https://gerrit.wikimedia.org/r/#/c/273173/4/engines/LuaStandalone/LuaStandaloneEngine.php [13:36:29] i have to copy the green color part and put it in my file i suppose? [13:37:08] i wanted to make sure i don't mess up the file XD; [13:38:05] yes. I suggest copying the original file with another name as a backup [13:38:19] good idea [13:39:25] note that the green part overwrites the red part [13:39:39] so, that is what i understood [13:39:44] well, basically it wraps code around it [13:41:54] ok done, let see if that thing work [13:43:30] ah! [13:43:35] it worked! [13:43:52] but i have this as result: Script error: Lua error: Internal error: The interpreter exited with status . [13:44:18] curious [13:46:42] hmmm, something is probably not right with that patch... [13:46:49] indeed [13:47:44] look like there is more code to change apparently... [13:56:41] i asked the support to reinstall the php stuff [13:56:45] and see if it changed [13:57:26] normally, i could do that but my skills is very limited so, i ask the help of OVH support XD; [14:03:11] still one step before successful for scribunto pffff [14:08:02] i didn't noticed there is a folder called "test" in scribunto! [14:08:09] i will use that to see if it work [14:11:08] hum blank page [14:13:31] oh [14:13:38] i think i know why [14:16:15] nevermind [14:21:43] there is definitely something wrong with my scribunto pfff [14:41:50] back [14:42:04] i took a pause, i read the the chat here [14:42:21] i checked again that patch, i found out i took the wrong patch [14:44:05] nope didn't work... [16:37:47] i'm going to install my own wiki in my computer so, i will have enough time to finish these infobox before i install them on my site [18:05:26] is there a way to use cmod in localhost? [18:05:38] unless i don't need to? [18:08:44] So, I just installed a new Wiki but I'm getting an exception on the localization directory. The directory exists and the HTTP daemon owns it... Halp? [18:09:07] I'm on MediaWiki 1.27.1 for this new Wiki. [18:18:22] anyone? [18:21:03] DarkFeather: "an exception" means any of fifty billion things [18:21:06] specific error msgs help [18:22:28] ^ [18:22:43] please, specify the exception error [18:34:55] DarkFeather, https://www.mediawiki.org/wiki/How_to_debug [18:51:42] Have trouble with a Mediawiki skin not showing ... and no idea how to trouble shoot. Is there a guide I could read / try? [18:55:59] felix___, https://www.mediawiki.org/wiki/Manual:How_to_debug [18:56:06] Have you checked https://www.mediawiki.org/wiki/Manual:Errors_and_symptoms#Class_SkinStandard_not_found.3B_skipped_loading ? [18:59:44] Thanks andre__. Haven't, but will. Have just tried wiki.log, but it stays quiet / empty. [19:00:33] I have the Vector skin not showing, probably after an upgrade. Both Mediawiki and the skin are on 1_27 in git. I tought it was a problem with versions not being synced, but syncing didn't help. [19:03:14] felix___: define 'not showing' [19:04:25] Seems the/some CSS is not correct or included. For example, the sidebar & logo are not showing. I'm talking about http://www.deutsche-chanson-texte.de/ [19:05:06] I have no idea how CSS is compiled and is seems to go through some postprocessor (load.php). I could'nt figure out what it's supposed to do, and what it's not. [19:06:49] huh. hmm. [19:07:12] yeah, http://www.deutsche-chanson-texte.de/load.php?debug=false&lang=de&modules=mediawiki.helplink%2CsectionAnchor%7Cmediawiki.legacy.commonPrint%2Cshared%7Cmediawiki.skinning.interface%7Cskins.vector.styles&only=styles&skin=vector seems to be missing stuff from the 'skins.vector.styles' module [19:07:47] http://www.deutsche-chanson-texte.de/load.php?debug=true&lang=de&modules=skins.vector.styles&only=styles&skin=vector – this should definitely not be empty :) [19:08:03] (you get a page that loads that last URL if you visit http://www.deutsche-chanson-texte.de/index.php?title=Willkommen&debug=true) [19:09:15] felix___: i think if you enable a bunch of debugging stuff, we should get an error message there rather than an empty page [19:09:17] !debugging [19:09:17] 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:10:02] felix___: i guess something is failing when compiling the LESS stylesheets to CSS [19:10:20] Thanks I supposed so much (CSS being empty). So far there's nothing in the debug log-file, but maybe I've misconfigured access rights. I'll investigate the debug log further. [19:10:36] felix___: hmm. if you installed from Git, then you probably need to install the dependencies we manage through Composer (or from the mediawiki/vendor repository) [19:10:41] !vendor [19:10:45] hm [19:10:46] !composer [19:10:46] Composer is a dependency manager for PHP. MediaWiki uses it to include certain external libraries. See https://www.mediawiki.org/wiki/Composer for more details. For information on how to install MediaWiki dependencies with composer see https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries [19:10:55] aha. see that last link there ^ [19:15:54] MatmaRex: had installed including composer, composer.lock is still there. No change after . [19:20:04] huh. D: [19:21:30] i'm still get that Script error: Lua error: Internal error: The interpreter exited with status 0. error... [20:23:16] Thanks MatmaRex, still haven't made a step forward in the last hour, I'm afraid ;( [20:34:16] Anyone here using LDAP for users? [20:41:27] what would be your followup question after that one? [20:44:13] andre__: I have an OpenLDAP install that I can configure to log in OS users. I can't seem to get the ELDA extension to authenticate people as well... [20:45:05] Which MediaWiki version and extension branch names/tags? [20:45:33] on my part, i'm been thinking: i suspect that the lua file in that scribunto might not be the right version... [20:45:47] since i got that damn error which it's a statue 0 [20:46:17] andre__: I'm using 1.27.1 with https://www.mediawiki.org/wiki/Extension:LDAP_Authentication [20:46:29] which it's that "Script error: Lua error: Internal error: The interpreter exited with status 0." [20:48:32] andre__: do you want a pastebin of what I've tried for auth? [21:41:20] Anyone here know why the module won't even create a log? [21:57:19] bye [22:08:19] . [23:15:39] hello again [23:16:31] i just found out why on my site didn't work [23:16:39] it was because of lua [23:16:59] on my site, the version is 5.1.5 [23:17:12] but on my computer, it's 5.1.4 [23:19:08] and wish it's downloaded from bitnami addon [23:19:22] that explain alot why [23:19:45] tomorrow, i will try to reinstall it entirely with bitnami version [23:20:43] for now, i will mess around with my newely localhost installed [23:20:49] 10 [23:23:01] which i'm plenty happy with the result XD; [23:41:57] i'm off to sleep now [23:41:57] bye