[10:24:44] Hi, I am trying to write an extension to allow to have different content depending on whether the user is logged-in or not. I find myself quite close to my objective, but I'm running into ParserCache issues. Does anyone know a little bit about that? [10:30:41] loizbek: You'll probably have to use https://www.mediawiki.org/wiki/Manual:Hooks/ParserOptionsRegister to register a new key to fragment the cache [10:31:44] and when serving the page, you'll have to set the ParserOptions with the new key you've added to distinguish whether serving the anon or logged-in version [10:32:37] I was going for a more brutal version that would empty the cache is the last version cached was not the appropriate one… [10:32:57] your solution seems better (but a bit more complex) [10:33:43] I'll look into it… thanks Vulpix [10:58:01] loizbek: [[mw:Extension:WikiTextLoggedInOut]]? [10:58:18] Vulpix: reminds me that the aforementioned^ does not do so but probably should >.> [10:58:57] ashley: This is a lot simpler! [10:59:51] I have been looking for code sample using onParserOptionsRegister [11:00:05] and I was starting to feel quite desperate… [11:00:56] (I was about to go back to my solution that would just empty the cache when switching from anon to loggedin (and back) [11:31:02] I know about the ParserOptionsRegister because I had to implement it on one of my extensions https://github.com/ciencia/mediawiki-extensions-WikiDexApp/blob/main/includes/Hooks.php#L60 [11:32:57] However, the option is set explicitly when it needs it, on an api module, not something it does MediaWiki itself when rendering any page [11:33:47] In your use case, or the WikiTextLoggedInOut extension if it uses that, the set of the option should probably be done on another hook [11:43:44] https://www.mediawiki.org/wiki/Manual:Hooks/OutputPageParserOutput this may be a good candidate [11:46:31] Thanks again Vulpix, I'll give it a try… [11:46:32] I have just noticed my site stopped sending out email notification for pages in watchlist. Which logs should I check to get root cause for this? [11:46:33] MediaWiki     1.37.1 [11:46:33] PHP     7.4.28 (apache2handler) [11:46:34] MariaDB     10.3.34 [11:48:04] gachangi: check if your job queue is being processed. Email notifications are sent through it IIRC [11:48:10] !jobs [11:48:10] The Wikimedia Foundation has open positions listed at https://wikimediafoundation.org/wiki/Work_with_us#Wikimedia_Careers - consider applying and helping improve MediaWiki! [11:48:16] !jobqueue [11:48:16] The Job Queue is a way for mediawiki to run large update jobs in the background. See http://www.mediawiki.org/wiki/Manual:Job_queue [11:49:15] Vulpix my job queue is empty, nothing pending [12:00:02] gachangi: maybe your host is blocking sending emails, or the mail provider is blocking them flagging them as spam [12:00:59] I had a bad experience with Outlook blocking all the emails sent from my webserver because an IP range of my ISP was blacklisted by theirs [12:34:22] Hey I am new to open source. I am interested in contributing to Wikimedia. Can someone help me get started? [12:35:22] !start [12:35:22] https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [12:36:11] GOURINATH: Welcome aboard! check out this link ^ [12:36:49] T [12:36:53] thank you