[00:49:15] anomie_: I think I found a bug in the spam blacklist [00:50:38] Anyone around to do a sanity check and verify what I think is happening is actually correct? [01:47:22] ^d: what would it take to have https://github.com/mary-kate/ArmchairGM mirrored to WMF's servers, too? it doesn't need to be editable in any way, shape, or form -- it just needs to exist for future generations and all [03:07:48] I am having an issue with MW 1.24.1 running on Centos7 with PHP-FPM 5.4.16. I have just "inherited" this server, and my knowledge is limited. I can upload images fine, but any attempt to resize an image in a link fails due to the associated thumbnail image not being created (using GD in PHP). I see nothing in my system log that would indicate a permission issue creating the file, and nothing [03:07:48] in the PHP error log indicating an issue in GD creatine the file. When I do an upload, a thumbnail is made to display on the corresponding File page, but no others are made. Any suggestions on how to proceed would be greatly appreciated. [03:34:20] !debugging [03:34:20] 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 [03:34:42] RaTB0X: have you turned on all the debugging settings listed in ^? [05:19:49] Does anyone know how many slots in GSoC '15 has been allotted to wikimedia ? [05:27:19] kuni: I think *someone* knows, but I'm not sure if it has been published yet [05:46:38] anyone active? [05:53:21] john_rambo: yes [06:18:26] RaTB0X: You checked the file system and the file isn't being created? [06:18:43] The thumbnail, I mean. [06:18:52] There's a thumb/ directory, as well as the original file. [06:19:01] If you can switch to ImageMagick, I think it's preferred over GD. [07:50:13] are there any tips or hacks to speed up template parsing? [07:51:32] oops [09:35:44] are there any tips or hacks to speed up template parsing? [09:43:40] skyrz, convert them to Lua? [11:16:44] lo, a while ago i tried to set up multilanguage support, and now i still have nonworking "available languages" and "missing languages" on the page, no idea where it came from [11:16:59] any idea how to get rid of that again? grep -r not helping me at all [11:30:39] and what did you do? [11:48:28] Fiona i did check the file system. when an image ia uploaded (eg i just uploaded a 201x151px jpg file) a corresponding 120px-FileName.jpg image is created in the approprite hash named dir in the thumb/ dir as it is in the image/ dir for the original file. this would indicate appropriate permissions in the OS for both the web server and PHP pool. the issue is when i try to use said image in [11:48:28] a link with a new size specified ( [[File:Image.jpg|80px]] ), a new thumbnail is not created and my page doesnt display the image (ans the browser gets an appropriate 404 for that file). looking at the html of the rendered page, its trying to use 80px-FileName.jpg from the correct dir, it just hasn't been created. [11:50:42] legoktm I will look into more debugging. i just have to be caredul with this being a production server i inherited that unfortunately didnt come with a test environment. also sort of learning linux and PHP as i go, heh. [12:30:10] MaxSem: if i could remember exactly what i could undo [12:30:19] i know i tried lots of things [12:30:43] a bit lame that i can't even find those strings with grep [12:36:38] hi, is MediaWiki a seamantic wiki? [13:08:53] Betacommand: Did you ever find anyone to look at your bug? [13:14:12] anomie: I was being stupid. [13:14:28] Happens to all of us sometimes [13:14:40] anomie: I got the global spam blacklist confused with the local spam blacklist on meta [13:15:20] hmm, this "available languages" thing is only shown on main_page [13:15:44] that should narrow it down a bit, but still no idea where to look :) [13:17:10] anomie: I was wondering why my program was generating false positives and was starting to loose my sanity [13:22:01] Hey [13:26:30] I want to migrate my currect docs portal to mwdiawiki.I have converted those docs from ".rst" to ".wiki" format.I am able to get the index wiki page as per my earlier docs index page but cannt get a clue where to put other docs in /var/www/mediawiki/ path [13:27:09] can somebody help I am new to wiki... :) [13:34:17] ok, found it, it was template::language thing, text in database [13:34:57] which brings me to next point: it's a wiki i took over, there's pages in several languages, but i have no idea how to make them show in other than english [13:35:46] i installed UniversalLanguageSelector but that only does the user interface [14:08:47] tuxick: mediawiki doesn't have good supprot for multilingual content. [14:09:10] it preferred approach is to create a wiki family, with one wiki per language, like wikipedia [14:09:33] well, point is, it's there [14:09:50] there are ways to make mediawiki handle multilingual content, but it's not easy to work with [14:10:02] i found language extension bundle [14:10:10] if you want that, have a look at Extension:Translate, or, for a more leightweight approach, Extension:Polyglot [14:10:19] (no idea if that old thing still works) [14:11:19] but php extensions/LocalisationUpdate/update.php [14:11:19] hangs, or at least doesn't seem to return [14:11:19] tuxick: there are thousands of extensions for mediawiki - the fact that it exists doesn't mean that it actually works, or, if it works, that it's nice to use [14:11:19] i know the pages in other language are there, but no idea how to access them at all [14:11:25] ugh, LocalisationUpdate. All I know about it is that it often breaks in wonderful ways :) [14:11:33] worst is, i know there's direct links somewhere but can't find them [14:11:45] Have you looked on Special:Allpages? [14:12:22] not found [14:13:05] tuxick: hm? that'S a standard special page. one of the oldest. you'd have to break your wiki hard to make it disappear [14:13:11] got a link? [14:13:12] or how am i supposed to access that then? [14:13:24] search box, or url, or a wikitext link [14:13:37] or via "Special pages" in the toolbox [14:13:40] http://wiki.davical.org [14:14:01] there it is http://davical.dhits.nl/index.php/Special:AllPages [14:14:37] it's using prefixes for different language. i see a lot of "Fr:..." pages there [14:14:55] http://davical.dhits.nl/index.php/Special:Version sais the Translate extension is installed [14:15:29] so you'll have to find out how Translate works. I never did. Bug Nikerabbit about it, he wrote it :P [14:16:16] o_O [14:16:22] why does that wiki have DataValues installed? [14:16:35] well it might work if that extensions/LocalisationUpdate/update.php does its job [14:16:45] bug Nikerabbit about that too :) [14:17:18] But DataValues is strange, if you are not using Wikibase or SMW [14:17:25] it doesn't do anything by itself [14:17:31] i have no idea, i don't see it in extensions [14:18:00] ah vendor [14:18:06] well, apparently, it's there, and registered - otherwise, Special:Version wouldn't show it [14:18:47] maybe Validator uses it, JeroenDeDauw would know [14:18:50] maybe it was required for one of my attempts to get this language mess working [14:19:29] the only things I'm aware of that use it are Wikibase and SMW. But maybe it's Validator, who knows [14:19:34] ye looks like, i was fiddling yesterday [14:20:09] right, installed UniversalLanguageSelector [14:20:19] and that needed Validator [14:20:31] o_O [14:20:36] wtf does it need that for? [14:20:41] tbh i don't see why multilanguage would be such a problem [14:20:49] sounds like a design flaw to me :/ [14:21:25] but ok, can't change that now [14:22:16] tuxick: it sounds very... odd to me, too [14:23:09] well i just followed instructions :) [14:23:13] /mw-config/?page=ExistingWiki Exception from line 341 of /home/davical/wiki/includes/MagicWord.php: Error: invalid magic word 'babel' [14:23:27] bummer [14:23:34] i think subpagelist has the dependencies [14:23:36] not ULS [14:23:42] aah right, installed that as well [14:23:43] https://github.com/JeroenDeDauw/SubPageList/blob/master/composer.json [14:24:12] shame i only got database dump from previous hoster :) [14:24:23] but at least we got that [14:25:22] tuxick: install teh Babel extension [14:25:53] it is installed [14:28:31] hi [14:39:18] DanielK_WMDE_: the oldest code in DataValues started its life several years before in Validator and Maps [14:42:24] grr [14:53:26] aha found clue, http://www.mediawiki.org/wiki/Thread:Project:Current_issues/error_in_update_with_by_web_browser_in_MediaWiki_Language_Extension_Bundle [14:53:51] but it says to truncae l10n table, i suppose they mean l10n_cache? [15:01:39] JeroenDeDauw: yea... but pulling in all the datavalues stuff for paramprocessor seems kind of excessive [15:02:03] It only pulls in what it needs? [15:02:04] tuxick: oh, you are trying to run this from the browser? probably not a good idea [15:03:05] JeroenDeDauw: the fact that it needs so many modules indicates that the boundaries or granularity is off. but we knew that. I was just surprised. [15:04:00] DanielK_WMDE_: instructions tell me to run /mw-config, i have no idea how else to do this [15:06:21] hmm this thread is fairly recent [15:14:51] tuxick: from the command line? [15:14:56] !shell | tuxick [15:14:56] tuxick: Shell access (that is, SSH access, see http://en.wikipedia.org/wiki/SSH) is highly recommended if you want to run MediaWiki. You can install without it, and basic operation will work, but even creating backups or upgrading will be painful without it. Some more involved maintenance tasks may even be impossible. MediaWiki is not designed for minimal environments. [15:16:01] uhm i just followed instructions, no idea how to run wm-config from shell [15:18:35] i was told to first run maintenance/update.php and they go to browser :) [15:20:01] actually http://www.mediawiki.org/wiki/Manual:Upgrading#Web_browser suggests those are the same thing [15:20:17] aaah [15:20:21] i see, it is :) [16:06:04] Hello! Who speak Russian? [16:07:59] As in the script to specify the name of a certain article? - google translate [16:09:34] Ivan-r: hmm? [16:10:52] Unclear? [16:11:05] Ivan-r: I don't understand [16:11:18] Ok... [16:12:32] I need to activate the script when you hide edits. How to do it? [16:14:09] Ivan-r: do you want to hide things? or to translate things? [16:14:09] Nemo_bis: I think his question was google translate'd [16:14:25] Well, we also have https://www.mediawiki.org/wiki/Extension:Google_Translator [16:15:30] IanKelling: https://www.mediawiki.org/wiki/Help:RevisionDelete ? [16:16:09] Ah, quit :( [16:34:12] Since there are a few more active people here, I hope it wouldn't be considered breaking ettiquete by posting my question and related follow-up information again? [16:35:03] Since I can't even immediately see what you already wrote, it's probably fine :) [16:42:30] I am having an issue with MW 1.24.1 running on Centos7 with PHP-FPM 5.4.16. I have just "inherited" this server, and my knowledge is limited. I can upload images fine, but any attempt to resize an image in a link fails due to the associated thumbnail image not being created (using GD in PHP). I see nothing in my system log that would indicate a permission issue creating the file, and nothing [16:42:30] in the PHP error log indicating an issue in GD creatine the file. When I do an upload, a thumbnail is made to display on the corresponding File page, but no others are made. Any suggestions on how to proceed would be greatly appreciated. [16:42:42] Fiona i did check the file system. when an image ia uploaded (eg i just uploaded a 201x151px jpg file) a corresponding 120px-FileName.jpg image is created in the approprite hash named dir in the thumb/ dir as it is in the image/ dir for the original file. this would indicate appropriate permissions in the OS for both the web server and PHP pool. the issue is when i try to use said image in [16:42:43] a link with a new size specified ( [[File:Image.jpg|80px]] ), a new thumbnail is not created and my page doesnt display the image (ans the browser gets an appropriate 404 for that file). looking at the html of the rendered page, its trying to use 80px-FileName.jpg from the correct dir, it just hasn't been created. [16:43:34] if that makes sense [16:45:27] it has been suggested i try ImageMagick, but i have yet to try that, hoping that there might be just something i am missing (or indeed not understanding) about this [17:01:57] bleh, got the whole universallanguageselector thingie installed, but i see no difference [17:02:15] it's broken or documentation is incomplete [17:05:02] tuxick, ULS can't magically translate pages for you - see for example https://www.mediawiki.org/wiki/Manual:Installation_guide - it has subpages for other languages and links between them with a template [17:05:43] QueenOfFrance: i assumed it'd show a select language option [17:05:52] no idea what i'm supposed to see [17:06:26] i stilll get this "available languages" and "missing languages" thing but both are empty [17:06:26] not even sure if that's from ULS [17:06:28] doesn't sounds like it [17:06:48] try asking at #mediawiki-i18n where its developers hide [17:06:48] greaet [17:06:52] k [17:07:07] eh even though Nike is here:) [17:07:35] yep [17:07:45] i found out those seem related to template:translate [17:08:40] local templates I am not responsible for ;) [17:09:13] uhm but i have no idea what to do next [17:09:36] i followed all i found in doc [17:10:12] I don't have the context of the main issue [17:10:22] i see nothing :) [17:10:52] could it be something i need in Vector skin? [17:13:22] tuxick: completely white page? [17:13:23] no, normal, as if ULS isn't installed [17:14:16] i guess i'm supposed to see "other languages:" ? [17:15:40] that's css class mw-pt-languages-label [17:24:17] aha, i see something about otherlanguages in skins/CologneBlue [17:26:15] tuxick: soo by default uls should appear in the personal toolbar at top of the page [17:26:32] tuxick: is that the issue? [17:35:44] Dno i see nothing [17:36:17] tried switching to cologneblue and got WSOD [17:36:30] switched back to vector, still blank [17:37:37] !blankpage [17:37:37] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [17:38:08] ah that was typo :) [18:03:02] bummer, i thought the secret was in switching to cologneblue [18:03:04] but no effect [18:26:23] Hi [18:28:43] I have the surely most known issue with mediawkik, documented in http://www.mediawiki.org/wiki/Manual:Short_URL/Apache [18:29:00] But I'm unable to rewrite the page side [18:29:48] I get an internal error, with its corresponding instructions that (I think) I've followed [18:31:10] I have the document root at /var/www/wiki.tomalaplaza.net/web/mediawiki, and I want the url to be /wiki/ instead of /wiki/index.php?title=foo [18:31:50] I've set $wgUsePathInfo to true, when it was to false [18:32:07] I've set ·wg [18:33:32] mediawiki with sqlite drives me crazy, every few days the whole site is not responding and maintenance/runJobs.php seems stuck because the db is locked. is there some circular bug that locks and locks and locks or something? [18:36:01] I've set $wgArticlePath to 'wiki/$1' [18:36:32] What do you think is the problem? [18:38:03] Hello, can I know how many slots do mediawiki got via GSoC this year? [18:42:19] Niharika: ^ [18:42:42] gpt: 11. [18:43:40] but total projects are 13, right? [18:46:23] gpt: Yes. [18:46:48] Niharika: has students been selected finally? [18:47:04] ok, language_urls seems to be empty, so no wonder template won't show it [18:47:13] gpt: No. [18:47:59] Niharika: can I know the 2 projects didn't get slot? [18:48:32] i checked in code, $template->data['language_urls'][] = array( [18:48:44] is definitely set, but doesn't end up in template [18:49:02] hi, when a POST is sent to a special page url, how does the special page code get invoked? [18:49:16] gpt: The slots were allocated by Google. We cannot know which projects won't end up with any students until we have finalized the selections. And in any case, we cannot divulge that information as that can tell students about their acceptance/rejection before official results are announced. [18:50:09] got it. [18:50:19] hi, when a POST is sent to a special page url, how does special page code get invoked? I know, a basic question, but I am learning.... [18:51:05] (I am debugging a 400 response, not sure where it's set) [18:52:33] hypergrove: MediaWiki::performRequest() calls SpecialPageFactory::executePath(), which calls the appropriate special page class [18:53:13] (MediaWiki::performRequest() is called from MediaWiki::run() which is called from index.php) [18:57:04] so i should look for performRequest in the special page class [18:57:52] no performRequest in the class' code though [19:08:10] ok, what is going on. mediawiki spawned two "maintenance/runJobs.php --maxjobs 1"s but if i check the "job" table, it is empty. and the db (sqlite) is locked [19:11:02] whatever is running just took many minutes to simply add two lines to msg_resource [19:11:23] now there are 3 runJobs.php [19:12:37] If runjobrate is > 0 it'll spawn processes [19:13:15] how can i find out what it is trying to do and why it fails? [19:17:33] i set "$wgJobRunRate = 0;" now, let's see what happens... [19:18:02] Nikerabbit: so somehow UniversalLanguageSelector.hooks.php isn't passing language_urls to skin [19:18:14] might want to kill those processes if they're still there [19:18:37] already done ;) [19:22:01] hmm, and no idea where that array is supposed to get filled in the first place [19:46:41] Hi. If {{category redirect|$1}} is addes in "MediaWiki:Category-move-redirect-override" after moving a category it leaves {{category redirect|Category:Category_name}}. Parameter $1 can be placed in a function which will remove namespace prefix 'Category' at the moment of moving category, to leave in old category something like the result of the following {{category redirect|{{subst:PAGENAME:Category:Category_name}}}}} ? [19:46:51] *added [19:57:26] I've got a question about load balancing mediawiki (specifically in regards to memcached). Is it strictly necessary on a private wiki to have all of the memcached servers in wgMemCachedServers? I'm doing global load balancing, so the load time is a bit noticeable with both set (but hasn't been an issue with the master-master sql setup I've got going). [20:03:34] "Is it strictly necessary on a private wiki to have all of the memcached servers in wgMemCachedServers" I'm not sure what do you want to achieve... You'd put there all the memcached servers you'd want to use, nothing more, nothing less [20:23:30] Vulpix: Well mostly I'm asking because I noticed about a half a sec load time difference on pages after making the memcache change on one the smaller wikis I work on. [20:24:43] the change from what to what? [20:24:45] And yes, I get it's a really bizzare question. [20:24:46] ah [20:24:47] sorry [20:24:58] Change from just localhost to local + remote [20:25:06] (for the memcached servers) [20:26:22] and the global load balancing we're doing with round robin DNS, but we haven't set that part up yet [20:26:44] so the load time increased, I guess. That makes sense because of network latency [20:26:49] right [20:27:54] Mostly I guess I'm curious what would happen once we get the Round Robin setup if we didn't have the memcached loadbalancing setup. If each node was pointed at localhost. [20:33:35] each node would have its own memcached. That would make caching redundant or even stale in some cases. If you have multiple servers running the same MediaWiki database, all should point to the same memcached following the same configuration [20:42:52] harum.. ok.. thanks….. I'll have to see if there's anything else I can to speed things up some then [21:34:27] Just a question, trying to download a patch with git review --download gives errors. Says it cannot query patchset information [22:28:48] Hello. Is there a facility in the HTTP API that allows me to retrieve the categories of a page, and for each category it belongs to, to tell whether it has been included there directly or through a template?. [22:42:06] I don't think that data is available [22:42:19] Like, MediaWiki doesn't track whether a page is in a category "directly" or "indirectly" [22:57:02] Hi RoanKattouw. [22:57:53] RoanKattouw: I was very excited to hear that you're working on Flow next. :-) [23:06:15] can i incrust a swf on a mediawiki page?