[04:31:17] !!! Enjoy the most profitable financial market (crypto market ) as you get 100% profit...and you can also make up to $100k or more in 3days send me a private message and ask me HOW on TG [04:31:17] https://t.me/FloraGordon [12:44:57] ‼️Polymath Cryptocurrency is the most profitable Asset in financial stock market 💯 profit…make up to $200k and more. Kindly pop a private message on TG using the below Hyper link. [12:44:57] https://t.me/FloraGordon [20:27:28] i wish that unknown content handlers in slots other than main were just ignored, so that one could sanely uninstall extensions [20:31:30] [[bugreport]] it? :) [20:34:45] But then people might fix it, then what will i have to complain about? [20:36:50] might be good if Special:ChangeContentModel still worked on them even if they were unknown, so admins could also do some manual cleanup of slots? [20:37:04] (er... does that special page work on slots anyway?) [20:37:12] (:joy:) [20:38:57] survey says "no, it does not" [20:41:26] btw, just filed https://phabricator.wikimedia.org/T336011 [20:41:46] neither does the API, and neither does the internal ContentModelChange class. whee [20:42:11] $wgContentHandlers['myslotname'] = JsonContentHandler::class is a decent uninstall idea [20:42:24] assuming it was json [20:42:32] although it still displays it as the end of the page, with no way to delete the slot short of deleting the page afaict [20:43:00] Well i guess you got TextContentHander... assuming non-binary [20:43:46] hopefully a safe assumption [20:44:16] but yeah, there is essentially zero UI/way for user to do anything with slots [20:44:21] There may be some NullContentHandler or similar to just ignore it [20:45:17] The inclusion header comes from outside the ContentHandler class, so you could add another 3 lines to register a hook to register a slot handler, that gives the display hint of doing nothing [20:45:41] But i'd still want all this to be automatic, make people feel safe installing these extensions if they just go away when disabled instead of having to do something [20:45:55] there's a FallbackContentHandler which is intended for that [20:46:26] Well this is what i get for developing against 1.35 ;) [20:47:44] The other thing i really want with MCR, is a hook that runs somewhere in the page save process, where i could modify my slot based on changes the user made when editing the main slot in the normal way [20:48:06] Afaict there are no suitable hooks, everything passes narrow interfaces that don't let me modify slots [20:48:25] I ended up making a deferred update from MultiCotnentSave to make a separate edit later on [20:53:09] Well filed another bug https://phabricator.wikimedia.org/T336013 [20:53:26] Not sure anyone is really working on MCR anymore, so might be filing to the void [21:33:33] bawolff: I don't know of any team at the WMF actively working on MCR. You probably know that d.uesen would be a good contact if you wanted to talk through implementation ideas for your feature requests. He likely would not be able to commit to work, but hopefully he could talk though options and give code review if you or someone else had time to work on it. [21:53:44] yeah, I'm kind of assuming this is a "patches welcome" type of scenario [21:53:49] Which, fair enough [22:13:50] bawolff: would https://phabricator.wikimedia.org/T277203 help? [22:16:05] I don't think derrived slots would help my usecase since as i understand it, they are supposed to functionally depend on the main slot entirely. The context of this extension, is basically google docs style inline comments, stored in a separate slot, but if someone deletes the text that is being commented on, i want to automatically delete the the comment too [22:17:33] So the slot is not normally derrived, i just want to enforce some consistency criteria [22:17:58] But after testing out the solution of separate edit, it turns out it is generally working fine, so maybe i don't need it as much as i thought i did [22:28:59] That said, i didn't realize derrived slots actually got implemented, which is really cool [22:53:45] legoktm: could you please take a look at https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GlobalUserPage/+/908002/ when you can? thanks [23:34:47] hauskater: +2'd, ty for the poke [23:37:59] thanks to you for the review