[05:20:37] Hi, can someone please tell if its possible to change the placement in AdManager.php from left sidebar to rightsidebar for Timeless skin? [05:38:27] Anyone aware of it? [08:32:18] Hi I'm using MediaWiki 1.37 and MobileFrontend for mobile site but for some strange reason it's showing desktop version of the cached pages on mobile instead of default mobile skin minerva so is there a bug or something? Thanks [08:32:37] I'm using Memcache as main cache and openlitespeed cache system. [08:36:09] Do I need to set $wgMFDefaultSkinClass = 'SkinMinerva'; ? is it required? [08:48:04] These are the settings I currently have in my localsettings.php [08:48:04] $wgDefaultSkin = "vector"; [08:48:05] $wgDefaultMobileSkin = 'minerva'; [08:48:05] # Enabled skins. [08:48:06] # The following skins were automatically enabled: [08:48:06] wfLoadSkin( 'Vector' ); [08:48:07] wfLoadSkin( 'MinervaNeue' ); [08:56:11] your cache system should vary the cache by User-Agent if it's serving mobile/desktop on the same domain [08:57:22] The site serving mobile/desktop on the same domain unfortunately. I was trying to change the domain for mobile version to m.example.com but its not happening. [08:57:25] I think MediaWiki already sends a "Vary: User-Agent" header when using MobileFrontend, but you can check [08:58:49] So do I need to setup User-Agent cache through MediaWiki or on Openlitespeed? [09:01:36] That's something that should handle Openlitespeed itself. Vary: User-Agent tells the cache proxy that it should store on different buckets each response when the User-Agent header is different from the stored one [09:02:14] Try to inspect the response headers, using the developer tools of your browser, and see if a Vary: HTTP header is present in the response, containing User-Agent [09:02:25] Ok got it and is there a proper documentation on installing the mobile version on sub domain? [09:03:52] hahaha, I'm not sure if proper documentation exists but definitively could be improved [09:05:09] Because if I'm setting $wgMobileUrlTemplate then I'm getting server error on m.example.com and there is no mention if I need to create that subdomain in my dns and then call it. Sorry I might sound silly but can't figure out the proper way out. [09:07:06] There's no guide on how to do that. However, I recommend looking at https://github.com/wikimedia/mediawiki-extensions-MobileFrontend#configuration-options and search for "domain" on that page to find all relevant configuration options [09:08:34] Hmm thanks for the link. I'll take a look and try to install. [09:08:44] Thanks for your time and suggestions. Stay blessed. [13:18:01] I am using Quarry to count the number of files in a category on Wikimedia Commons. I just notice that some files in a category are not listed in the `categorylinks`tables. [13:18:09] For example, the file [[c:File:NLC892-412000013024-135929 順治潞安府志 第3冊.pdf]] is indeed categorized as [[c:Category:Digitized Ancient Books in the National Library of China]]. But it is not shown in the query: https://quarry.wmcloud.org/query/66933 . [13:18:12] Could anyone please help me find where the problem resides? [13:40:15] Hi, I was trying to build a mobile site as mentioned on this page https://www.mediawiki.org/wiki/Extension:MobileFrontend/Configuring_browser_auto-detection [13:40:16] I added m.example.com in my dns and then placed $wgMobileUrlTemplate = '%h0.m.%h1.%h2'; in my localsettings.php but when I click on mobile site it open as en.m.example.com but giving DNS_PROBE_FINISHED_NXDOMAIN so am I missing any configuration? Thank you [13:44:21] Do I need to add en.m in my dns? [13:44:54] DNS_PROBE_FINISHED_NXDOMAIN means the domain name can't be resolved to an IP address. Looks like you haven't added it to the dns [13:45:53] @Vulpix I added m in my dns and if I open only m.example.com it open the basic page of my site for installation. [13:46:51] You have to add en.m. [13:47:25] Also, your webserver may need to be configured to map the en.m.example.com domain to the same published directory as example.com [13:47:48] or whatever is your main domain. It may be en.example.com [13:48:02] Oh and how do I map that? [13:48:28] I'm sorry I'm not aware of configuration part. [13:48:37] I use openlitespeed to run the site. [13:48:54] so is there any mediawiki setting for mapping? [13:49:57] does it work for you? https://www.litespeedtech.com/support/forum/threads/server-alias.189/ [13:50:31] domain and path mapping is something from the web server, not MediaWiki [13:50:53] Thanks that might help. [13:51:21] I'll first add en.m in dns and then do the mapping thing before applying the settings in localsettings.php [13:51:29] Many thanks for helping out. [15:31:02] [BlueSpiceFoundation](https://www.mediawiki.org/wiki/Extension:BlueSpiceFoundation) is crashing my wiki :( [15:31:03] Every time I enable it I just get a blank page. [15:31:36] I do have ExtJSBase installed. I'm using MW 1.38 on IIS with Windows Server 2019 (not the most optimal, I know, but it's what I went with). [15:31:41] Any suggestions? [15:32:59] https://www.mediawiki.org/wiki/Manual:How_to_debug [15:37:03] Will try that. I should mention that nothing gets logged in my debug log. [15:37:15] (but that's with only setting the log path) [15:38:46] Hm, looks like BlueSpiceFoundation needs OOJSPlus. [15:41:48] Now I'm getting `Fatal error: Declaration of Wikimedia\Services\ServiceContainer::has($name) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in C:\inetpub\wwwroot\mediawiki\vendor\wikimedia\services\src\ServiceContainer.php on line 201` [15:43:26] you should likely contact the BlueSpice people, it's a commercial product and I doubt people on this channel are familiar with it [15:43:53] Sure, makes sense. [17:46:41] Hi everyone, I have a question regarding downloading of Wikipedia for offline use. Sadly I don't have the internet connection to test all the available formats. [17:46:41] So ... If I use kiwix will I have access to the database? for example, can I query them? [17:46:42] If I download the torrents, do I need a software to run on top of that? What would be as close to wikipedia page as possible? [17:52:03] Hi everyone, I have a question regarding downloading of Wikipedia for offline use. [17:52:38] If I use kiwix, will I have access to the database as well? Can I query them? [17:53:21] If I download the torrent, do I need a software for displaying info? If so, what's the closest I can get to wikipedia's own page? [17:53:40] Which one works better for keeping them updated? [18:12:11] Kiwix uses a zim file as the data source iirc [18:13:07] Kiwik and .zim are optimized for reading, not database queries or mirrors. For that https://dumps.wikimedia.org/ is a better option [18:26:54] FYI newuser left [19:14:38] Is it possible to add checkboxes (with saved state) to a wiki page (without using BlueSpice's extension since they seem to only support certain LTS releases)? I haven't been able to find any current extensions that would do the trick.