[00:08:33] Unless you have your job run rate high and your server stops responding to web requests [00:22:13] details [14:37:18] Hi, I installed Cognitive Process Designer extension to my site running 1.39 but when I'm trying to save a diagram it's not letting me save my work and showing "Failed posting diagram elements to wiki" is there anyone aware of this issue? [14:40:35] does other file uploads work? [14:40:58] Let me check by upload an image. [14:41:36] Uploads are disabled do you think that could be the issue? [14:44:10] The extension documentation does mention its required "file uploads for SVG file types must be allowed and the images directory must be writable (chmod 755)" [14:49:29] p858snake I just enabled file upload and activated SVG upload by setting $wgAllowTitlesInSVG = true; in localsettings but it's still showing the same error. [14:49:51] The images folder is writable 755 [14:49:54] have you tested svg uploads and confirmed its working? [14:56:41] I just tried and I can upload svg files. [14:57:01] I also use $wgUseImageMagick is that ok? [15:05:36] p858snake I'm wondering if I specifically need to mention the path to the upload directory. [15:26:17] Is there any other method to check the error except the pop up error message? [15:38:17] Hi, anyone aware of the reason why I'm getting "Failed posting diagram elements to wiki" in Cognitive Process Designer extension? [16:02:34] Hi [16:02:44] Can someone please help. [16:03:07] Atleast if I can know how to see exact error that display in the popup box. [16:04:25] Setting a debug log may give you more info there [16:04:28] !debug [16:04:28] 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 [16:41:50] is there any docs/ pattern that MediaWiki follows while writing CSS classes (just asking because I have to write an e2e test, and selecting different browser elements pattern may be useful for me...) [16:42:31] https://www.mediawiki.org/wiki/Manual:Coding_conventions/CSS [16:43:02] I tried to save again and in the error log I get "'MWStake\MediaWiki\Component\ProcessManager\ManagedProcess' not found" [16:43:21] This is related to  I'm getting "Failed posting diagram elements to wiki" in Cognitive Process Designer extension? [16:44:23] Hi Reedy, do you have any idea about this error? [16:45:22] Probably composer hasn't been run for an extension [16:46:31] May I know how to run that? [16:49:36] !composer [16:49:36] Composer is a dependency manager for PHP. MediaWiki uses it to include certain external libraries. See https://www.mediawiki.org/wiki/Composer for more details. For information on how to install MediaWiki dependencies with composer see https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries [16:50:52] Thank you [16:50:57] I will review these links [16:55:13] thanks [21:09:21] https://www.mediawiki.org/w/index.php?title=ResourceLoader/Core_modules&action=history is this person serious here? :O [21:10:16] Bsadowski1: what [21:10:22] just how what why [21:11:00] Look at their edit summary lol [21:11:10] (The IPs) [21:12:19] i saw [21:12:31] the what was shock [21:12:35] :o [21:19:38] sometimes it's impossible to tell if it's a troll or serious [21:21:08] por que no los dos? [21:24:09] Puede ser [21:46:56] Can you get the number of revisions of a given page via mw.config.get or some other JS? [22:00:07] You would need to make an api call [22:15:30] bawolff: Yeah, I don't see any other option atm [22:15:56] browsing the docs to see where this data is exposed [22:16:38] The other option would be to make an extension to add a mw.config.get variable for it [22:18:23] Its also can be performance sensitive on a page with millions of revisions [22:22:16] It's exposed on the pages' info tab, and via action=delete as a warning [22:22:52] I was thinking about the performance sensitivity [22:22:58] what's the need for knowing the quantity? [22:22:59] I think page=info might have some limit if its more than 5000 [22:23:31] mw-delete-warning-revisions [22:24:19] Izno: I'm building a JS to quickly delete a page, but I want to restrict it for pages where revisions > N [22:24:38] https://en.wikipedia.org/wiki/Wikipedia:Administrators%27_noticeboard/Incidents?action=info hmm guess i am wrong [22:24:47] I guess I could probably check page age instead [22:25:06] if page age > N return false else ... [22:25:26] bawolff, "Total number of edits 1.2m" [22:25:40] so, yes [22:26:06] * herzog deletes WP:ANI, no moar dramah [22:26:24] Wiki problems require wiki solutions [22:27:25] deletion is wiki [22:27:34] doesn't look like you can get these via action=query&prop=info -- https://www.mediawiki.org/w/api.php?action=help&modules=query%2Binfo [22:27:45] There was an incident way back where number of template links on action=info took down the site if i recall [22:28:20] I was thinking of just counting prop=revisions, although that is probably really inefficient [22:29:47] There was an incident way back where number of template links on action=info took down the site if i recall <-- lol [22:30:29] * Izno reviews his handiwork making the API docs mobile friendly [22:37:42] mw.config.get('wgDeleteRevisionsLimit'); <-- not exposed either [22:45:20] DYK ANI averages 5k edits a month