[01:28:53] Is there a way to completely remove the ability of not-logged-in users to view any other revision of a page besides the current one ? I found https://www.mediawiki.org/wiki/Topic:Qyydsoxnt44t8arl for hiding the View History button, but someone could still construct the URL themselves I think. [01:29:49] steven_c: not built into mediawiki, no [01:30:16] mw was designed to be as open as possible, so things like restricting viewing of certain portions of it are not well-supported and likely never will be [01:30:34] is there an extension which can achieve this ? [01:30:35] you can likely accomplish it with an extension [01:30:46] but I can't think of any that do it right now [01:31:27] there's two things you'd need to block at a minimum: viewing old revs, and exporting old revs via SpecialExport [01:31:48] RecentChanges will show diffs, which can expose old content as well, so you'd need to block diffs [01:32:38] it might be a big pain to catch all such leaks. MediaWiki only has one 'view' permission that is checked for both the current and old revisions [01:32:41] I'd probably just want to hide RecentChanges entirely to not-logged-in users [01:34:03] that brings its own challenges, as well [01:34:36] I believe you can fetch RC via page transclusion, and there's also the feeds [01:35:28] plus a bunch of pages which work similarly to recentchanges, such as related changes [01:36:23] what you want is probably possible, but it's going to be annoying to hunt down every way that someone can get at old page content [01:36:42] and if your wiki is publicly accessible, it's a complete fool's errand anyway [01:36:54] as someone could go to the internet archive or google's search cache to view old content [01:37:35] (or many other sites which cache/store pages from other websites, some of which do not honor robots.txt at all) [01:38:11] Well I was thinking of using Approved Revs, so the crawler wouldn't see the content until approved, so then if someone pushes out sensitive content that they shouldn't, for example, it'll never get to the crawler [01:38:59] that isn't foolproof [01:39:52] let me ask *why* you're trying to do this [01:40:28] perhaps I can convince you that either what you're trying to do isn't necessary, or that mediawiki is the wrong platform for what your goals are [01:42:27] I'm not sure I can think of any other reason besides the one I just mentioned, that of someone accidentally publishing some content that is sensitive, as normally all the content on the wiki is meant to be public, just edited by not entirely trusted users where approval of their edits might be required. [01:42:43] well, you can always handle that with post-moderation [01:43:11] if you combine with ApprovedEdits and (if need be) hiding the View History tab, you'll prevent all but the most dedicated people from seeing that "bad" content [01:43:29] and once caught, you can do revision deletion to hide it from everyone [01:44:41] if it needs to be 100% airtight (instead of 80% as described above), you'll probably have better luck with a CMS platform than with mediawiki, but what you want should be possible with mediawiki (just requires a lot of chasing around to identify what all to block, and custom coding to block it) [01:45:57] Good point about the revision deletion ! In the vast majority of cases I don't really particularly mind if a dedicated user gets hold of an older rev, and deleted the rare big mess-ups shouldn't be too much of a problem. [01:46:01] post-moderation is how sensitive content is handled on Wikipedia and other public Wikimedia Foundation wikis, where an admin can delete one particular revision should it contain something sensitive [01:47:16] (there's also a feature called "suppression" which is a level above revision deletion which can also hide the info from regular administrators) [01:48:58] Alright, that should work I guess. Thanks a lot for taking the time to respond in depth !! :) [01:49:07] happy to help ;) [02:49:37] hello everyone [02:50:43] I have having an issue with setting up visual editor ... I can have the right mediaserver running with that plug in but after adding the settings to the Localsetting.php i do not understand the next parisoid or settings after that [02:50:47] can anyone help ? [02:51:13] this is all local [03:01:37] fou: do you have parsoid? [03:24:50] yes [03:24:53] i have that installed [03:24:57] i have eveyrthing i need [03:25:06] php verions and plug in that i can load [03:25:17] but will not save the edit page [03:25:43] sorry was working on something [03:26:07] was looking in to centos and if that is better [03:26:55] still there Zppix [03:30:25] i have followed the guid with visual edit and parsoid [03:30:35] mediawiki easy to install [03:33:13] Yes sorry [03:33:39] What version of php and mediawiki and visual editor and parsoid [03:33:51] stable versin [03:34:03] i beleive its 7.0 php and [03:34:12] 29 [03:34:14] holdon [03:34:47] 1.29.2 [03:34:52] mediakwiki [03:35:11] when clicking edit not edit source [03:35:36] it pops up but i can not create a new page / safe one if that makes sense [03:35:49] I see [03:36:04] What parsoid and visualeditor versions? [03:36:24] for that versuon of media wiki [03:36:25] holdo n [03:36:27] hold on [03:37:09] not sure the parsoid but i did install int with using nmp [03:37:29] npm sorry [03:37:52] Is this a public or private wiki? [03:38:17] i have set the wiki at private [03:38:23] Ok [03:38:26] meaning local not domain setup meaning [03:38:34] i have not linked this to any where [03:38:38] Ok [03:38:56] a vm with a job to only do this [03:39:14] a vm with a job to only do this but i ca give you access [03:39:21] Have you tried restarting everything? [03:39:39] the only part i am stuck on is this [03:39:49] configuring parsoid [03:39:52] Ah [03:40:02] i have evyerhting working but configuring that [03:40:14] there is like a local or domain setup [03:40:16] and [03:40:34] there verison of linux have a port [03:40:48] but still i do not want to hae a domian just a loalhost ip [03:40:51] or locatl host [03:41:00] Hmm [03:41:03] I woll figure out how to or want to [03:41:04] Im not sure [03:41:15] link it but its more a documenation to have it local [03:41:18] thats it [03:41:36] Im not that great with parsoid configuration [03:42:04] ok [03:42:12] i mean its bata [03:42:17] my goal is this [03:42:34] wiki page for a normal user to use throught a browser not code [03:42:39] to document everything [03:42:41] Yeah [03:43:24] Have you tried following. https://www.mediawiki.org/wiki/Parsoid/Setup [03:43:33] i mean yeah i can do all the hard work but still if i have 5 people document [08:14:11] hello [08:14:30] can anybody help me with 1 question? [08:15:46] I have different groups ( 4 groups) and 4 addtitional namespaces for them. How to close access for each group to differ namespaces? [08:15:55] for example: [08:16:44] group 1 should see only pages in Level1:Test group 2 should see onle pages in Level2:Test , etc [10:34:34] Err how do I set up interwiki links? I don't mean the [en:blah] type things but something like user@test allows me to change rights on another wiki? Thanks [10:38:29] QuestionAskerUse: What is an interwiki link in something like "user@test"? [10:38:50] QuestionAskerUse: https://www.mediawiki.org/wiki/Help:Links#Interwiki_links [10:38:59] Not interwiki link then [10:39:05] Db connection or something [10:39:13] I have no idea how to set one up [10:39:30] Just the DB connection is enough. I don't need fancy extension thingys [10:40:30] Which problem would you like to solve? [10:40:42] Having one shared DB behind several wikis? Something else? [10:40:55] https://www.mediawiki.org/wiki/Manual:Database_access [10:41:40] Let me have a look [10:43:33] Looks like a shared db might let me run something like "user@test" on Special:Userrights so if I had 2 wikis ("test" and "meta") I can log into "meta", put "user@test" into Special:Userrights, add bureaucrat and then get bureaucrat on the "test" wiki [10:45:18] I'm not aware of anything that can provide that functionality. I wonder why don't you just log in on the target wiki and perform the action directly? [11:15:36] I just wanted to test stuff. I see that on wikimedia you can change rights using db prefixes [11:18:07] hello? [11:18:20] how can I access the $wgScriptPath variable in my skin? [11:19:53] Use LocalSettings.php or use "wgScriptPath" = "text" [14:27:49] hi guys [14:47:17] hi Combined2857. [14:47:46] hi andre__, are you andre the giant ? [14:49:08] Combined2857: I hope not. :) [15:34:40] since 2 days trying to install mediawiki on linux, at the end, starting web, always comes the message "Required components You are missing a required extension to PHP that MediaWiki requires to run. Please install: mbstring (more information) xml (more information) very frustrating!!! [15:34:55] +what a mess!! [15:36:01] felix29: what linux distro? [15:36:56] I used ubuntu 16.04 LTS and Mint Sarah, both with the same result...since 10 hours no success... [15:37:12] you're missing some php packages [15:37:22] assuming you installed php via apt, you can find the missing packages via apt as well [15:37:44] I used php 7.2 and installed it, where do I get the full packages?? [15:38:31] they'll be named something like php-mbstring [15:38:42] did you install php via apt or did you compile it yourself? [15:39:09] I *strongly* recommend installing via package manager instead of compiling/installing it yourself [15:39:10] I have installed it via apt....can you give me the right command please [15:39:23] I didn't think 16.04 had 7.2... [15:39:41] anyway, the packages will be named php-* [15:39:42] I did not compile anything..sorry, I am a newbie [15:39:43] e.g. php-mbstring [15:41:11] I did it already, but I try again.. [15:41:46] sorry, same result.. [15:43:26] restarted apache2, do difference, You are missing a required extension to PHP that MediaWiki requires to run. Please install: mbstring (more information) xml (more information) [15:48:26] in the file .../php/modules/7.1/registry I see mbstring with 0 bits. [15:48:42] felix29: did the "apt" command said it was already installed? or not found? [15:49:19] it did not.. [15:49:35] not what? please be clear in your responses [15:50:09] the apt-get install php-mbstring did not say it was already installed. [15:50:27] what was the output of the apt-get install, then? [15:51:32] Sorry, here is the complete list: Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt: libargon2-0 libsodium23 Verwenden Sie »sudo apt autoremove«, um sie zu entfernen. Die folgenden zusätzlichen Pakete werden Installiert php7.1-common php7.1-mbstring Die folgenden [15:54:23] felix29: the text was cut off, try pasting it here http://dpaste.com/ [15:58:33] Which is the most secure and functioning installation procedure for mediawiki on linux ubuntu or mint? [16:00:40] hire a professional sysadmin [16:03:55] felix29: https://www.mediawiki.org/wiki/Manual:Installation_guide [20:50:38] If I don't want anyone to view any of the content unless they're logged in, is it enough to just add $wgGroupPermissions['*']['read'] = false; ? Is there any way the content could still leak ? [20:50:56] that's usually sufficient [20:51:24] although if they're allowed to create accounts, they can just do that [20:51:48] so you may want $wgGroupPermissions['*']['createaccount'] = false; and so you may want $wgGroupPermissions['sysop']['createaccount'] = true; [20:51:55] (only let admins create new accounts) [20:52:14] Yeah, I already disabled account creation as well. [20:52:32] then unless you have an extension with a security issue, you should be fine [20:52:54] k, thanks :) [21:37:52] hi [21:38:07] I have a mediawiki [21:38:21] and I want to install scribunto [21:39:04] and I have mediawiki 1.28.2, how can I know which scribunto version fits to it ? [21:44:37] help [21:48:03] !ask | karbaash [21:48:03] karbaash: Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [21:48:36] dafna: 1.28.2 is an ancient insecure unsupported version. See https://www.mediawiki.org/wiki/Download . Please upgrade for your own safety. [21:49:06] dafna: Use https://www.mediawiki.org/wiki/Special:ExtensionDistributor [21:49:51] help [21:50:50] !ask | karbaash [21:50:50] karbaash: Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [21:53:40] please free my question if anybody who anwser [21:54:08] help please [21:55:36] !ask | karbaash [21:55:36] karbaash: Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [21:55:41] karbaash: Please read. [21:55:51] Nobody can help you if you do not ask a question. [21:58:20] help movies [21:59:26] join [22:01:24] karbaash: Please ask a question. [22:01:43] "help movies" or "join" is not a question. [22:02:39] thanks all of them [22:14:26] karbaash: if you have an actual question, please ask it. [22:14:32] * bd808 sends andre__ some hugs [22:14:58] * andre__ hugs bd808 (who impressed him today) back! [22:15:14] awww [22:17:30] The L.U.V. is around! *rrrrr* <3