[00:01:05] I tried many many solutions to make a bot that can be global, and very accurate. But I find out then that the very best solution for this is by get the html code of the page. Then remove the elements that contains red files. Then parse the edited html to the page again. [00:01:24] This 100% guarantee solution. [00:01:51] Isn't there already a bot that does this? [00:02:41] But yeah, that sounds like a good thing to build. [00:03:10] Yes there is in pywikipedia. But not very accurate. Sometimes it delete text instead of image. Because of regexes. [00:06:26] Right. [01:55:10] James_F: got parsoid running. any idea though how I can fix the error, "could not parse extension source"? it's giving that when I transform wikitext to html, for my custom tag [05:57:40] Hello, my MW setup was working fine and then all of the sudden i started getting "Detected bug in an extension! Hook ConfirmAccountUIHooks::confirmAccountsNotice has invalid call signature; Parameter 1 to ConfirmAccountUIHooks::confirmAccountsNotice() expected to be a reference, value given" type errors on all of my Extensions. I haven't upgraded MW recently, and no config changes were done. i have managed to figure out that by disabling almost all of [05:57:40] the extensions the site loads, but now what do i need to do? [06:23:19] anarhist, make sure you're using the version of ConfirmAccount needed for your mediawiki version [06:23:50] If it's expecting an older/newer version of mediawiki, it'll do weird stuff like that [06:24:21] N3X15, it's not the only extension that broke down. and as i have said everything was working a couple of weeks ago without a problem, and then instantly all broke down [06:25:42] Did you update your extensions when you updated your wiki? [06:27:03] i haven't updated my wiki... in a long while. i probably should, but i am a bit scared now, that two problems can add one on top of another [07:10:52] anarhist, back up your stuff (files AND database), and then try it. First, because there's been some security fixes. Second, because it's worth a shot. [07:38:34] Reedy: does that fix the schema issue with the constraint failing due to default being non-existent 0? [14:01:21] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @James_F & @mooeypoo - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [14:51:20] Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @James_F & @mooeypoo - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [14:58:21] I have a problem. I had some issues with Mediawiki, managed to resolve them by upgrading to a new version, now the site works. the problem is that no pages can be edited. i have $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['user']['edit'] = true; if i commend out the first, then i can edit, but so can anon users, did something change in the permission camp? [15:02:46] anarhist: https://www.mediawiki.org/wiki/Manual:User_rights [15:46:28] harmaahylje, thanks, but this actually says that it should work... [15:49:12] Right, how did you test this? [15:51:15] harmaahylje, i have commented out $wgGroupPermissions['*']['edit'] entirely, and i have regained the ability to edit pages with my user. but with that line nobody (not even logged in users) can edit [15:51:50] harmaahylje, the link you gave says "Setting '*' to false doesn't disable rights for groups that have the right separately set to true!" [15:52:38] you said users can't edit, did you test this personally? [15:54:16] harmaahylje, correct, the link is changed to 'view source' and it is impossible to edit [15:57:06] did you migrate the database after you upgraded? [15:59:35] i ran update.php [15:59:48] do i need to do something else? [16:01:08] don't think so [16:01:24] re-confirm that you don't have conflicting settings [16:01:36] It is highl unlikely that there is a bug in this [16:01:56] they worked before the update... but i'll check again [16:02:42] anarhist: That configuration works for me on 1.32. When you get the permission problem being anon, does it say what user groups are allowed to edit? For me, it says only the group "Users" are able to edit [16:03:02] Maybe you're not really logged in [16:03:16] https://pastebin.com/vcsybnpe [16:05:16] Vulpix, it does still say that "The action you have requested is limited to users in the group: Users." I have logged out and logged back in [16:05:55] anarhist: create a new user and try again? [16:06:08] Maybe you have an extension installed that's causing some conflict [16:06:15] Try disabling all extensions [16:06:50] ^ [16:07:09] hmm. i have just noticed a warning: ': Parameter 1 to alternateEdit() expected to be a reference, value given in ..../includes/Hooks.php' [16:08:24] Yes, that looks like a problem with one of the extensions [16:09:18] You should upgrade all your extensions. If you installed from tarball, it already contains updated versions of extensions, but maybe you had other extensions downloaded separately that need upgrade too [16:12:41] ok, cheers, i have found offending extension [16:15:49] \o/ [16:46:25] Hello. I just upgraded parsoid from 0.9 to 0.10 and noticed that it's now "fixing" section headings to remove any spaces before/after the content (e.g. == blah == becomes ==blah==). Is there a way to disable this? [18:35:38] hey guys how do i check if i can edit a page with the api