[00:38:26] Hi Team! I've just installed MW docker per Gerrit instructions, and things are fine except I'm getting debug messages to the html output. How can these be suppressed? [00:47:05] !debug [00:47:05] 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 [00:48:15] Thank you! [07:50:26] is it possible to change the $3 text for MediaWiki:Lastmodifiedatby? [13:52:06] Hi all, I have an old script that needs to be ported to 1.36. It has a line: $columns = array ('rc_title',.., 'rc_comment', ..., 'rc_id'); [13:52:29] rc_comment is not more available, with what can I replace it? [13:53:13] e.g rev_user was changed to rev_actor [13:53:35] but I can't find to what rc_comment was changed [13:53:52] rc_comment_id [13:53:52] Does anyone know? [13:54:26] Thank you Reedy I will try it [13:54:33] noting it is literally only an id [16:11:58] Hi everyone [16:12:50] I'm looking for the templates used for inline code and block code that is used on Arch wiki (https://wiki.archlinux.org/title/Template:Ic). Where can I find them? [16:13:14] Is it simply the "view source" on that page? [16:14:35] yes [16:14:54] keep in mind most large wikis have a rats nest of nested templates, so you may have a few rabbit holes to go diving into [16:17:08] moonmoon: thanks! I wanted to do something better than preformated text to get a nice square around blocks of text, like outputs of commands [16:17:12] looks like that template is quite simple however, just a wrapper around [16:19:26] Something new to learn (templates) [16:19:43] I had been trying with the poem extension before I think. [16:25:13] What parts are actual template code and what is non-used description parts of https://wiki.archlinux.org/index.php?title=Template:Bc&action=edit [16:25:36] This bit >{{{code|{{{1|{{META Error}}}}}}}}> [16:25:41] anything inside of is the actual template, anything inside of is documentation or things that only appear on the template page [16:25:49] Thanks! [16:25:50] :) [16:26:04] very many levels of curly brackets :D [16:26:05] see also https://www.mediawiki.org/wiki/Help:Templates [16:26:07] yes [16:26:25] it's a very hard-to-read syntax, unfortunately [16:26:40] I'd suggest perusing the page I linked to get a better understanding of it [16:27:26] Yea. I was reading it. Wanted to understand what parts of the arch template that was actual template code =) [16:29:05] oh another thing. Is there a text editor that supports mediawiki syntax? [16:29:57] besides the one built into the wiki? ;) [16:30:43] anyway, chances are something like that exists. It would also be incomplete and incapable of fully doing everything the built-in editor can do [16:31:06] best you'd get is basic highlighting [16:31:13] (which you can get on-wiki with an extension and/or gadget) [16:32:02] Probably right. :) [16:41:02] sigh.. didn't work as I expected. [16:41:13] https://www.mediawiki.org/wiki/Extension:CodeMirror gives syntax highlighting [16:41:49] I created the template:bc but any contents I create does not wrap when screen is narrow, instead I get scroll-bars. That is something I want to avoid. [16:41:53] legoktm: thanks [16:46:38] https://paste.tnonline.net/files/aO6xZ0zVQeRJ_image_2021-07-08_184631.png [16:46:48] I want it to wrap as on the left side [16:48:42] Seems the code gets a
 tag added: https://paste.tnonline.net/files/73HYfmoYGcWJ_image_2021-07-08_184827.png
[16:50:55] 	 Aha! I need to add custom CSS pre {white-space: pre-wrap !important;}
[16:54:59] 	 legoktm: the codemirror worked great too
[16:55:16] 	 moonmoon: My template is also working right now.
[16:55:20] 	 Thanks to both of you
[16:56:08] 	 :)
[17:47:49] 	 how do I escape a pipe character?
[17:51:28] 	 Forza: {{!}}
[17:51:53] 	 https://www.mediawiki.org/wiki/Help:Magic_words#Other
[17:56:37] 	 hm that broke my template instead
[18:06:12] 	 Hmm it works in my test https://wiki.tnonline.net/w/Draft:Test-hc
[18:06:24] 	 Just not with a long piece of code =(
[18:18:39] 	 Forza: if your code has an = in it, it may confuse the template parser
[18:18:55] 	 you'll need to explicitly specify the template parameter name in that case
[18:19:04] 	 you will also need to escape all | in your code with {{!}}
[18:19:34] 	 YEa. IT's apache config I wanted to put in a code block. Contains lines like:   RewriteCond %{SERVER_NAME} =wiki.tnonline.net
[18:20:08] 	 Yea I did the {{!}}. But then it borked out on the other bits further down the code. 
[18:24:17] 	 see what I said about = signs
[18:24:30] 	 that's almost certainly the culprit
[18:44:38] 	 So I can use = or a template {{=}} ?
[18:55:47] 	 Hello, do you have any ideas how to drop these logs related to autopatrol? https://mywikibiz.com/index.php?title=Special:Log&dir=prev&type=patrol&user=&page=&wpdate=&tagfilter=&subtype=
[18:55:53] 	 deleteAutoPatrolLogs.php no works.
[18:56:11] 	 admin@mywikibiz:~/web/mywikibiz.com/public_html$ php maintenance/deleteAutoPatrolLogs.php
[18:56:11] 	 0
[18:56:12] 	 admin@mywikibiz:~/web/mywikibiz.com/public_html$ php maintenance/deleteAutoPatrolLogs.php --check-old --dry-run
[18:56:12] 	 0
[18:56:20] 	 ----
[18:56:22] 	 admin@mywikibiz:~/web/mywikibiz.com/public_html$ php maintenance/deleteAutoPatrolLogs.php --from-id 462578
[18:56:22] 	 0
[18:56:22] 	 admin@mywikibiz:~/web/mywikibiz.com/public_html$ php maintenance/deleteAutoPatrolLogs.php --from-id=462578 --check-old
[18:56:23] 	 0
[18:57:00] 	 Version of MediaWiki is 1.35, PHP 7.3.