[00:56:54] Is it okay to copy templates like "main article" from Wikipedia? [00:57:15] Does CC BY-SA apply to them? [01:00:02] As far as I know, Wikipedia has the same CC license....should be available at the bottom of the page though if you want to verify [01:00:05] kj7rrv: yes, ok to copy and yes cc-by-sa applies to templates and lua modules in the same way it applies to article content. [01:00:49] Okay thank you [01:01:08] I have a dumb question: When dividing an unordered list into columns, why does the first column have fewer items rather than the last one. For example, 5 items split into 2 columns will have 2 of the items in column 1, and 3 items in column 2... [01:01:15] Is it okay to sue the templates on a wiki that isn't cc by sa, as long as I follow the license for the templates themselves? [01:01:20] s/sue/use [01:04:48] kj7rrv: well.... I am not a lawyer, so I'm going to point you to https://meta.wikimedia.org/wiki/Open_Content_-_A_Practical_Guide_to_Using_Creative_Commons_Licences/The_Creative_Commons_licencing_scheme#B)_CC_BY-SA_(Attribution-Share-Alike) and let you figure things out from there. :) [01:05:44] Okay, thank you [01:11:17] It looks like the formatting is done in Lua, not wikitext? [01:12:44] yeah, that particular template is a thin wrapper around https://en.wikipedia.org/wiki/Module:Labelled_list_hatnote [01:12:50] Okay [01:13:07] Is Lua enabled by default or do I have to turn it on? [01:13:49] it is not default. https://www.mediawiki.org/wiki/Extension:Scribunto is needed to add it to your own MediaWiki [01:14:07] Okay thank you [01:14:23] So the other option is to rewrite the template? [01:16:54] I would suppose so, yes. You cloud look through the edit history of https://en.wikipedia.org/wiki/Template:Main to see if there was once a pure wikitext version too. I don't know the history of that one to say if that existed or not. [01:17:05] *could [01:18:11] Oh okay, thank you [01:19:41] https://en.m.wikipedia.org/wiki/Special:MobileDiff/424831235 appears to be the latest non-lua version [01:19:55] kj7rrv: depending on what you are actually wanting, a more "simple" template like https://wikitech.wikimedia.org/wiki/Template:See_also might be all you need. [01:20:36] That will work, thank you! [01:26:12] I got https://pbarcwiki.kj7rrv.com/wiki/Template:See_also and https://pbarcwiki.kj7rrv.com/wiki/Template:See [01:26:22] Now I'll make the main article template [04:02:16] Hi folks! I had a question about the LinkCache's persistent cache. Does anyone know why it explicitly doesn't cache results from content namespaces? https://github.com/wikimedia/mediawiki/blob/master/includes/cache/LinkCache.php#L575 [04:03:21] I'm doing some performance tuning and finding that about half of our total database queries(!) are coming from LinkCache::fetchPageRow for mainspace articles (probably to determine link color?) [04:04:18] Adding NS_MAIN to that line I linked reduces that to nearly zero, and also noticeably decreases page generation time [04:05:13] It seems too good to be true. Is there something I'm missing that would make caching NS_MAIN undesirable? I guess maybe at enwp scale that's too many things to be caching? [17:21:09] I'm using the SimpleBlogPage extension, and want to show a list of the most recent blog posts on the main page. Is there a way to do that? [22:09:52] How can I get audio players like the ones on Wikipedia? [22:13:26] use [[Extension:TimedMediaHandler]] [22:13:35] @link Extension:TimedMediaHandler [22:13:35] This is not a valid link [22:13:36] Okay thank you [22:13:46] https://www.mediawiki.org/wiki/Extension:TimedMediaHandler [22:37:39] Is there a way to make it show players on the page instead of the popup players? [22:37:40] https://pbarcwiki.kj7rrv.com/wiki/Slow-scan_Television [23:40:31] not with the videojs player https://phabricator.wikimedia.org/T246035 [23:41:01] the old Kaltura player still works inline, but you should know that it will be removed in the next few releases [23:42:05] AntiComposite: its !e [23:42:15] Oh okay [23:42:46] Is there a won't-be-removed way to have an inline audio player? [23:44:09] Would there be a way to just add an HTML audio element and let the browser provide the UI? [23:46:34] It looks like Extension:Widgets can add an audio element? [23:46:54] We don't need video for anything, just audio [23:48:18] dunno, never used it. [23:48:54] it's not implemented in TMH for compatability and subtitling reasons [23:50:39] Okay [23:50:57] What would the compatibility issues be? Don't all modern browsers support