[01:11:36] I have a list of pageids and I want the name of each of their namespaces. What's the most straightforward way to get that? [01:11:43] (in PHP) [05:30:03] Now the other cheek daddy. [09:45:47] Don't get too greedy. [10:54:31] Hi! Could someone please tell me if global variables from extension.json are available when performing schema changes via the LoadExtensionSchemaUpdates hook? [10:55:00] Locally, it seems they are. But looking at these failures https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/AbuseFilter/+/481549/ it seems they aren't [15:18:17] Hi, when im using the "pages which points to this page" (or something like that) special page for situation like this: https://dpaste.de/Fdqv [15:18:39] if ill search for {{C}}, ill get "My data page", there is way to get "B" as result? [15:33:04] niso: on filters be sure transclusions are displayed [15:42:15] displayed, still cant see any template which use the required template :(, tried with namespace searching as well, any other ideas? [15:43:51] there is any way this search using cache? (check that the job queue is empty) [17:03:26] Something has changed in how Mediawiki interacts with PHPunit and PHPunit throws a "SkippedTestError" [17:05:21] It seems like several extensions trigger this error, but the problem arise in my case from LuaEngineTestBase.php(70): Scribunto_LuaEngineTestBase::makeSuite(string) [17:07:05] I suspect the source has nothing to do with the root cause, as the test code worked up to recently [17:08:50] The SkippedTestError comes from line 456 of /vagrant/mediawiki/vendor/phpunit/phpunit/src/Util/Test.php [17:26:57] Nobody with a clue? [17:30:52] not me at least [17:31:12] maybe bawolf [18:39:48] Found it. Seems to be a combination of PHPunit being updated and the UnitTestList hook being changed, and a quick and simple way to remove blocks of tests that previously worked quite well. [18:55:45] Taven @daegontaven posted in How do I configure extensions from a skin? - https://discourse-mediawiki.wmflabs.org/t/how-do-i-configure-extensions-from-a-skin/1009/1 [19:06:45] is this place alive? [19:08:26] i'd rather not wait, so i'll post this question here as well, any help appreciated https://discourse-mediawiki.wmflabs.org/t/how-do-i-configure-extensions-from-a-skin/1009 [19:19:40] this place is alive [19:20:22] daegontaven: there is a settings file for settings [19:20:33] lol [19:20:42] harmaahylje: settings file? [19:20:44] LocalSettings.php [19:20:46] https://www.mediawiki.org/wiki/Manual:Configuration_settings [19:20:50] oh i already know that [19:20:55] but i have my own skin [19:21:11] i want the skin to manage that since i have different themes of skins [19:21:36] I'm not very familiar with skins, aren't they just css? [19:21:45] https://github.com/DiscordFederation/Discord/blob/dark-mode/skin.json [19:22:05] it's a fork of Vector [19:22:24] well it's basically vectors with some css and some php changed here and there [19:23:01] i'm trying to configure https://www.mediawiki.org/wiki/Extension:Echo#Configuration [19:23:08] The Echo extension [19:23:22] from my skin instead of LocalSettings.php [19:29:03] updated the question with more clarification https://discourse-mediawiki.wmflabs.org/t/how-do-i-configure-extensions-from-a-skin/1009 [19:34:22] hmm [19:35:44] though unrelated to your question, you may want to look into possibly converting the skin into a theme (see https://www.mediawiki.org/wiki/Extension:Theme) in the future if the PHP changes aren't significant :-) it should make maintaining it a much less daunting task [19:41:18] ashley: unfortunely i do have some php here and there and it's better that i learn the codebase since i plan on writing some extensions [19:41:34] as it is mediawiki is thorughly lacking documentation everywhere [19:43:21] If you discover your answer, please don't hesitate to improve the documentation! :D [19:43:53] aye, can't disagree with that! it's been bug #1 (present-day T2001) since forever, and for a good reason >.> (but if you're ever trying to merely "recolor" an existing skin, themes are the recommended alternative as opposed to copying the skin and renaming it -- Vector, and previously MonoBook, is the default skin and as such popular but many of these "recolorings" end up obsolete and unmaintained and that's bad for everyone. we're trying to get [19:43:53] the whole theme framework merged into MW core so that in the future "recoloring" a skin would be even easier :-) [19:43:54] T2001: [DO NOT USE] Documentation is out of date, incomplete (tracking) [superseded by #Documentation] - https://phabricator.wikimedia.org/T2001 [19:44:15] yeah i learned a lot and plan on updating the skinning documentation :) [19:48:31] \o/ [20:30:07] can someone explain why $wgOut->mDebugtext = (string)$icons; doesn't actually output anything to my wiki html [20:48:50] chances are you'll probably want to use something like $wgOut->addHTML( print_r( $icons, true ) ); to (temporarily) output the contents of that variable (you can and should use $this->getOutput() inside a RequestContext, e.g. SpecialPage subclasses etc.) -- this'll work in all cases except when $wgOut->disable(); (and/or $wgOut->setArticleBodyOnly( true ); ?) has been called before [20:49:43] unfortuanatley i'm calling wfDebug from within a hook [20:49:51] and i don't have access to Output [20:50:03] unless i directly use the wgOut [20:52:06] oh wait...nvm i'm a moron ...turns out it wasn't prining to screen cause i forgot to add the hook to skin.json (ノಠ益ಠ)ノ彡┻━┻ [23:43:02] hi, it seems mw1.32 loads faster compared to 1.31?