[00:16:09] [telegram] IIRC function is deprecated, consider using mw.util.addCSS? (re @VPLMR: Hi there, Is importStyleSheet() function working?) [00:19:13] [telegram] How can i call a css file in this function? (re @Disk: IIRC this function is deprecated, consider using mw.util.addCSS?) [04:56:38] [telegram] `mw.loader.load( 'full//url.to/stylesheet.css', 'text/css' );` (re @VPLMR: How can i call a css file in this function?) [10:33:31] [telegram] thank you [10:38:53] [telegram] mw.loader.load ('commons.wikimedia.org/wiki/index.php?action=raw&ctype=text/css&title=User:Vikipolimer/Adiutor.css') This is not working. (re @jhsoby: mw.loader.load( 'full//url.to/stylesheet.css', 'text/css' );) [10:45:49] [telegram] add the second argument as well, `'text/css'` [13:57:10] [telegram] Random question - anyone here actively using the Commons Data: namespace, specifically .tab files? [13:57:59] [telegram] There seems to be anemic development since it launched in 2016, and was wondering if people have Python libraries for reading/writing tab files [14:17:53] [telegram] I use it in combination with Lua. It’s just json so should be easy in Python (re @fuzheado: Random question - anyone here actively using the Commons Data: namespace, specifically .tab files?) [14:20:08] [telegram] Yeah, not hard to do, just wondering if anyone had a ready package. Sad to see the documentation is immensely stale - the examples are all dead - https://www.mediawiki.org/wiki/Extension:JsonConfig/Tabular (re @MaartenDammers: I use it in combination with Lua. It’s just json so should be easy in Python) [15:44:48] [telegram] I know the french wikipedia uses it via lua for climate tables in articles (re @fuzheado: Random question - anyone here actively using the Commons Data: namespace, specifically .tab files?) [15:56:21] [telegram] Ah neat (re @Nikki: I know the french wikipedia uses it via lua for climate tables in articles) [15:57:40] [telegram] aha, https://fr.wikipedia.org/wiki/Climat_du_Saguenay%E2%80%93Lac-Saint-Jean#Climat is the page I linked in the wikidata channel a couple of weeks ago [16:43:30] [telegram] Ugh, Commons:Data namespace files have a max size of 2 Mbytes? In 2022, that's tiny [16:44:00] [telegram] That's because these are not files. It's just a page (re @fuzheado: Ugh, Commons:Data namespace files have a max size of 2 Mbytes? In 2022, that's tiny) [16:44:35] [telegram] Yeah, I'm going to have to go a different direction with some of the data I have in mind [16:45:25] [telegram] What kind of data is it? [16:50:59] [telegram] To be fair it isn't exactly data meant to be displayed, so using a gitlab.wikimedia.org repo to store a big CSV is probably a better idea [16:53:28] [telegram] Since commons-query.wikimedia.org is so cumbersome to use because of authentication issues, it's hard to use a SPARQL query as a generator in a Python script/bot. So instead I'm thinking of working of using a CSV as the "generator" for my implementation of a complex workflow [17:38:34] [telegram] Hm