[04:59:20] hi, i’m trying to load up the latest sql dump of wikipedia using mwdumper and I use this command: [04:59:38] java -jar mwdumper.jar --format=sql:1.6 enwiki-20170720-pages-articles-multistream.xml.bz2 | mysql -u root -p wiki [04:59:53] and i get this error: Exception in thread "main" java.io.IOException: XML document structures must start and end within the same entity. [05:44:13] Hello, I tried to upgrade to 1.29 but when I try deleting a page I get "Fatal exception of type MWUnknownContentModelException" [05:44:18] How can this be resolved? [05:47:36] maybe try installing all the extensions you had before [05:50:54] TimStarling: I already did that [05:51:12] (it's a wiki farm, I'm testing the upgrade on one wiki and enabled every extension available on it) [05:51:43] so I'm unsure how this error can be fixed [05:53:32] you'll get more information about how to debug that error if you look in the exception log or enable $wgShowExceptionDetails [05:54:11] oh yes, I should've provided that log too [05:55:33] TimStarling: https://dpaste.de/7kp3 [05:55:58] I know it's something to do with Flow, but how do I "register" it? and how come it's not already registered? [05:57:17] define( 'CONTENT_MODEL_FLOW_BOARD', 'flow-board' ); [05:57:37] it's not meant to literally store 'CONTENT_MODEL_FLOW_BOARD' as the content model, it's meant to say flow-board [05:58:31] you must have had a broken Flow installation when you created that page [05:58:45] PHP Notice: Constant CONTENT_MODEL_FLOW_BOARD already defined in /srv/mediawiki/w/maintenance/eval.php(77) : eval()'d code on line 1 [05:58:54] I'm not sure where was supposed to define(? [05:59:11] well, if it's already defined, then it should be OK now, no more of those pages will be created [05:59:26] you'll still have to do [05:59:49] UPDATE page SET page_content_model='flow-board' WHERE page_content_model='CONTENT_MODEL_FLOW_BOARD'; [06:00:10] UPDATE revision SET rev_content_model='flow-board' WHERE rev_content_model='CONTENT_MODEL_FLOW_BOARD'; [06:01:09] it's not a very nice failure mode, how are you meant to actually uninstall extensions? [06:04:09] Thank you TimStarling [06:05:39] Another thing: For the AccessControl extension getting /wiki/Special:Version MWException from line 126 of /srv/mediawiki/w/includes/page/WikiPage.php: Invalid or virtual namespace -1 given. [06:05:49] looks like an upstream error but not sure? [10:39:42] How do you get 2 word user roles like sysadmin shows up on the User list and list groups right as System administrator? [10:48:19] Hello? [10:55:11] Hi guys. We're using the central auth extension and we suppressed / oversighted some block reasons but they still show up in centralauth. Is this cached or stored separately in central auth now? [10:56:50] Puppy I'm, a normal user but did you use a global gorup to supress it? [10:57:01] sau226: you can create interface messages for the group https://m.mediawiki.org/wiki/Manual:User_rights#Creating_a_new_group_and_assigning_permissions_to_it [10:57:49] sau226: local OS was assigned via interwiki rights so no [10:58:04] oh [10:58:15] Maybe try a global group [10:58:46] I also think that the user was meant to still be viewed in central auth (user log) [11:23:05] I am looking for a way to have users of my GitLab CE instance to be able to use their GitLab Account to log into a Mediawiki instance. I am looking at https://www.mediawiki.org/wiki/Category:User_identity_extensions but https://www.mediawiki.org/wiki/Extension:OAuth seems to be the other way around. what do I need for my purpose? [14:28:10] can I ask questions about the CheckUser tool here? [14:29:02] sure [14:29:39] When a user register an account on english Wikipedia, does the IP where he registered the account stays on Checkuser log forever or just 3 months like others? [14:31:00] just 3 months [14:31:21] I meant the IP where he registered the account... [14:32:11] There is a bug asking to store that longer, but as it stands thats also just three months [14:32:42] the bug? [14:35:05] On that underlying IP where a user registers an account, I heard some will say it's forever but others will say it's just for 3 months [14:35:25] I'm quite confused by the contradictions so that's why I'm asking about that here....... [14:36:01] So it's just three months like any others right? [14:37:51] Sorry, the bug request is private for some reason ( https://phabricator.wikimedia.org/T170148) [14:38:30] if someone told you it was forever they were lying to you [14:39:01] okay maybe they were misled too.. [14:39:54] but thanks for your information [14:40:07] Good luck [14:42:50] Hopefully that guy isnt planinning to mass vandalize... [16:23:31] is there any page listing the various log entries by the page curation toolbar? [19:38:39] hey hey. i have a server running ubuntu 14.04 with mediawiki installed. i need 16.04 to get the newer version of something else I am running on that server, is it likely that mediawiki will break if I run the distribution upgrade to 16.04? [19:39:20] how did you install mediawiki? via package or by downloading and extracting the tar.gz? [19:39:38] if you downloaded/extracted it yourself, I don't see any possible cause of issues [19:39:54] make a backup of your database just to be safe though [19:40:02] (in case the upgrade corrupts it somehow) [19:40:43] Yeah, I installed from the tar.gz. I have a snapshot of the server. [19:41:33] The wiki isn't super important, like a fun project, but a few people have been having fun with it and I would hate to break it [19:42:00] thanks a lot! [20:28:44] hi, i’m trying to load up the latest sql dump of wikipedia using mwdumper and I use this command: [20:28:51] java -jar mwdumper.jar --format=sql:1.6 enwiki-20170720-pages-articles-multistream.xml.bz2 | mysql -u root -p wiki [20:28:56] and i get this error: Exception in thread "main" java.io.IOException: XML document structures must start and end within the same entity. [20:30:01] hmm, I don't think mwdumper is well maintained these days [20:30:37] what can i use instead for something the size of wikipedia? [20:32:47] also, are you sure that your dump has been fully downloaded and it's not truncated? [20:33:09] pretty sure: I tried two times and the wget indicated 100% were downloaded [21:16:22] So, is mwdumper the best and recommended way to import wikipedia into mediawiki? I keep running into “XML document structures must start and end within the same entity” error [21:26:31] rainy, what's the stacktrace? [21:43:56] MaxSem: messaged [21:44:25] by the way i confirmed md5sum on the xml dump file [21:44:54] That doesn't mean it's valid XML [21:45:17] i know but someone asked before if file may be truncated