[00:30:55] Hi [00:39:43] hi BluePig6 [00:50:07] Hi [00:50:12] Can you help me [01:04:41] anyone know what the /* {{pp|small=yes}} */ on this page does, apart from making me laugh? https://www.mediawiki.org/wiki/Template:Div_col/styles.css [01:33:14] and still apply the cat [01:33:31] without the |small=yes it would display a full banner on wikitext contentmodel pages [03:53:34] Hi, does anyone know what is the best way to make a certain page editable by anonymous user while having "$wgGroupPermissions['*']['edit'] = false;"? [03:53:45] or is it possible at all? [06:53:55] Noticed this https://phabricator.wikimedia.org/T214320 and this https://en.wikipedia.org/wiki/Help:Gallery_tag#Attributes_and_values [06:54:32] while this https://www.mediawiki.org/wiki/Help:Images#Optional_gallery_attributes is not up to date as it misses "perrow= Number of images per row (has no effect if mode is set to packed, packed-overlay, packed-hover, or slideshow; See usage notes, below)" [07:10:00] Yeah there are surprising holes in the MW version of much documentation. [07:16:27] maybe I'll add those caveats [07:20:28] done [07:22:08] trying to wrangle the images here https://wiki.documentfoundation.org/ReleaseNotes/7.4 [07:29:28] I have to use because I want to show the caption below the image, but also have them mobile-friendly. Having a normal image with caption doesn't work with these requirements (thumb and frame break mobile) [07:29:30] Vector22 responsive mode looks nice [07:30:54] It's strange that when I work on the image in "New typographic settings", I use , yet it renders with height="658" [07:31:17] (currently editing and looking at previews) [07:35:31] That's probably one of another in https://phabricator.wikimedia.org/project/board/1498/ [07:35:32] or* [07:36:17] ah, thanks, I see at least https://phabricator.wikimedia.org/T308527 Gallery (packed) sometimes ignores heights attribute [07:37:51] quite a complex JavaScript machinery... [07:38:33] well, I'll live with that and add a note to that report whenever I edit [07:43:13] ok now I saved changes [08:15:57] Oh dear, now I got feedback that made me realise that using {{formatnum:}} for negative numbers changes the minus to: U+2212     MINUS SIGN and this does not work when pasted into Calc [08:16:25] the normal one is U+002D     HYPHEN-MINUS [08:20:15] https://phabricator.wikimedia.org/rMW7f61804bf5c717c5059f92fcccf95b470321c295 [08:22:56] well, we should teach Calc to understand it https://bugs.documentfoundation.org/show_bug.cgi?id=117037 [08:26:57] I emailed a LibreOffice dev that I'm sponsoring on Patreon, hopefully he could look into it [08:31:54] Software not understanding Unicode minus? Surprised Pikachu. [09:12:31] Are there any examples of doing responsive tables in MediaWiki? I know it's a big topic with many solutions and it depends on the table structure. I've sometimes used data attributes like seen in https://codepen.io/briangunzenhauser/pen/JjboOMj [09:15:39] (asking as I could not find any) [09:40:00] reminder that when formatnum was first changed to output U+2212 for negatives instead of U+002D, it broke #expr too [09:40:26] (please ignore the fact that you shouldn't be using formatnum in #expr 🤭 ) [12:20:30] Probably Calc will only support Unicode minuses in values, not formulas. So I need to adjust the wiki articles instead [16:05:17] hmm, there is reluctance, but still some hope that Unicode minuses would be accepted even in Calc function arguments: https://bugs.documentfoundation.org/show_bug.cgi?id=117037#c12 [16:26:59] Okay, what am I doing that has upset the Git/Gerrit gods (other than daring to use Windows for this odd commit?) https://pastebin.com/pNJEB33T [16:38:13] are you sure you're pulling the correct remote/branch? [16:40:24] Uhh, as sure as I can be. I even did a clean clone, reapplied the code changes and had the same result. [16:41:25] Weirdly, using the "push for review" method works. [16:41:45] I was about to ask, why are you trying to push to a branch instead of for review? [16:43:56] I'll point at git review for that one. Followed the tutorial to the letter (because I'm ... rusty when it comes to Gerrit) [17:17:08] So, after upgrading pip, apparently I was able to get ahold of a newer version of git review, which, at least in my next commit, hasn't caused me an issue. Code eh? Who needs it. [17:20:59] Any smarter way to return a null DB select result than running the select query with 'rev_id = NULL' ? Preparing for next week's Translate & ReplaceText hacking... [17:23:39] ie. if I filter an array of titles and all of them are translation pages, there is nothing to pass to the DB query [19:26:04] is there a way to improve the auto-generated multi-column lists on category pages? they sometimes put a header alone on one column, then the contents of that header are on the next column. like section "I" here, assuming it will display the same on your screen as it does on mine: https://bg3.wiki/wiki/Category:Story_Items [21:05:14] is the timeless skin still supported ? updating mediawiki from 1.38.1 to 1.39.2 broke it [21:05:28] if i click "edit" i get an error in the javascript console [21:07:16] what error? That may be a gadget or user script [21:07:20] Or an extension [21:15:08] uhm... i only have the intersection extension enabled [21:16:03] Vulpix: is there a special page to list the gadgets instead ? [21:16:58] are you using the REL1_39 version of Timeless? [21:17:01] Special:Gadgets [21:18:38] Special:Gadgets does not seem to exist [21:18:57] i'm using the stock Timeless, version 0.9.1 (from Special:Version) [21:19:10] Visual editor 0.1.2 [21:21:38] What error message do you get? [21:23:20] hold on a sec, i'll paste it [21:24:45] Vulpix: https://dpaste.org/1j4PB [21:25:12] it's in the javascript console [21:29:32] That's a problem with VisualEditor. Be sure you're using the extension bundled with the MediaWiki tarball, or the REL1_39 branch [21:30:07] i'm using the docker image, can't be more stock than that [21:30:12] taylan, the only realistic way with the current CSS (and there isn't really better CSS for this kind of thing today) would be something like `.mw-category-columns { column-span: all }` and then to take the h3s and lists out of their `div.mw-category-group` (I don't know why those are there, they don't help anything) [21:30:27] er, .mw-category-columns h3 [21:31:29] but that is maybe a marginal change, and on high-sortkey low-pagecount categories, probably doesn't improve the display that much [21:31:48] it might be helpful on high pagecount low-sortkey pages [21:31:50] categories* [21:36:55] Vulpix: i somehow managed to get a clearer output: https://dpaste.org/kanWD [21:37:08] i cleared cache and everything related to the website in the browser [21:38:32] I can only say.... it works for me (editing using VisualEditor on Timeless skin in MediaWiki 1.39) [21:38:44] not using docker, though [21:39:15] and VE is not easy to debug precisely, so... [21:39:45] You may try a different skin, and see if that makes any difference [21:39:54] i see :( [21:41:17] still fails with vector 2022... uhm... [21:44:25] that's not a skin problem, then