[01:51:36] e [01:51:56] hey - i've got some login problems after installing 1.27.1 [01:52:38] mediawiki tells me something like there were problems with transmitting my user credentials [01:53:48] does anybody know how to fix it ? I alread read something about adding the php save path to the config but I'm not sure what's the problem and who to fix / debug it [01:57:00] did any body have the same problem and solved it ? [02:00:40] slu hi [02:01:04] hi :) [02:01:31] what is your setup? [02:01:40] How did you install MW? [02:01:56] on a raspi using jessie and php5 [02:02:09] I'm root user if this is your question ;) [02:03:17] slu: I have only experience with ubuntu mediawiki package [02:03:24] what exactly does the error say? [02:04:58] it says that there were problems while transmitting the user data and that the login process has been intermittent to prevent a wrong assignment of user data [02:05:59] slu: ot, for what purposes do you need mw? [02:07:10] currently it's a testing environment but I'd like to document my server/network stuff in the future ;) [02:08:37] have you installed mw (or any other php app) before? [02:08:57] Check if your PHP sessions directory is writeable by PHP [02:09:15] slu: If you decide to use ubuntu in the future, you may want to have a look at: https://www.mediawiki.org/wiki/User:Asterixf2/Mediawiki_Installation_on_Ubuntu [02:09:21] I didn't install mediawiki on this debian [02:09:59] oh: could you please explain how i can check this ? [02:10:46] php.ini should tell you where your sessions directory is [02:11:55] ./etc/php5/apache2/php.ini [02:12:04] there are all session-save_path outcommented [02:13:31] same in ./etc/php5/cli/php.ini [02:15:19] Hmmm. If you create a phpinfo page you should be able to see the session path [02:17:17] just a moment [02:18:00] got it [02:18:07] /var/lib/php5/sessions [02:18:17] looks like a default value [02:18:41] Another solution/workaround: [02:18:51] someone on the mediawiki support desk said that "changing $wgMainCacheType from CACHE_ACCEL to CACHE_ANYTHING seems to have solved it." [02:20:01] in localsettings ? [02:20:41] yes [02:21:32] changed the value, I'll try login again [02:22:12] login worked :) [02:22:30] that's nice ! [02:22:35] \o/ [02:22:48] https://www.mediawiki.org/wiki/Topic:T7irqyk4rhfy3ohk is where I got that [02:22:52] might be a PHP 5 issue? [02:23:20] maybe. or a mediawiki issue, i'm pretty sure that I already installed the previously version on php 5 and login worked [02:24:58] the last comment in the link had the 100% same problem [02:25:34] as the last comment mentioned : This article did the trick for me! -> thanks for your help OH / Asterixf2 [02:26:19] I read about 50 posts before I asked you guys but everything didn't work [02:26:24] thank ;) [02:26:30] No problem, have fun \o/ [02:27:06] I think googling the english version of an error message would have more search results than googling the error message in another language [02:27:34] true story, i think the root cause was that my translating skills aren't the best [02:27:57] another point could be that it's 4am in Germany ;) [02:28:01] and I'm a bit tired :D [02:29:58] slu: CACHE_NONE may be faster than CACHE_ANYTHING [02:30:03] https://www.mediawiki.org/wiki/Manual:$wgMainCacheType [02:30:19] if I understand it correctly; you may want to try none [02:31:01] Oh, your problem has a phabricator ticket https://phabricator.wikimedia.org/T147161 [02:31:28] Asterixf2: thanks, I'll have a look at the post [02:31:53] as it's currently running on a raspi, this is the bottleneck [02:33:22] haha, seems like I'm not the only person with caching problems [02:33:58] perhaps it'll be fixed in the next wiki version ? [05:00:34] legoktm: would it be difficult/problematic to configure hhvm after installing mediawiki with your package? [09:07:08] DISPLAYTITLE even makes a big deal about lowercasing any character other than the first... CSS comes to the rescue [09:07:15] [09:07:52] (I know, technically that tite is not equivalent, my point is that it can be still accomplished in a more convoluted way anyway) [09:07:55] *title [12:55:32] Hi! I'm trying to update my extension to work with the new SessionHandler in MediaWiki 1.27. [12:56:25] My extension now has some standalone PHP pages that are run without including any MediaWiki-code. Is there any way to include the MediaWiki SessionHandler in a standalone script? [19:37:26] hello ender [19:38:06] hi! (thanks) [19:39:55] Recently installed mediawiki in my home lan. When I try to access it from outside the network the domain is defaulting to the servers internal ip addy. (192.168...) Is this a setting I can change so the ip / domain is dynamic? [19:40:27] $wgServer [19:40:28] most links will be relative [19:40:30] $wgCanonicalServer [19:40:46] the rest can be set with that parameter [19:41:00] but if not set, will automatically fetch it from the address you're using [19:42:24] cool thanks, will give a go. [19:43:27] the problem with not setting it and being guessed, is that it may break links on cached pages [19:43:41] help [19:43:51] in case the wiki is viewed/edited both from internal and external network [19:43:56] I want to install the extension of checkuser but when I set up, the wiki has broken [19:44:03] !help [19:44:03] There are a lot of topics you could be asking about. Besides, this bot is mostly for experienced users to quickly answer common questions. Please just ask your question and wait patiently, as the best person to answer your question may be away for a few minutes or longer. If you're looking for help pages, we moved that to !helpfor. [19:45:10] yep [19:45:26] you may prefer to use a (sub)domain [19:45:37] that you then use to access the wiki both from inside and outside [19:45:42] even if resolving to different ips [19:45:49] if you have a decent route [19:45:50] r [19:45:54] some don't do nat loopback [19:45:55] I want to install the extension of checkuser but when I set up, the wiki has broken [19:45:59] so it just breaks [19:46:13] !debug | robot--- [19:46:13] robot---: 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:46:31] Reedy: you can always add the domain with the private ip to /etc/hosts [19:46:57] hackhackhack [19:46:57] Reedy where can i list of wm-bots commands for this chan [19:47:08] Platonides: then you take your laptop away [19:47:11] And have to remember to remove it [19:47:26] !botbrain [19:47:26] 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 [19:47:32] not as good as having a split-dns setup locally [19:47:32] Thank you [19:48:03] Platonides: just buy a decent router that *does* do NAT loopback [19:48:06] but is a solution which doesn't depend on your hardware [19:53:12] I have a router that does NAT loopback - but my ip address is still semi dynamic. - it changes usually like once a year or so. [19:53:30] use a hostname if you have dynamic dns service setup? [19:54:19] Or as said, just don't explicitly define anything [19:57:14] platonides [19:59:03] Reedy - yea I don't want to specify anything, just have the domain be 'dynamic' [20:00:01] From what was written here my options seem to be set $wgServer to my current ext ip addy, or use a static domain with dns service.. ? [20:00:46] ender you could also use a webserver? or are you already i've only read bits of the convo [20:02:06] Yes I have a webserver with mediawiki setup in a subdirectory. the webserver serves it on a specific port, which my router forwards external req from. [20:02:59] when I setup mediawiki I didn't specify the domain or anything and it just worked, no issues, inside the LAN. But access it externally it seems the local ip (192.168..) is coded into all the hyperlinks [20:03:35] Ender: adjust $wgServer in LocalSettings.php [20:05:41] cool beans [20:06:27] what about the caching thing Reedy mentioned, do I need to worry about that? This is just for a handful of people to use, no heavy traffic. [20:07:02] Thanks for all the help #mediawiki! [20:09:41] Ender: caching will make things much faster and make it less likely for the server to be overloaded [20:09:58] ender: but if its low use i wouldnt worry too much [20:10:04] you can always add later [20:10:41] if you have control of the server and its easy to just apt-get install php5-uapc [20:10:55] then id reccomend you just do it [20:11:19] but if its lots of effort, id just wait until you realize you need it [20:20:37] Thanks for all the tips - peace out! [21:41:56] hello, oh god i need help [21:42:09] GauHelldragon go ahead whats your question [21:42:13] ok so [21:42:31] i'm trying to make an page with a #ask, that will make a table [21:43:01] i want to it gather up all the pages in a certain catagory, and display some data from them that's been #set [21:43:03] Which mediawiki version are you using. [21:43:07] oh, uh [21:43:22] i'm not sure, how do i find that out [21:43:29] one second [21:43:37] in the corner itsays powered by mediawiki and powered by semantic mediawiki [21:43:57] do you have access to your server's files? [21:44:11] it should say in the release-notes file it provided with your download [21:44:18] i am just a regular user on it [21:44:21] put Special:Version into your search box and go it [21:44:22] Oh [21:44:22] not any sort of admin [21:44:27] that will tell you the version [21:44:35] the wiki in question is http://ringofbrodgar.com/wiki/Haven_and_Hearth_Wiki [21:44:57] it says 1.25.2 [21:45:30] shoot, i gotta go, i'll be back in about 40 minutes. i'll try asking again then. sorry [21:45:38] thanks though [21:45:42] No worries good afternoon [22:41:04] Hey guys, i'm using Common.js to load some external JS scripts. But i'm not sure how i can get them to load in order: [22:41:05] https://wiki.multitheftauto.com/wiki/MediaWiki:Common.js [22:41:16] 80% of the time it loads in the order i want correctly, but every now and then it doesn't [22:43:49] ok i'm back [22:43:59] so, like i said before [22:44:16] im trying to make a page with an #ask, that makes a table and reads input from pages in a certain catagory [22:44:24] Generally its best if the external script triggers some event or something [22:44:53] maybe onload event on the script tag? Not sure if that is a thing [22:44:57] but the table is always empty [22:45:05] * bawolff not the most js person [22:45:49] GauHelldragon: maybe people at #semantic-mediawiki could help you [22:45:53] ok [22:45:58] The DOM is already loaded. so jquery read events don't work [22:46:09] they're executed in random asynchronous order [22:46:49] &ready [22:46:53] *ready [22:52:38] Make each call the next one after it's done? [22:56:55] How should i do that? [22:59:50] callback functions for each? [23:06:48] What function do i use to load/execute each script [23:07:29] what you're saying is that i should customize external libraries for mediawiki, effectively, i guess [23:11:12] Zppix are you still there? :o