[11:41:28] I am looking for a bot to paste MW changes to IRC. [11:42:42] traumschule: https://www.mediawiki.org/wiki/Manual:IRC_RC_Bot [11:49:03] thanks [15:16:50] Looking for solid plugin/script to migrate DocuWiki-->MediaWiki [15:17:02] Google give shit results [15:17:27] Anyone clue me in [15:17:31] Anyone clue me in? [19:29:21] thnibegin: did you find anything? [19:57:07] Hi All. Using a MediaWiki upgraded to 1.31 with ArticleFeedbackv5. I'm getting "Uncaught TypeError: $.cookie is not a function" from the extension. The feedback field is also failing to show on the bottom of the pages. [20:09:08] Abulafia: Sounds like that extension is using jquery.cookie, which was dropped from MediaWiki some time ago. It will need to be re-written to not depend on that old library. Sorry. [20:10:37] Hmm, no, not dropped yet. Maybe the code's just failing to declare its dependency? [20:11:23] Thanks James. I know ArticleFeedbackv5 has a REL1_31 snapshot - I'll try to duct tape it together for now and will suggest a patch to them. The code was working in previous versions, but I'm not sure which version is where it started failing. [20:11:59] Would the dependency declaration have changed in the last few versions? [20:12:32] It might be that we've dropped use of jquery.cookie from some other code and now the extension can't get away with not requiring it and falling back to others' loading of it? [20:12:42] Sorry, I've not touched AFT code in many years. [20:13:15] ArticleFeedbackv5... v5 will live forevah! [20:15:09] Fair enough. I've written simple extensions but haven't had to declare dependencies before - if I include the dependency in extension.json, should composer grab it for me? [20:17:01] Not composer, this is a ResourceLoader dependency issue. [20:17:25] But yes, you'd declare it via extension.json. [20:18:11] Found it - I think it was piggybacking on CollapsibleVector's dependency declaration. Thanks! [20:18:18] (or at least on my install it was) [20:18:35] Glad my vague comments were enough. :-) [20:19:22] So, once I've declared, what has to happen then to ensure the dependency is in place? [20:19:45] (And they were great comments... not vague.. they just had appropriate wildcards :) ) [20:40:25] Abulafia: If you've declared the dependency into extension.json, MediaWiki will ensure it's in place. (Specifically, the extension management system will pick up the dependency and ResourceLoader will insert it appropriately into the queue.) [20:40:51] Abulafia: But it sounds like it'd help others to push the fix upsteam as a patch. [20:41:40] Will do, once I get it working locally. Thanks again! (I may be back with exciting follow up newbie questions, but will RTF the appropriate M for now) [20:42:10] Sure. :-) [21:06:41] traumschule, no nothing at all. [21:07:38] James_F it looks like ArticleFeedbackv5 is using the old method of loading (ArticleFeedbackv5.php rather than extension.php), and within that file jquery.cookie is declared as a dependency. Should that do the trick? [21:14:22] thnibegin: http://www.linuxintro.org/wiki/Convert_a_dokuwiki_to_mediawiki and if you change your mind: https://www.dokuwiki.org/tips:mediawiki_to_dokuwiki_converter [21:14:48] (took me less than one minute searching) [21:15:32] traumschule: Yeah, I read that already... it's for old (obsolete?) versions though. Can't seem to find anything more current. [21:16:12] thnibegin: oh ok. you said you found nothing at all. [21:16:58] traumschule: Sorry, I didn't mean "nothing" haha... I said that "Google gives shit" [21:17:26] traumschule: translation; "Found stuff, but nothing good" :D