[07:43:31] anyone here using redis for the job queue with 1.33 or 1.34? :\ [08:10:43] Hey! Im struggling to get a {{DISPLAYTITLE}} to show a value from a cargo field. I can set the displaytitle myself, and also the cargo query works elsewhere on the page, but placing the cargo query into the displaytitle doesnt work. any suggestions? [09:10:38] Hello. I got mediawiki installed and I want to try the Chameleon skin. I installed the zip for Boostrap and Chameleon but when activating the theme the site doesn't load and give error 500 [09:11:41] I tried removing Chameleon and only left Boostrap. It seems that the problem is with Boostrap as some ui things stop working with it loaded [09:12:35] I'm using mediawiki 1.43.1 and Boostrap from master branch on github [09:14:11] Sorry I meant 1.34.1. PHP 7.4.6, MariaDB 10.4.13 [09:14:32] damn, I started to get myself excited about 1.43 [09:16:56] Sorry! [09:17:22] I see I missed something in localsettings. [09:28:24] Hmm, nope. Bootstrap still borks out [09:33:49] There are some differences in how to install mentioned at https://github.com/ProfessionalWiki/Bootstrap/blob/master/README.md compared with https://www.mediawiki.org/wiki/Extension:Bootstrap [10:54:45] is there any way how to ignore redirects in search results? ie if i search for intitle:foo, i want results "foo 1", "foo 2", but not "bar (redirected from foo 3)" [12:58:14] Danny_B: are you talking about full text search with CirrusSearch? [13:02:49] Nemo_bis: special:search on wmf wikis, whatever technology it uses [15:02:48] Nemo_bis: speaking of CirrusSearch, the extension's page recommends using redis for the job queue but the jobrunner service relies on aggregators which were deprecated in 1.33; how does one set it up? [15:03:33] the wiki pushes jobs into the redis database, but the jobrunner service does not see any because it seems to only look at the aggregator stuff [15:55:22] Hi Reedy - could you please review https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/ReplaceText/+/593516/ ? Apparently you have knowledge of PostgreSQL. [15:55:30] I don't [15:55:55] :D [15:56:19] Remilia: I would never trust any recommendation on the job queue, the system changes every other week [15:57:12] If nobody is maintaining that part of the documentation, it's probably safer to just remove it and redirect to whichever is the most general manual on the job queue. [16:00:44] Nemo_bis: the extension points at https://www.mediawiki.org/wiki/Redis#Job_queue which does not mention aggregators, and the jobrunner service has not been updated since 2017 :\ [16:01:11] to quote the extension page, "Due to the actual handling of jobs by the CirrusSearch extension, it's advisable to set up jobs in redis to prevent messages like Notice: unserialize(): Error at offset 64870 of 65535 bytes in JobQueueDB.php and subsequent errors like Unsupported operand types. " [16:07:47] Remilia: I've not looked into CirrusSearch details for a while but if nobody is maintaining that page it might be more appropriate to just replace such specific advice with something like "The actual behavious of this extension is only tested for the Wikimedia Foundation's own job queue configuration [link]" [16:08:25] great :\ [16:08:48] I was actually looking forward to setting up CirrusSearch because my godforsaken users love their Lua and templates way too much [16:09:13] It's *probably* going to work, but mayybe give a look to the translatewiki.net config [16:09:41] https://translatewiki.net/wiki/MediaWiki_deployment [16:13:34] Oh, it uses the DB for jobs huh [16:14:23] Nemo_bis, [16:14:27] thanks [16:14:35] (that was an accidental Enter) [17:54:17] Reedy: sorry - somehow it took me two hours to see your response, even though you responded right away! [17:54:37] Anyway, thanks for letting me know. That's too bad... although you could review the patch anyway... [17:55:11] Or I could just +2 it myself, even though I said I wasn't going to +2 my own patches in the Replace Text extension any more, now that it's "official". [17:56:11] Or alternatively, if anyone here knows PostgreSQL, and is willing to code review a one-line change to an extension: https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/ReplaceText/+/593516/ [17:56:31] Someone else has already tested this code, so I know it works. [18:01:18] Yaron: is there something specific you would like checked, I can look at it, but I don't know much about MW and am no psql pro [18:01:55] oh it's only a minor change [18:02:33] why do you want to cast it as integer? [18:03:29] I think pg is more type strict [18:05:10] so old_id is integer? [18:09:14] look at the schema and find out? :P [18:09:30] considering it's casing to a numeric value, for comparison purposes, it seems liekly [18:11:34] just checking [18:11:50] I don't have time to dig into it [18:11:57] trying to give whatever feedback I can [18:36:51] Reedy: harmaahylje: sorry again for the delay. Yes, old_id is an integer, and PostgreSQL is stricter. [18:47:58] Yaron: it is less Postgres being stricter than acceleratedGrep™ being really lenient [18:52:24] Yaron: what is this content address like? [20:02:33] Is there a way to notify users that the wiki is about to go down for maintenance? [20:41:53] !sitenotice [20:41:53] Sitenotice is a wiki-wide message that appears at the top of the page for all users. It is editable by users in the sysop usergroup at [[MediaWiki:Sitenotice]]. https://www.mediawiki.org/wiki/Manual:Interface/Sitenotice See also: !anonnotice [20:41:58] seanc: ^ [20:42:14] sweet! thanks! [20:42:38] Usually not visible on mobile skins, though [20:42:54] Good to know. [20:43:23] In my case, I will be upgrading the wiki so that a mobile skin can finally be used. [20:48:52] Updating rev_user totally worked, btw. [20:48:57] Thanks again for the help! [20:53:48] yw :) [21:12:17] Nemo_bis: it works and gods is it crazy fast [21:12:28] and with case-insensitive suggestions