[02:51:23] Hey guys. I just started up a mediawiki project and was wondering if anyone here had any recommendations for first timers. [05:27:07] Nemo [05:28:12] Nemo_bis: Could you mark these pages for translation: https://www.mediawiki.org/wiki/Manual:$wgDBservers and https://www.mediawiki.org/wiki/Manual:$wgBrowserBlackList [07:57:25] hey guys if i made my wiki a private wiki....do I just edit the Users page to add users? [08:00:00] Couple ways, first one: Make it private, but allow registration. Users must be assigned into a group through Special:Userrights that allows access after approval. Second way: You manually register the accounts and give the details to the people. [08:15:03] Trela: I think the second way is appropriate for me [08:15:06] at least initially [08:15:10] I trust I can change mid stream? [08:15:20] any chance you're a semantic media wiki expert? [08:15:37] Yeah. The first way requires more configuration of user groups and permission levels. [08:16:33] Deep6: I only wish SMW to die in a fire and never be used on this planet again. That piece of software causes 99% of my problems in working with Mediawiki. [08:19:17] Trela uh oh [08:19:27] I just got through a big championing of it [08:19:31] and I'm stumbling on the install [08:20:20] Yep, installing it is a pain. The calls from executives at 3AM because SMW got stuck in an infinite loop and killed an entire rack of servers are fun too. [08:20:20] any chance you're feeling like a masochist? [08:20:29] ugh [08:20:31] What is the exact problem? [08:20:42] well I have a fresh mediawiki installed [08:20:50] (green as grass on that too) [08:20:56] and now I'm at the whole composer bit [08:20:57] never used that [08:21:24] and the page to install is not very prescriptive [08:21:27] Yeah, it uses a non-standard way to install and tends to break a lot. Which, works if you can get composer to work in the first place. [08:21:41] I'm just looking for a means to an end [08:21:49] What operating system are you doing this on? [08:21:52] semantic forms and it's friends on top of SMW [08:21:54] Ubuntu [08:22:38] Go to the Mediawiki root directory on the command line. Type: composer require mediawiki/semantic-media-wiki [08:22:49] Assuming your composer works and nothing screws up it should just work. [08:23:42] *If you user the PHAR style: php composer.phar require mediawiki/semantic-media-wiki [08:24:05] ok let me try [08:24:56] Note, if the install fails or only half installs your wiki will be broken(offline) until you fix it. [08:26:32] ok it's installed [08:26:36] is that how i get forms and all that too [08:26:47] drill etc [08:28:14] More of the same: composer require mediawiki/semantic-forms [08:28:31] also the install looks good...but I probably have to add things to localsettings.php? [08:29:40] With the composer install... Unsure. You might have to do the enableSemantics bit. enableSemantics('example.org'); [08:30:04] ok [08:30:16] so I added semantic-forms [08:30:23] what are the other things recommended? [08:31:40] Start with the base SMW and work from there. Once you find that you have hit the limits of what you can do, then get more extensions. [08:32:45] ok [08:32:49] Might also want Semantic Result Formats and Semantic Forms Inputs. [08:34:51] found a page here telling me all the stuff to install [08:34:51] Most of the sites that I work on that use SMW only use SMW and maybe Result Formats. There is one, maybe two I can think of that go all the way and are very heavily data value driven sites. [08:34:59] https://www.semantic-mediawiki.org/wiki/Help:Installation/Installation_commands_for_Composer [08:35:11] so just running that with a sudo prefix [08:35:14] on the global [08:35:35] That sudo part is a bit scary. [08:36:08] Double check the file permissions when you are done. Accidentally making root flag executable files is a bad idea. [08:36:56] ok I'll chown -R www-data:www-data the whole directory [08:40:10] ok so I broke mw [08:40:19] it's complaining about running the update script or somethin [08:40:22] https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script [08:40:49] php maintenance/update.php [08:40:54] On the command line. [08:42:04] ok looks like that's fixed it [08:42:26] so I just felt an earthquake..... for the first time [08:42:49] interesting feeling...glad I got that out of the way...I get the full experience of Peru! [08:43:40] Trela: ok so I have nothing seemingly to indicate that SMW is installed on my mediawiki [08:44:14] Moment, brushing teeth. [08:44:43] example.com/Special:Version [08:46:04] Trela ok, I think I need to do the enableSemantics thing [08:46:18] but the example.com is that just my domain...or is that a reference to a namespace [08:48:19] Your domain. [08:49:00] This is an example with SMW enabled: http://help.gamepedia.com/Special:Version [08:51:09] ok it shows all the extensions now [08:51:15] so I think I'm good [08:51:45] Nice! [08:51:54] I kind of thought the leftside nav thingy would change [08:52:36] Nope, but you edit the sidebar with this page: /MediaWiki:Sidebar [08:52:43] Otherwise, new utilities will be listed here: http://help.gamepedia.com/Special:SpecialPages [08:52:45] ok [08:52:47] Err [08:53:02] Minus that domain, meant to truncate to /Special:SpecialPages. [08:53:13] ok [08:53:19] the one thing I am concerned about is [08:53:59] like I mentioned I edited the Users link off of the admin users page [08:54:04] so now I have a blank [08:54:33] domain:Users [08:55:13] I probably can not help with that one without a link. However, I do have to get to bed. [08:55:20] ok [08:55:25] If I just want to revert [08:55:28] is that easy? [08:55:42] Yeah, reverting should be easy. [08:55:47] ok [08:56:15] Good night! [08:56:37] thanks so much for your guidance [09:04:50] Hi how can i include script from other website using resouce loader. [09:04:53] please. [09:20:20] Hi, I'm here from GCI. It isn't my first time using IRC but this is still quite new to me! [09:23:08] hello, ryanchia [09:23:40] Hi [11:22:12] are there any plugins for embedding content from git in MediaWiki? [11:40:40] Git2Pages [11:43:04] hello, im ecyoj :) [12:18:08] Reedy: does it update the clone or is that just a one-off? [12:18:17] I've no idea [12:18:20] sorry [12:18:21] We have gigabytes of code, some of which is actively updated [12:18:26] Okay, thanks for the link [12:18:45] It looks like it does git pull [12:20:25] Yeah, it's really simple actually, we should be able to hack it if we need more from it [12:24:20] Lack of caching looks a bit iffy [12:24:28] Well, beyond whatever parser caching it results in [12:24:41] Please feel free to commit improvements back to us :) [12:28:32] Hello! I am new here so sorry if I ask any question that the answer is obvious! [14:17:28] NEED HELP!!! Please PM me if you know how to create a new encyclopedia page [14:20:29] I need someone who knows how to update wikipedia. If you know please PM me [14:20:54] Why do you need someone to PM you that/ [14:21:39] KtuluTamer: If you need help, 1. Don't ask for a PM, and 2. Go to #wikipedia-en-help [14:21:40] I want to add a page for a radio show and a link to that show from the radio's wikipedia page [14:22:09] This is a channel for discussing the software that runs English Wikipedia, and many more websites. [14:22:15] It is not a help channel for one site. [14:22:25] I've been skimming through the help page, but is #wikipedia-en-help a chat server? [14:22:34] No, it's a channel on this chat server. [14:22:39] Type /join #wikipedia-en-help [14:23:17] OMW now, thanks marktraceur [14:24:49] !wikimpediawiki [14:25:03] darn it, what is it [14:25:15] !wikipmediawiki [14:25:15] Confused about the differences between MediaWiki, Wikimedia, Wikipedia and wiki? See https://www.mediawiki.org/wiki/Wikipmediawiki [15:06:32] Hello71: Yeah, doesn't really roll off the tongue, does it? [15:13:35] Howdy all! Silly question, is there any way within the visual editor interface to modify table styles? [15:16:21] Hmm [15:17:19] Ulfr: Looks like not currently [15:17:35] Roger that, just curious. Still choice for editing tables [15:39:11] Hello everyone, shouting out from gci15! [15:39:21] Hello! [15:39:33] hi gallium! [17:19:02] hey guys ! when editing through the api, what happens if the content we send for a page is the same as the content for the last revision ? [17:19:24] Nothing [17:19:27] I think that'd be a nulledit [17:19:36] so what response do we get ? [17:19:50] would it still have success or not ? [17:20:08] (as in "Success" in the json, i mean) [17:20:26] I honestly couldn'te tell you straight off [17:20:29] (and i also plan on asking the same question in #wikidata when editing entities :D ) [17:20:41] Best advice, is to just try it [17:20:46] true [17:21:09] And if it does break something, let us know :P [17:22:05] i think you'll know before i do :D [17:32:03] Hello, any way to have WikiEditor not show Wiki Markup but rather formatted text? [17:32:26] like if i choose h2 i want it to appear as a formatted h2 tag not ==text== [17:32:34] during editing [17:34:23] I like WikiEditor but dont want people who edit to see wiki markup [17:34:39] in fckeditor it displayed as properly formatted rich content [18:11:49] kohyt [18:12:14] isn't here [19:06:49] anyone here familiar with SMW, specifically SemanticForms and SemanticFormsInputs? [19:31:32] Reedy : it broke everything ! (kidding) null edit as expected, returns the revid of the non-null (last) edit with the same content :-) [19:53:48] Hello, any way to have WikiEditor not show Wiki Markup but rather formatted text? [19:55:45] nope :( [19:55:47] !wysiwyg [19:55:47] What You See Is What You Get editors allow you to create articles and see the text formatting without needing to Show Preview. A list of wysiwyg editor extensions may be found at . For some discussion, see . See also . [19:56:02] !visualeditor [19:56:02] VisualEditor is a project to create a simple editor for MediaWiki that would make it far simpler for people to contribute to Wikimedia projects. See also https://www.mediawiki.org/wiki/VisualEditor and #mediawiki-visualeditor channel. [20:37:31] Anyway to use VisualEditor without Parsoid? [20:37:39] I dont have access to my server to install it [20:37:44] bb8r2d2: No, sorry. [20:39:07] Any other alternatives to WikiEditor or VisualEditor then? [20:40:02] There are a few other old WYSIWYG-like editors, but I wouldn't recommend then. [20:40:07] looking for something that works with Semantic Forms [20:42:05] so my issue is i have a perfectly normal working version of Mediawiki that is used by hundreds of people every day and it is on 1.17....apparently FCKEditor doesnt work past 1.17 and all the other editors show WikiMarkup instead of Rich text in the editor [20:42:42] The Audience are not Tech Savvy, essentially its setup so that they fill out a form and enter some free text using the toolbar...as of now it seems that i have no options [20:43:46] I'd like to upgrade to 1.25 but without a working solution im frozen on 1.17 [20:43:46] bb8r2d2: when you say hundreds of people, do you mean that wiki is exposed in the internet? [20:44:17] Vulpix: No it's used as Knowledge Base for out team internally [20:44:29] its running off a Windows Server 2012 and MAMP [20:45:58] ok, otherwise that would be a security issue [20:46:51] still, I found recently a public wiki running MediaWiki 1.5 (!) [20:47:15] that's rock solid software, man [20:47:47] Yeah I've been doing my research scowering the internet for Wiki's running Semantic Forms, checking Special:Version to see what solutions they are using [20:47:57] i've seen quite a few stuck below 1.17 [20:49:20] Im at the point of considering moving to another platform but unfortunately there's really no easy way to transfer the thousands of pages from Mediawiki to Sharepoint or Wordpress [20:53:58] Anyway to export pages as csv? [20:58:22] csv? how are you supposed to export multiple lines of text as csv? [20:58:49] that's only for tabular data [20:59:39] you can export each page as a text file (just wikitext) using one of the maintenance scripts. It exports pages one by one, though [21:01:23] bb8r2d2: https://www.mediawiki.org/wiki/Manual:GetText.php [21:01:46] you can create a text script that use it to export all pages as text files [21:02:20] *a shell script [21:10:31] Thanks! [21:17:17] Hi does anyone know how to load js files from other websites through resouceloader instead of using Html::linkedScript [21:41:06] I have my own mediawiki running on an Ubuntu server. In the past I have created pages with images, but it has been gathering dust for over a year. I've just tried creating a new page and uploading an image. Creating the new page has worked okay, but attempting to upload the image fails with '[b11183e8] 2016-01-13 21:23:00: Fatal exception of type MWException' [21:41:18] !debug [21:41:18] For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [21:41:26] It's probably permissions related [21:42:24] ah maybe I was logged in as 'root User' before [21:42:37] I mean, file system permissions [21:55:45] my /var/log/apache2/error.log has multiple "PHP Warning: fopen(/home/pi/web/wiki/images/lockdir/t8n4lc0iqtpw4e1mf85mmka85hqij3i.lock): failed to open stream: Permission denied in /home/pi/web/wiki/includes/filebackend/lockmanager/FSLockManager.php on line 125, referer: http://pipad.org/wiki/index.php/Special:Upload" [21:56:41] It seems strange that this permissions issue could have just appeared from nowhere. i.e. It was working okay! [21:57:15] Mmm [22:02:48] you could have installed any system update or new software in the meantime... SELinux is known to cause such problems if not configured properly [22:04:11] Yes I found a page related to SELinux https://www.mediawiki.org/wiki/Thread:Project:Support_desk/File_Upload_Error [22:12:25] I'm looking at https://www.mediawiki.org/wiki/Manual:LocalSettings.php#Image_uploads -- `grep wgUploadPath LocalSettings.php` doesn't find anything, but it does contain `$wgEnableUploads = true;` [22:12:54] So it looks like something is wrong maybe, the documentation is saying I need to set $wgUploadPath [22:13:03] But still it is puzzling that it was working [22:13:57] Well, it defaults to [22:13:58] * Defaults to "{$wgScriptPath}/images". [22:16:30] hm `drwxr-xr-x 17 root root 4096 Apr 4 2015 images` [22:22:17] http://ibin.co/2TMUr4AG8442 [22:25:25] pi-: check permissions of wiki/images and wiki/images/lockdir. You gave permissions but not recursively [22:28:47] `sudo chmod -R a+w images` does the trick [22:30:55] thanks Reedy, Vulpix [22:35:53] Does anyone know what the state-of-the-art is for displaying maths formulae in mediawiki? I'm looking at https://meta.wikimedia.org/wiki/Help:Displaying_a_formula which says it is outdated, but it doesn't suggest anything else that is more up-to-date [22:36:11] As far as I can see, I don't need an extension, I just need to set $wgUseTeX = true; in LocalSettings.php. [22:36:34] And then I can put everything between ... tags [22:36:39] https://www.mediawiki.org/wiki/Extension:Math ? [22:36:41] pi-: no, that part *is* outdated. [22:36:46] you need the Math extension [22:36:58] and *then*, you can put latex between tags :) [22:37:06] ah ok [22:37:19] the examples on that page seem to be still correct [22:37:37] Is there no shortcut like $f(x)$ ? [23:14:34] I'm having a hard time completing https://www.mediawiki.org/wiki/Extension:Math [23:14:44] "To see math beyond a plain text output, follow instructions below for enabling various math output modes." [23:14:56] I've got as far as here. [23:15:03] But now I can't see what to do. [23:15:44] Looking on Google, I find https://www.siteground.co.uk/tutorials/mediawiki/mediawiki_math.htm which has an additional step: "Once you've run the command, you need to get the texvc executable from here and upload it to your MediaWiki installation folder > extensions/Math/math directory." [23:16:13] It seems perverse that extensions/Math/math/ doesn't contain this file [23:16:25] It contains other files with very similar names [23:19:13] It looks like I just need that file, if that guide is to be trusted, but the download link is an obnoxious malware site [23:21:47] You should build it yourself [23:22:31] I've just been trying that, looking at https://www.mediawiki.org/wiki/Texvc it says I should run 'make' from extensions/Math/math/ [23:22:38] But that fails [23:22:47] ocamlopt -c util.ml [23:22:47] make: ocamlopt: Command not found [23:22:47] make: *** [util.cmx] Error 127 [23:22:56] Think that's out of date [23:25:29] I'm not sure if https://www.mediawiki.org/wiki/Extension:Math is suggesting I need to run my own Mathoid server [23:25:55] I would like to avoid that if possible, last thing I need is an extra moving part [23:28:07] https://www.mediawiki.org/wiki/Mathoid#Ubuntu_package <-- maybe I need to execute these three commands? [23:40:55] http://stackoverflow.com/questions/34779164/display-math-equations-in-mediawiki