[01:59:05] anyone know how to implement a Lua library in an extension? I'm getting "includes/ProofreadPageLuaLibrary.php:10 PhanUndeclaredExtendedClass Class extends undeclared class \Scribunto_LuaLibraryBase" but as far as I can tell I'm not doing anything different to https://gerrit.wikimedia.org/r/c/mediawiki/extensions/examples/+/698868 where it totally worked [01:59:24] failing patch: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ProofreadPage/+/699086 [02:00:56] specifically, I do "use Scribunto_LuaLibraryBase;" at the top of the file in question [03:20:54] inductiveload you probably need to follow https://www.mediawiki.org/wiki/Continuous_integration/Tutorials/Add_phan_to_a_MediaWiki_extension#Advanced [03:27:49] legoktm[m], how come the examples extensions doesn't need that? [03:28:10] If I had to guess, no one set up phan for it [03:28:19] oh right [03:40:13] is there an easy way to run phan for an extension with docker-compose? [03:41:21] `docker-compose exec mediawiki /var/www/html/w/vendor/bin/phan -d extensions/ProofreadPage --long-progress-bar --allow-polyfill-parser` is not quite right [03:49:10] You could try https://www.mediawiki.org/wiki/User:Legoktm/phan [03:49:25] It should hopefully still be up to date... [08:04:55] Hi guys, is there a way to purge all articles? [08:05:23] There's purgeList.php [08:06:01] Yep [08:06:07] That has --all-namespaces [08:06:20] is it also available for mw 1.31? [08:07:04] so the command would be 'php purgeList.php --purge --all' ? [08:07:34] On 1.31 yes [08:08:11] 1.31 is EOL though soon [08:08:26] I know [17:23:36] kostajh: is https://phabricator.wikimedia.org/T209120 something third party wikis should run too? [17:27:36] RhinosF1: eventually yes. I wouldn’t do it yet (well you could attempt in dry run mode) [17:30:29] if it's needed, it should be wired into update.php/loadextensionschemaupdates etc later [17:31:26] Reedy: we never use update.php [17:31:31] kostajh: cool [17:31:40] RhinosF1: Well, sure [17:31:46] But you presumably follow what it would run [17:31:53] Yeah [17:31:56] So it's the same basic idea [17:32:02] To the best of our guesses [17:32:14] (I've found missed 5 year old schema changes before) [18:03:26] I have a issue with editing [18:04:25] like when I click on edit different page content is loading not related to title at all [18:04:38] any idea why it is behaving like that [18:06:59] for more information recently I have imported database [18:07:16] you may want to start at the very beginning, step by step :) [18:08:07] I have a issue with editing like when I click on edit different page content is loading not related to title at allany idea why it is behaving like that [18:08:09] for more information recently I have imported database [18:13:50] Also when I tried loading pages that don't have images, for that visual editor is throwing error like 'Error loading data from server: HTTP 504. Would you like to try again?' but in infobox i am getting 200px in red color [18:20:31] which MediaWiki version? [18:20:55] when viewing, before editing the same, is the expected page content displayed? [18:22:31] mediawiki1.34 [18:23:15] ha in read it is correct but when i click on edit different page content is loading [18:32:39] Guest59: For your info (and unrelated to the problem): 1.34 is an old, unsupported, insecure version [22:52:11] if you search for "mediawiki" on Matrix, this channel (#mediawiki:libera.chat) should show up in the results now [22:58:57] the one thing I haven't figured out is how to make the whole history available to new users on Matrix, in case anyone knows how to do that