[00:19:56] legoktm: I have CirrusSearch installed [05:12:35] In vector skin of mediawiki there is different behavior of "view history" tab which actually goes under more link if screen resolution is lesser and if user is not logged in There would be no more option even on standard screen size but once if it got reduced then a more option got created and view history tab goes inside it even if there are no "action_urls"[as on logout there are no action urls] can anyone say [05:12:35] behind this behavior of the tab? [11:49:56] The requested URL /wiki/Forside was not found on this server. <- I just get this when enabling default-ssl with correct certificates [12:06:12] the wiki pages can be loaded on normal http [12:09:56] https://dpaste.de/Ois5 <- is the .htaccess file [12:28:58] I have "http..." in $wgServer and $wgCanonicalServer, but even with https, I get the same error [18:27:57] ugh, I'm getting a whole bunch of "Cannot start a transaction within a transaction" (LinkCache::fetchPageRow) in RL on sqlite. I wish the error included what was previously holding the transaction [18:45:41] Greetings, I just installed a new wiki on my raspberry pi last night but when i try to log in for the first time after completeing the install it locked me out. [18:45:50] "There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Go back to the previous page, reload that page and then try again." [18:46:23] i followed the debian/ubuntu install guide [18:48:52] inteliwasp: What are your caching settings? [18:49:18] Soemtimes can be a problem if you are using APCu but the apc.shm_size is way to small [18:49:51] they would be the default settings as i did not change them [18:50:16] inteliwasp: Does it go away if you set $wgSessionCacheType = CACHE_DB; [18:50:44] i dont know if it means anything but i was mis typing my username for a few tries [18:50:45] inteliwasp: Its autodetected based on your php config, so if your php config is unideal, the default may be bad [18:51:17] do i ass that line at the end of my localsettings? [18:51:22] yeah [18:52:17] It will tell mediawiki to not use APCu or memcached to store sessions, but instead put them in the database [18:53:07] If it makes things start working, that usually means apcu is misconfigured, in which case, for best performance, you probably want to fix that, or tell mediawiki not to use apcu (The $wgMainCacheType variable) [18:54:18] do i need to reboot after adding the variable? [18:54:32] inteliwasp: But I would check to see what apc.shm_size is set to in php.ini (if you have apcu enabled). On a rasberry pi, which probably doesn't have a lot of memory, the defaults may be lower than what mediawiki expects [18:54:43] inteliwasp: For settings in LocalSettings.php, no [18:55:18] ok that first change did allow me to login [18:57:06] ok, so that means the caching configuration MW was using wasn't storing changes. What is $wgMainCacheType set to in LocalSettings.php ? [18:58:36] ## Shared memory settings [18:58:37] $wgMainCacheType = CACHE_ACCEL; [18:58:37] $wgMemCachedServers = []; [19:01:13] inteliwasp: Ok, so that means you're using apcu (probably) [19:01:39] So next step would be to check what apcu.shm_size (or apc.shm_size) is set to in your php.ini [19:02:02] At min it should be set to 64 mb [19:04:14] Note that changing that setting does require restarting apache [19:04:59] yea, gonna be a bit as nano's search is not finding it [19:06:37] sometimes php.ini files get split up over multiple files. There might be a specific file for apc [19:06:57] If you create a page with just [19:07:00] it will display all php's settings, and also list what all the config files are [19:08:31] otoh, I should note all this is just for performance. If you totally don't care about performance, you can set $wgMainCacheType = CACHE_NONE; (Which will mean, that cheap things aren't cached, really expensive things go in db) and everything will work properly, but wiki will be much slower [19:09:54] it's a personal wiki, that would work [19:13:05] ok, i made the change to cashe_none and removed the first change and it all works. Thanks! [19:14:21] inteliwasp: Just remember, if things do end up seeming slow at a later date, that it can be improved with better caching [19:15:04] ok [19:19:57] Hey [19:20:09] can someone help me with a deleted wiki by chance? [19:20:50] BryceKelley: What's your question [19:43:14] Spending all this time trying to figure out why the hell templates are broken on my test wiki [19:43:18] turns out $wgNonincludableNamespaces[] = NS_MAIN; [19:43:20] d'oh [19:46:34] Hello folks. I would like some help with the categories of wikipedia articles. I have downloaded the categorylinks and page dump, and want to create a list of all the articles with their categories [19:47:22] But while quering the sql dumps, there are more categories there. I just want the categories for each article that are located under each article [19:47:47] is there a way to filter out some of the categories that are in the categorylinks sql dump? [19:50:56] DankeDonuts: There's a thing called hidden categories you might be encountering [19:51:34] DankeDonuts: Download the page_props sql dump [19:51:42] And filter based on the hiddencat property [19:52:51] By default hidden cats aren't shown at the bottom of pages unless you specificly enable it in your Special:Preferences [19:53:26] hello bawolff , thanks for the tip [19:54:04] I will check page_props [19:58:06] using the page_props table, could I see for every article title its visible categories? [19:58:22] without using the categorylinks table? [20:00:40] No, page_props records whether a specific category is a visible category or not [20:03:40] oh yes. I just saw that. [20:04:13] So you basically have to join categorylinks to page to get the page id, and then join the page id to page_props to get if its hidden or not [20:04:54] sounds easy, but it will require some heavythinking. But I think i can do it [20:05:15] thanks bawolff [20:05:35] If you want, I could look up whatever the query is mediawiki does [20:08:02] oh cool [20:08:20] let me see and I will be back [20:11:22] DankeDonuts: something like: SELECT p1.page_namespace 'ns', p1.page_title 'page title', cl_to 'category' FROM categorylinks inner join page p1 on p1.page_id = cl_from LEFT JOIN page p2 ON (p2.page_namespace = '14' AND (p2.page_title = cl_to)) LEFT JOIN page_props ON ((pp_page=p2.page_id) AND pp_propname = 'hiddencat') WHERE (pp_propname IS NULL) limit 40; [20:13:59] DankeDonuts: Also, in case you're not aware, there are also public sql replicas of the wikipedia dbs that you can query (e.g. https://quarry.wmflabs.org/query/21803 ) [20:15:12] I will check that query, thanks! [20:15:32] I have the dumps. what more can those replicas do? [21:51:05] thanks for the help super [22:12:21] Hello, today I'm running a query action on wikipedia API for revision metadata, and encountered the following issue: one of the result's rvcontinue value points to itself, essentially creating a loop, I've tried the same query on my browser and got the same problem. I'm wondering if this behavior is normal? Thank you for your help! [22:15:24] thanksagain and later [22:57:53] Hi, I'm looking to see if there is a fast and easy way to convert a Steam guide I wrote into a wiki page? The pre-existing guide already has a load of formatting (spacing / bold etc). Is there something simple I can do without having to rewrite / amend all the formatting line by line> [22:57:55] ? [23:15:56] I guess this 24 hour support is not really available for 24 hours a day :(