[13:40:27] Have you changed how api upload works? When uploading a file using the stashed mode I get an error that "filekey, file, url, statuskey is required" [13:52:31] xzise: when did it work last time for you? [13:53:15] Well for me 1.23 on my local test server, but I'm talking with someone in #pywikibot and they said they used it yesterday [13:53:53] So I'm also looking into the possibility that pywikibot broke it, although this is unlikely � [13:54:28] Except� would this error appear if someone already tried to upload that file in stashed mode, canceled it and now uploaded a file with the same name? [13:54:33] (but without filekey) [14:25:19] Okay I've been able to upload a file in stashed mode to test.wikipedia [14:32:00] hello, I have another question again [14:32:48] what would be the difference between 1. sharing a single database and using table prefixes, and 2. using seperate databases [14:33:05] for two MediaWiki installations [14:34:07] hmm [14:34:14] it seems you can share ipblocks table [14:34:28] oh, you can share users tables [14:35:14] that's nice [15:39:56] hi andre__ [15:40:03] hi petan [15:40:10] some tasks in melange are not approved is there something I need to fix? [15:40:43] for example https://www.google-melange.com/gci/task/view/google/gci2014/5805008708698112 [15:41:34] I could probably submit there some similar commits but problem is that this task is the hardest from those I picked and it's not just "copy paste" task, it requires some thinking :) [15:41:59] I can improve the explanation maybe if it's not clear [15:43:30] petan, if you want all your tasks to be claimable immediately when the contest starts, I can approve them :) [15:43:42] depends on how many students you want to deal with at the same time [15:45:10] tbh I have no idea how many students, if any would be there that would like to work on these :P how many students can work on same task? most of them can be fixed only once, so it makes no sense to have more than 1 person to work on the given task, as they would both do the same. Unless this is some "first to finish wins a cookie" contest [15:45:28] petan, one student per task, and one student can claim one task at the same time. [15:45:35] ok [15:45:48] then it makes sense to have all tasks ready before it starts [15:45:48] but there's going to be lots of students claiming tasks the first days. [15:45:52] it'll be a bit noisy [15:46:04] aha, so you think it's better to have only few tasks ready? [15:46:09] alright then, if you can handle that, I'll mark them as all available at the same time :) [15:46:42] I don't get one thing, if 1 student claims a task, it immediately stops being available to other students or not? [15:46:58] in that case, I can't expect more than 2 students for 2 tasks [15:47:30] if that is the case I definitely can handle 4 tasks in 1 day :) [15:48:33] petan, heh, cool, alright then [15:48:45] and as usual: more tasks always welcome. or clonable generic ones :) [15:48:55] ok [16:17:03] hi guys, a little help... to retrieve a number of edits via API we use https://en.wikipedia.org/w/api.php?action=query&list=users&ususers=Sir_Lestaty_de_Lioncourt&usprop=editcount but and for IPs? [16:51:04] \j #mediawiki-parsoid [16:52:02] you need to lean the line the other way ;) [17:05:24] Hi @ll, I need some help [17:05:32] I am using Mediawiki 1.23.6. Since a few days it is not longer possible to log in "normally". I always have to click the checkbox "keep me logged in". Otherwise the Wiki tells me I am not logged in when I try to edit an article. But when I go to the login it says "You are already logged in as ....". This does not happen when I click keep me logged in. Cookies are enabled in all browsers. [17:05:32] When I try now to upload a picture (tried different filetypes) it gives back a message like "Your edit couldn't be saved. Sessiondata were lost". [17:05:33] So it seems to have a problem to save sessions at all. I already set the session_save_path to a writeable folder and files are stored there. [17:06:23] Sorry for my translated Systemmessage I only have them in german ;-) [17:15:12] hello? [17:15:32] you might need to wait some time before someone can help, sorry [17:16:31] ahhh ok! thx [17:17:16] does the folder have the correct ownership? [17:17:52] yes [17:18:02] well [17:18:20] PHP configuration is very bloated anyway... [17:19:43] uh [17:19:55] If I click in an article on „View Source“ ( cause it seems that I am not logged in) I come to the edit page [17:21:42] and changes will be saved [17:21:55] well [17:22:02] this is very confusing [17:22:09] might be helpful http://php.net/manual/en/session.configuration.php [18:07:06] I don’t find the right way to solve my prob [18:41:59] I have a question [18:41:59] Hi Nahiyan, just ask! There is no need to ask if you can ask [18:42:08] ok... [18:42:44] How is wikipedia adding highlighting and other text at http://en.wikipedia.org/wiki/MediaWiki:Common.css? [18:42:59] the source seems to consist only of the CSS [18:44:09] Nahiyan: using this extension: https://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi [18:45:20] where is the documentation being added? [18:45:31] Common.css/doc is the default page [18:45:36] er [18:45:49] it's a hard-wired page with only the default code in it [18:45:50] I found the following bug with geshi: [18:45:53] https://bugzilla.wikimedia.org/show_bug.cgi?id=73567 [18:55:31] Can somebody handle these error logs:http://ahlenwiki.de/errors/-debug_log.txt [18:55:52] I don’t know what to search for [18:56:03] http://ahlenwiki.de/errors/-debug_log.txt [19:48:02] Hey guys, anyone available to explain why getFormatOutput returns an HTML encoded HTML and not raw HTML? [21:26:40] hello. is there a way to "bulk insert" a large number of articles, with (possibly new) categories and text? [21:26:58] except writing something that does html-calls directly. [21:36:23] schoppenhauer: a few ways, in fact [21:36:47] MatmaRex: namely? [21:36:49] schoppenhauer: one, you could write a bot to create the articles via API. [21:36:51] !api [21:36:51] The MediaWiki API provides direct, high-level access to the data contained in the MediaWiki databases. Client programs should be able to use the API to login, get data, and post changes. Find out more at < https://www.mediawiki.org/wiki/API >. For client libraries in various languages, see < https://www.mediawiki.org/wiki/API:Client_Code >. [21:37:23] schoppenhauer: two, you could create a special XML file with the content of your pages and use the import/export functionality [21:37:24] !import [21:37:24] To import pages a few pages, use Special:Import - you can also import pages directly from another wiki (see !importsources). For mass imports, use importDump.php - see for details. NOTE: when using content from another wiki, follow the LICENSE TERMS, especially, attribute source and authors! [21:38:15] and three, there's a maintenance script to make an edit to a page, you could call it repeatedly from a shell script [21:38:18] https://www.mediawiki.org/wiki/Manual:Edit.php [21:38:32] MatmaRex: ok thank you. [21:38:34] :) [21:39:02] good luck :) [22:12:19] is it possible to address a user with a number variable instead of the full name ? [22:12:48] not like usual: "User:Longname" but like "Userid:47" or so [22:12:59] in the wiki syntax [22:13:50] well userid in wikipedia is usually longer than most names :P [22:14:10] but overall, i don't thinks its possible yet.. [22:14:28] ok :-( [22:14:51] thx, comets [22:24:32] hi, does anybody know if it's possible to pre-set in the configuration specific label for the main page of the project instead of using a dedicated JS instruction? [22:24:52] apparently en:w does not use any JS [22:28:42] Andyrom75: i don't understand the question, which label? [22:29:05] MatmaRex: Like [[MediaWiki]] on mw.org I'd imagine [22:29:49] well, the title of the main page is controlled by [[MediaWiki:Mainpage]] [22:30:04] but that seems too easy. :) [22:30:40] MatmaRex: let me check MediaWiki:Mainpage [22:32:04] MatmaRex: the label stored there is fine, but it's not applied automatically [22:32:25] "automatically"? [22:32:35] you'll need to move the existing page to the new title, but that's it [22:32:37] if I remove the dedicated JS from commons.js the label on the main page turn into another laberl [22:32:44] nope [22:33:11] let me give you the exact details [22:33:17] i honestly don't know what you're trying to do [22:33:43] don't worry, I have enough time to explain you ;-) [22:34:22] https://it.wikivoyage.org/wiki/Pagina_principale currently show "Pagina principale" in the label [22:34:38] is exactly the one stored in https://it.wikivoyage.org/wiki/MediaWiki:Mainpage as you have said [22:34:40] but [22:35:27] if I remove from https://it.wikivoyage.org/wiki/MediaWiki:Common.js the following JS instructions, it turn back to the default label: "Articlo" [22:35:32] *Articolo [22:35:37] the instructions are: [22:35:38] if ((wgPageName == "Pagina_principale" || wgPageName == "Discussione:Pagina_principale") && wgUserLanguage=='it') { $("#ca-nstab-main a").html("Pagina principale"); } [22:35:52] is it moew clear? [22:35:52] *more [22:36:04] ah [22:36:21] it is, but i'm afraid i'm going to disappoint you; i know of no way to do this :) [22:36:32] lol :-D [22:36:50] don't worry, but thanks for giving me some of your time to think about it [22:37:01] the question is still open for anyone else [22:37:27] I'm asking this because in en:w there's no JS code to change the label [22:56:16] MatmaRex: you were very close to the solution [22:56:24] the right page was MediaWiki:Mainpage-nstab [22:56:40] I suppose that MediaWiki:Mainpage was the old one [22:57:06] (just received the answer on another channel ;-) ) [23:02:26] Andyrom75: yeah, seen it, thanks. mediawiki:mainpage is something entirely different, i misunderstood you at first [23:02:58] MatmaRex: no problem, the important is the result :-P [23:03:03] thanks again [23:25:02] Weee, https://bugzilla.wikimedia.org/show_bug.cgi?id=70576 getting closer to deployment! [23:28:02] guillom: :) [23:28:11] \o/ [23:28:35] * legoktm goes to bug gre.g about it