[07:46:16] Hi all ! an hard task to start : migrate a wiki on a very old server : come from v1.7.1 ! And the wiki has 2 part a public and a restricted (with auth) [07:46:36] i plan to create a debian 9 server to rehost it [07:47:12] Is it possible or not to import a v1.7.1 data/config into a recent version ? [07:48:02] debian 9 has v1.27.4 available [07:50:56] And i'm looking for info on the auth part configuration (never done a mediawiki with login) [07:52:36] https://www.mediawiki.org/wiki/Manual:Upgrading [07:53:05] which info on the auth part config? [07:53:24] basically https://www.mediawiki.org/wiki/Manual:Preventing_access [07:56:33] if i understand all pages with a tag are only accessible if logged in [07:57:57] In the right pane menu, there is a second "starting menu link" (french config, don't now the default names), like "Accueil" and "Technical Accueil" [07:58:21] wikiinfo/index.php/Accueil and wikiinfo/index.php/Technical:Accueil [07:59:06] each host an index starting mage with a little custo (some nice blocs of main chapter infos) [08:02:01] andre__, if i unerstand the process for upgrade could work even from a such old version ? [08:02:33] i install my new server and i do an export/import of data/config between them [08:03:56] old server has php 5.2.0, mysql 5.0.26 [08:45:56] found how they filter ! it's Extension:ExtraNamespaces [08:46:10] but this is not available now ? [08:46:14] https://www.mediawiki.org/wiki/Extension:ExtraNamespaces [08:49:47] i've seen this newer config : https://www.mediawiki.org/wiki/Manual:$wgNamespaceProtection ; but seems to restrict only editing. i need a whole private namespace [08:52:37] !cms | dcpc007 [08:52:37] dcpc007: Wikis are designed for openness, to be readable and editable by all. If you want a forum, a blog, a web authoring toolkit or corporate content management system, perhaps don't use wiki software. There is a nice overview of free tools available at including the possibility to try each system. For ways to restrict access in MediaWiki, see !access. [08:53:15] yes i've seen the lockdown extension, but stopped at v1.26 [08:54:43] i was looking to change application, but i need to keep some data restricted. And don't want to go to Office365 they are installing, because i find wiki more easy and better for history! (even the old 1.7 i start raise :) ). [08:56:00] another idea, is it possible to make a whole wiki asking a login ? [08:56:18] maybe i could split the wiki in 2 sites : public and restricted [08:56:50] but i think i'll have a complicated work to migrate the data with the history [09:16:18] is it possible to completely remove a page or part of a wiki ? [09:16:34] and clean the DB/files/history/content [09:17:17] goal would be to clone the current wiki 2 times and delete on both the unneeded parts [09:17:22] for splitting [09:18:02] one will be private , the other public : https://www.mediawiki.org/wiki/Manual:Preventing_access#Simple_private_wiki [09:27:50] how can i update an extension's db table? [09:28:14] i tried using update.php along with the --wiki flag, but the table doesn't seem to update. [17:23:49] Has anybody installed AbuseFilter without using composer? [17:27:16] tkore\w: what extension? [17:27:31] well, that's a bug [17:27:51] (but only on the matrix side) [17:35:58] Has anybody installed AF without dependencies? Assuming I'm reading the extension page correctly, it will function without, correct? [17:39:42] hexmode[m]: ping [17:40:51] stiv2k_: 'sup? [17:41:02] you get my pm from this morning? [17:41:10] i got it working flawlessly on 1.27 [17:41:17] \o/ [17:41:42] so looks like it is a regression introduced between 1.27 and 1.30 [17:41:42] I did get your pm but wasn't here so I missed it [17:42:45] awesome, updating T192965 [17:42:46] T192965: Errors installing on MsSQL server - https://phabricator.wikimedia.org/T192965 [17:45:20] hexmode: thanks for your help! [17:46:09] stiv2k_: if you have time, trying 1.28 & 1.29 might help pinpoint the verson. But I'm guessing this was something in the MSSQL layer that changed. [17:46:21] shouldn't be too hard to find. [17:53:23] hexmode: what say you? [18:13:48] Where would AbuseFilter PHP libraries go within the AbuseFilter folder, and where would I require them? [18:26:38] dross: if you cannot run composer on the server, the recommended way to install extensions requiring it is to create the file structure locally and transfer it as a whole [18:53:59] stiv2k_: the mssql layer is just kinda broken right now. The 1.31 branch should have fixed it enough to be able to install/upgrade, and there's some discussion of a refactor which would greatly improve things moving forwards [18:54:09] please try the 1.31 code and see if that works for you [18:56:01] also if you run into mssql issues in the future, feel free to ping me -- I may not be around at the time to respond, so you may need to poke a few times [18:57:40] (the issue is that people unfamiliar with it submit schema changes that get merged in, and since mssql isn't part of the CI infrastructure it doesn't get tested and then those changes cause errors) [19:11:48] I made some commits to my extension repository when my git email was set to my GitHub noreply address. Now I can't push them to gerrit because that email isn't an email associated with my gerrit account, and I can't add that email to my gerrit account because I can't receive email at that address. What do I do? [19:16:50] Change the commits email address to one that is correct? [19:24:35] I'm not sure how to do that. :-/ It looks like the commit that it's upset about is an old one. [19:25:05] Are you trying to push an old repo to gerrit? [19:26:03] I don't know. I'm very inexperienced with this. The repo is already on gerrit, I think. [19:26:42] But one of the "outstanding commits" is one that was pushed a few months ago. I'm not sure why it's still outstanding. [19:29:07] Yes, it appears to be this commit: https://gerrit.wikimedia.org/r/c/384086/ [19:29:30] But it has a different number locally, 47d9e97 [19:32:48] because it came via a different source [19:32:51] remove it from your local [19:33:07] Remove 47d9e97? [19:33:12] yes [19:36:23] I think that worked. Thank you. I ran git reset --hard origin/master, then redid my commits, and now gerrit seems to be happy. [19:36:51] git has such a learning curve. :-p [20:14:53] I have a question. I have an old wiki with 15 users and a lot of spam pages. I would like to restart the wiki but keep the 15 user accounts. Can I safely copy the prefix_user table from the old wiki to the new one, or would that break anything? [20:17:02] you can copy it safely [20:18:37] Okay, I will try. Thank you :-) [20:19:05] yw :)