[00:00:08] $wgUploadDirectory = "{$IP}/images/folderhere"; [00:05:24] Thanks! [00:05:24] Could not open lock file for "mwstore://local-backend/local-public/8/86/Wiki_Wordmark.png". Make sure your upload directory is configured correctly and your web server has permission to write to that directory. [00:05:25] I've given 775 permissions, it should be able to? [00:05:33] Doesn't seem like it's trying to write to /folder that I specified. [00:08:37] Solved now (I didn't know MW will create the folder itself) [01:40:42] regarding the RefToolbar gadget not working for some URLs as input (e.g. not typing the http:// or https://), I've been working on an alternative extremely minimalistic Nuxt3 node.js deployed alternative that so far example query http://crayons.moasspedia.org:3000/api/lookup?url=youtu.be%2FdQw4w9WgXcQ shows the title. [03:11:35] lol what? Using RefToolbar generating citation information for example for url https://tvsyd.dk/krig-i-ukraine/110-lego-millioner-paa-vej-til-ukraine the last name field fills as "mar 2022". I'm gonna make sure all of these wrong informations are not 'detected' like that. [06:18:44] Oh my fuck, lol, view-source:https://icelandmonitor.mbl.is/news/politics_and_society/2022/03/01/iceland_charters_freight_aircraft_for_transporting_/ The metadata is wrong! --- "name=" should be "property=" I gotta work with that, lol [11:24:44] Hey folks, if I want to access the namespace of a page on load with an extension using the context, what's the easiest way to do that? I'm a bit lost in the documentation so I'm hoping someone might be familiar. [11:25:28] (Example: I have $context->isTalkPage() as one of my checks, but I'd really like to just turn that into something like $context->isMainPage()] [11:25:46] Or $context->isMainSpace [11:26:19] (Ignore the isMainPage thing; I just want ads to display on mainspace only) [12:20:20] Does anyone here? [12:23:59] jfolv: $title->getNamespace() ? [12:24:18] Should give 0 for NS_MAIN [12:24:33] ZhaoFJx: don't ask to ask [12:24:48] Yes there's 219 users in here (not all human) [12:24:56] But I assume you don't want to know that [12:26:04] RhinosF1: Yep, that was it. Thank you@ [12:26:10] *! [12:26:27] jfolv: no problem [12:26:36] See https://www.mediawiki.org/wiki/Manual:Title.php#getNamespace() [12:26:45] For that and the various functions [12:26:59] Yep lol I feel dumb for not thinking to look at the docs for that class first [12:27:17] Just tired I guess [12:42:14] Hmm? [12:42:59] The MediaWiki website can’t to enter the config page [12:43:03] Etc. [12:44:56] Hey? [12:45:06] Does anyone here???? [12:47:05] When I configured according to the installation guide, I found an error message on the page [12:47:13] Can u help me? [12:51:51] If you wait long enough