[14:22:05] the new logs on my wiki are dissapearing for no reason and the old logs are too any way to fix this [17:18:33] Does anyone modify the .css to change the look of a skin? [17:22:47] Oh my Vector.css does change the site to dark, but selecting Articles in the Panel for example gives a text color of #54595d which is nowhere in any of the MW directory's files [17:22:53] Also what it calls this object is .vector-menu-portal .vector-menu-heading, nowhere in my .css. [17:23:35] Where is it coming up with this stuff? More to the point, is there any way to change .css to make a site look like you want? [17:23:56] https://unofficial-tesla-tech.dark-energy.info/ [17:29:36] !css [17:29:37] To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page (NOT a file) and put your custom styles there (sysop/admin rights required). MediaWiki:Common.css is for all skins and should be used for content styles. MediaWiki:Vector.css is for the Vector skin (default), etc. For more information, see !skins and https://www.mediawiki.org/wiki/Manual:Interface/CSS [17:32:03] I know all of this of course bawolff. [17:32:32] I am using my own Vector.css to make my site dark. [17:32:57] https://unofficial-tesla-tech.dark-energy.info/index.php?title=MediaWiki:Vector.css [17:33:22] The problem is identifying objects on the site to change their appearance. [17:34:33] MW is lying about that things are called and where their characteristics are comng from. [17:35:35] I suppose I'll find these names and colors in the database, but where did MW come up with them, and why is it disobeying me? [17:35:46] hey [17:36:14] I’m trying to get Shellbox up and running but MediaWiki complains [17:38:29] Same drill if I put my .css into MediaWiki:Common.css . [17:38:59] I was too vague in my last msg, sorry [17:39:14] I get this: [17:39:15] [35ec3e648a0b20007c5a1dac] 2023-06-05 17:32:38: Fatal exception of type MWException [17:39:55] I find that in Web Developer, my designations are *crossed*out*: [17:39:57] h1, h2, h3, h4, h5, h6 { [17:39:59] color: #e1e1e1; [17:40:49] I even have Vector set to 2012 version. [17:40:50] what are you trying to achieve with CSS? [17:41:16] !debug | Guest93 [17:41:16] Guest93: For information on debugging (including viewing errors), see https://mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging Also see https://mediawiki.org/wiki/Manual:Errors_and_symptoms [17:42:03] Guest93: See above. [17:42:28] when I enable $wgShowExceptionDetails I get this [17:42:28] [ed4919abc99fe3ec043a59fb] /w/index.php?title=Special:Version MWException: Unable to open CDB file "/var/www/notawiki/w/cache/l10n_cache-en.cdb.tmp.1161605081" for write. [17:42:29] Backtrace: [17:42:29] from /var/www/notawiki/w/includes/language/LCStoreCDB.php(100) [17:42:30] #0 /var/www/notawiki/w/includes/language/LocalisationCache.php(1013): LCStoreCDB->startWrite() [17:42:30] #1 /var/www/notawiki/w/includes/language/LocalisationCache.php(496): LocalisationCache->recache() [17:42:31] #2 /var/www/notawiki/w/includes/language/LocalisationCache.php(413): LocalisationCache->initLanguage() [17:42:31] #3 /var/www/notawiki/w/includes/language/LocalisationCache.php(332): LocalisationCache->loadSubitem() [17:42:32] #4 /var/www/notawiki/w/includes/language/MessageCache.php(725): LocalisationCache->getSubitem() [17:42:32] #5 /var/www/notawiki/w/includes/language/MessageCache.php(1221): MessageCache->isMainCacheable() [17:42:33] #6 /var/www/notawiki/w/includes/language/MessageCache.php(1126): MessageCache->getMsgFromNamespace() [17:42:33] #7 /var/www/notawiki/w/includes/language/MessageCache.php(1097): MessageCache->getMessageForLang() [17:42:34] #8 /var/www/notawiki/w/includes/language/MessageCache.php(1042): MessageCache->getMessageFromFallbackChain() [17:42:34] #9 /var/www/notawiki/w/includes/language/Message.php(1476): MessageCache->get() [17:42:35] #10 /var/www/notawiki/w/includes/language/Message.php(1123): Message->fetchMessage() [17:42:35] #11 /var/www/notawiki/w/extensions/CirrusSearch/includes/Hooks.php(191): Message->isDisabled() [17:42:36] #12 /var/www/notawiki/w/includes/libs/objectcache/BagOStuff.php(216): CirrusSearch\Hooks::CirrusSearch\{closure}() [17:42:36] #13 /var/www/notawiki/w/extensions/CirrusSearch/includes/Hooks.php(195): BagOStuff->getWithSetCallback() [17:42:50] please paste long lines on dpaste.org next time [17:43:05] *multiple lines [17:43:07] oh, thanks for the tip, will do [17:43:23] that looks like a permission error [17:43:49] here’s the full thing: https://dpaste.org/99LX2 [17:44:19] when I remove the Score extension from LocalSettings.php MW no longer bails [17:45:09] rooter0_: styles "crossed out" means they're overridden somewhere else. Styles in MediaWiki:Common.css and MediaWiki:Vector.css are applied last. However, they may be overridden by styles defined before because of selector specificity. You should use the same selector (or one more specific) as the one that's overriding yours [17:47:15] Pretty much figured I was getting overridden. Is this specificity in the stock Vector skin? [17:48:15] rooter0_: the specificity is on every selector. Where are they defined is not very relevant, as long as you use the same or more specific selector in your MediaWiki:Vector.css [17:48:54] in the same panel where you see they crossed-out, you can see the other selectors being applied [17:49:16] So for example Web Developer names my Articles object: .vector-menu-portal .vector-menu-heading ... that seems like two selectors. [17:50:00] ... and that's the color that's chosen. [17:50:45] this is one selector. An element with class "vector-menu-heading" that has one element with class "vector-menu-portal" up in the hierarchy [17:51:41] I see, thanks. But also I'm specifying the color for h1, h2, h3, h4, h5, h6 and it is crossed out. [17:52:18] because there's another selector changing the color, too, but has something more *specific* than a single h1, etc [17:52:39] Oh for heaven's sake... now I understand. [17:52:55] https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity [17:53:39] usually, copying the same exact selector than the rule that's overriding yours works [17:54:02] because being on the same specificity, the last one wins [17:54:59] I guess the same applies to my MW tabs at top, which are trainwreck white but should be dark gradient. [17:55:23] This will get my site back professional like it used to be. [17:55:32] (I hope) [17:59:05] MediaWiki upgrades are breaking custom styles a lot lately, because they often change selectors adding more specificity to them [18:00:03] My Vector.css is fron circa 2016. Times were simpler then. [18:02:29] also, I’m running Shellbox via Docker [18:32:25] I disabled Score and now when I go to a page with SyntaxHighlight I get the following [18:32:26] The configuration variable "secretKey" is required, but it is not present in the config file. [18:32:48] secretKey is set properly in both LocalSettings and config.json tho [19:42:59] This is not fixing them for some reason: https://paste.ec/paste/CvxIoFV0#rbZ8JvknLIWwEpsnhpgqmhZmq-e0j6IsBifSnWK++qw [19:43:03] They're not getting overridden. [19:43:06] ... my settings are just not there. [19:44:39] that's not valid CSS [19:45:03] It's what Web Developer is showing. [19:46:37] you are missing 2 pairs of brackets [19:46:47] so, either web developer is wrong or you are [19:49:40] Oh I wish I had a better VPN than Proton... [19:50:37] Well the @ isn't the problem... [19:51:25] https://unofficial-tesla-tech.dark-energy.info/index.php?title=MediaWiki:Vector.css [19:56:04] Well the @ isn't the problem... [19:56:08] https://unofficial-tesla-tech.dark-energy.info/index.php?title=MediaWiki:Vector.css [19:56:11] Nothing @ works. Web Developer says that's what it's supposed to be. [19:56:17] Well the @ isn't the problem... [21:44:06] Hi, I'm having such issue, any idea what can it be? "Error 1054: Unknown column 'tl_target_id' in 'where clause' (localhost)" It happen when trying to save new Cargo table, but doesn't seems related to cargo [21:44:56] I did upgrade from 1.31 to 1.35 and the update script shows "Done" with no errors when I run it, does it safe to run it again just to be on the safe side? [21:45:21] the template links table has changed significantly, I don't remember if that change is in 1.35 [21:45:29] but either way, Cargo should have been updated for it by now [21:46:11] Or the wrong version of Cargo is being run with MW [21:46:13] ah, your Cargo version is not the Cargo version for 1.35 [21:46:14] yeah [21:46:21] tl_target_id only exists >= 1.38 [21:46:25] :O [21:46:40] I should ot get an error when loading it (this info exists on extension.json)? [21:46:55] you should get the right version of Cargo [21:47:00] and then do other usual update things [21:47:27] I see it's for: "MediaWiki": ">=1.35" :( [21:47:44] I'll try to find it again, maybe it had bad distribution [21:49:14] I see this condition in Cargo, maybe it's bad? [21:49:14] if ( class_exists( 'MediaWiki\CommentFormatter\CommentBatch' ) ) { [21:49:15]    // MW 1.38+ [21:49:15]    $conds['tl_target_id'] = $templateTitle->getID(); [21:53:42] https://github.com/wikimedia/mediawiki-extensions-Cargo/commit/e217d9264e8e6e30e8dc97416be1c91fcbde8b32 changed the class... but for unrelated reasons [21:58:50] Not sure how I got this version, I thought I download it from the main download picker, but I checked and It's different, ty!