[01:22:50] hello, i have mediawiki installed on a remote vps, is there any way to do the configuration solely through the terminal? [01:27:54] i see, that seems to be what this LocalSettings.php is for [01:28:25] so basically i'd have to construct that file and place it where mediawiki is gonna be looking for it? [01:29:45] stoopkid: use php maintenance/install.php to generate the LocalSettings.php and then you can edit it to tweak as you want [01:30:06] awesome, thank you! :) [02:01:00] Hi there, I help a project which has a lot of links which need to be rendered a (or should be rendered) certain way, for example [[X|{{M|X}}]] <--X is a standin here, not literally which renders using math-markup for example [02:01:13] We have a template called link which is used as follows: [02:04:46] (still here, writing) [02:05:11] {{link|A|B}} --> [[A (B)|A]] (eg A=normal B=distribution) [02:05:11] {{link|A|B|C}} --> [[A (B)|AC}} (eg A=plural, B=grammar, C=s) [02:05:12] {{link|A|B|C|D}} --> [[AC (B)|AD]] (eg A=pupp, C=y,B=dog, D=ies) [02:05:12] I'd like to add subpages to this template, so if template:link/X exists, then substitute it for A in the above examples in the output [02:05:59] So I'd like {{link|X|Y}} to output [[X (Y)|{{link/X}}]] - my previous attempts have failed but the issue has popped back up [02:06:03] Any comments? [02:09:07] so i got this error message when running install.php: [02:09:10] "PHP Warning: file_put_contents(/var/www/html/mediawiki/LocalSettings.php): failed to open stream: Permission denied in /var/www/html/mediawiki/includes/installer/LocalSettingsGenerator.php on line 208" [02:09:47] i think that's because i didn't run php under sudo, so i tried to do that and now i'm getting some errors that looks like install.php is trying to put some stuff in the db that it already put there [02:10:18] is there a maintenance script to uninstall everything so i can run install.php again properly? [02:13:20] https://pastebin.com/azMbzWRC [02:16:00] this is the specific error that's preventing the install [02:40:11] stoopkid: was this a brand new install? If so you could just drop the partial database and start over from scratch [02:40:42] oh, good point, thanks! [02:55:08] legoktm: bd808: all set up now! :) thanks again for the help [02:55:27] stoopkid: awesome. glad the fix was that easy :) [05:01:33] hi, i am currently setting up mediawiki on my localhost. Why do we need to clone core.git git clone https://gerrit.wikimedia.org/r/p/mediawiki/core.git [07:03:27] Greetings to all. I have question: How to create a category, that is what to write to a category page or just leave the "page content" empty (Wiki text)? I understand that the category page content is automatically generated. [07:04:24] Do I create categories pages without content? [07:26:08] Spiker01: its entirely up to how you want to run your wiki [07:26:32] categories can be added to other categories, which is where that section comes in handy [07:42:21] Ok. Im understood. Thanks. [07:43:39] I myself understood, trying to create a category without content. [13:25:27] Does anyone know if it is possible to restrict viewing access to a specific page [13:25:53] perhaps so only a specific usergroup can see it? [15:32:02] Dysklyver: you can only do this with extensions [15:32:40] https://mediawiki.org/wiki/Extension:AccessControl is one [15:32:52] ok thanks [16:52:34] is there possibly anyone here who's experienced moving a vagrant mediawiki tarball to a new server (or reinstall) and had it not pop back up properly on the forwarded hosts after bringing it back up? [16:55:03] I mean it's accessible via ssh's forwarded port, but it looks like it stopped spawning any apache or httpd at all [16:58:15] when you ssh in, is apache running? [16:58:26] nope [16:58:44] I'm not able to start it, either. Can't find the binaries. Which is really troubling now that I'm digging further [16:58:59] weird [16:59:07] are you logged in as root? [16:59:19] maybe need to add /sbin or /usr/sbin to the path? [16:59:24] well, as vagrant, sudo'ed to root [16:59:29] I'll check the path [17:00:06] the sbins are still in the path... Maybe I did something to corrupt this machine. I'm going to check a backup and verify that it's missing (or not) the same binaries [17:02:55] oh interesting. it appears that ~vagrant is clean, too. isn't that supposed to be full of the mediawiki directory structure? [17:03:22] Maybe the machine got reprovisioned? Any ideas on if that would do this? [19:20:00] Suppose I use {{X|Y|Z}} where template:X redirects somewhere [19:20:07] Does the redirect get the parameters forwarded implicitly? [19:37:49] Yes [19:39:02] http://henstepl.wikia.com/wiki/User:Henstepl?action=edit Proof [19:40:42] I've done and tested it now thanks though Henstepl [21:17:21] #join mediawiki-devrel [22:28:48] Its wikimedia-devrel... but ik [22:28:53] Ok* [22:38:05] Zppix: don't be a bastard. [22:38:05] https://i.imgur.com/lSagiSX.jpg [22:39:55] Alec: please be respectful to all users, and please read our Code of Conduct thank you :) [22:40:14] Zppix: it was you that wasn't being being respectful BTW [22:40:54] Alec: im not arguing if you want to you can pm with your concerns [22:41:00] Otherwise I wouldn't have pulled you up on you not letting this channel be a safe & inclusive space for learning Zppix [22:41:13] Now if you can stop making it worse for people here that'd be great. [22:43:51] Zppix: its a redirect channel [22:44:16] p858snake: it is? [22:44:21] also, both of you be respectful please [22:45:28] I didnt think there was other mediawiki-* channels... there isnt alot of redirect channels in wm namespaces [22:45:40] Afaik [22:46:32] Back [22:46:56] So Zppix (forgive me - last bit) as an example of being more S&I towards people you could have said "you probably meant .... " instead. [22:47:04] I've said that in public because others might benefit. [23:10:54] Question. Are there "Tags" in mediawiki. If so, can they be logically combines in a search? [23:13:27] larry: semanticwiki [23:13:51] larry: the closest concept is in normal MediaWiki is categories, but SemanticMediaWiki might have more tag-like things [23:14:19] Thanks.. [23:16:20] SemanticWiki can do TagA butnot TagB sort of stuff? [23:18:26] Is lmgtfy.com broken larry? [23:19:21] larry: https://www.semantic-mediawiki.org/wiki/Help:Introduction_to_Semantic_MediaWiki#Where_SMW_can_help the links on this page might be useful [23:19:36] thanks