[00:02:24] By everyone! [00:02:28] Thank you a bunch for the help! :D [00:41:46] so wiki software nerds, what is the best wiki software i can recommend to a site that is ranked in the Top60 by Alexa Rankings? [00:42:15] MediaWiki? [00:42:33] It's sort of built to be fast [00:42:54] Then again you came to the MediaWiki channel so I am not sure what you expect tbh [00:43:10] Evaluate your needs and pick an engine that does what you want [00:48:03] yeah but even though we are the ONE wiki-software to RULE them all, we aren't technically the right fix for everyone...some sites 'incoporate' wiki software but i don't think mediawiki can be Incorporated into a site like that.. [00:49:23] There you go [00:49:34] You answered your own question [00:50:13] Or at least you narrowed it down [00:50:16] -MediaWiki [00:53:29] You could just roll your own [00:57:25] yes but we have 'wiki-developers' here , keyword "WIKI" ..so they might know which is the best one to use.. [00:58:10] other wiki softwares don't technically have irc channels/chat rooms or dedicated developers.. [00:59:53] need a wiki software with a spam filter and user contribution listing [01:08:23] https://en.wikipedia.org/wiki/Comparison_of_wiki_software [01:10:03] There is a list of wiki software and their respective features [01:10:32] From this point onward though you will need to do some research to figure out if any of these meet your requirements [01:10:49] nvm, i recommended DokuWiki [01:13:14] Most Wiki developers only develop for one wiki engine I would think [07:10:10] Hi all. I just followed the Short URL documentation and added the apache rewrite rules. Everything works, except the skin and CSS. [07:10:33] I moved the wiki from root to a folder named 's'. [07:11:08] And then added the rewrite rules to point to a wiki like this - http://example.com/s/hello_world [07:11:26] Skin won't load. Please anyone help! [07:21:21] My wiki is installed in folder 's'. These are my rules - # Short url for wiki pages [07:21:21] RewriteRule ^/?s(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L] [07:21:21] # Redirect / to Main Page [07:21:21] RewriteRule ^/*$ %{DOCUMENT_ROOT}/w/index.php [L] Please help! [07:27:15] Anyone? [07:36:25] Console out - GET http://example.com/s/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector 404 (Not Found) [07:36:28] Please. [07:51:41] Fooltuse: Sorry, I don't know anything about this. You might get a better response in ~10 hours. [07:51:55] okay. [07:52:59] Niharika, I figured out a little. The load.php returns 404. [07:53:35] I set the script path in the localsettings, yet no css! [12:58:01] Hi again! [12:59:40] hi [13:10:02] morning [13:14:16] Quick question. [13:14:57] Yesterday I heard that it was bad to support both wfLoadExtension and require_once (by having both name.php and extension.json) in a MW plugin. Why? [13:16:41] Hi DanielK_WMDE! I got the plugin working yesterday. [13:20:07] legoktm: ^ [13:23:15] Choco31415: no, it's not bad - it's necessary to have both, if you want your extension to work with previous versions of MediaWiki. [13:23:34] i.e., it's good. [13:25:30] Ah, okay. That clears things up. Thank you! [15:23:23] I am trying to change the Sign in/CreateAccount links in the personal toolbar. Through an extension, these links have been redirected to my company's sign-in page. I did not create the extension and do not know what to look for to modify the redirect. Can someone help direct me to what to look for to redirect these links? Thank you. [15:50:53] spelledgeary: I would look for the text "login" in the extension code. [15:51:28] ...or, alternatively, if that's the only thing the extension does, you could just uninstall the extension. [15:55:38] Yaron: we need the extension to connect to our own user database. The links are specified in LocalSettings.php and preset links overriden in the extension (I assume). I will explore the extension again and see if something jumps out. Since I am not a Mediawiki dev expert and I didn't write the extension (created by IT in-house, people no longer at company) it has been tricky to locate the problem. [16:36:49] hello [16:37:00] i had a question regarding marking pages for translation [16:37:54] is there a way to make the values inside of an InfoBox translatable? [16:38:09] since marking the page for translation skips the section where the infobox is [16:38:11] http://vaporwave.wiki/wiki/%3F%3F%3F%3F%3F%3F%3F%3F [16:38:16] as an example [16:42:12] I looked around the infobox help page but didn't see anything like this situation [17:11:54] Hello, can anyone please help me with this error? [17:11:58] [0e96ada4] /mediawiki/ MWException from line 1306 of /var/www/html/mediawiki/includes/cache/LocalisationCache.php: Unable to open CDB file for write "/var/www/html/mediawiki/cache/l10n_cache-en.cdb" [17:12:09] Trying to enable cache to speed up the site [17:17:20] AAlex: does the file exist on your server? Are the permissions for the file and its path correct? [17:18:42] permissions are set to 501 and the file does not exist. Does Mediawiki autogenerate the files it needs? [17:20:19] make sure /var/www/html/mediawiki/cache exists [17:20:25] and that the web server can create files there [17:20:33] AAlex: If your file permissions (and not the user ID) are really 501, then nobody can write to that file. See the error message. [17:20:50] folder does exist and and www-data owns that entire directory [17:22:39] ...but with '501' permissions nobody can write to that file. [17:23:15] is there a way to restore the correct permissions to the mediawiki folder? [17:59:43] Struggling with issues. I've got latex, dvips, gs and convert all set up. I compiled texvc and when I run texvc myself it seems to work and produces a PNG file in the specified directory. But when the webserver executes texvc it seems to crap out. Instead of the PNG file, it leaves behind a .tex file in the tmp directory [17:59:54] Must be a permissions issue but I can't figure it out [18:00:27] texvc permissions are -rwxrwxr-x [18:00:32] i just switched to using the new restbase [18:00:42] means i don't have to install all those packages [18:01:14] https://www.mediawiki.org/wiki/Extension:Math#Configuration [18:01:28] enable, set those two parameters, and done [18:02:49] UserProd_ How reliable will this be? Is this an official Wikimedia project that will support other wikis? [18:03:36] i started using it a few months ago and haven't had issues, but I don't know how "official" it is [18:04:47] we are working on making the SVG / mathoid render mode the default [18:06:37] it has been enabled as an option in production for > 1 year [18:10:16] is that formulasearchengine.com a wikimedia project? [18:10:56] UserProd_: Define "wikimedia project" :) [18:11:11] owned by the wmf [18:11:16] Website says it's written by Moritz Schubotz who is an active member of the Wikimedia community. [18:11:20] It's not owned by the WMF. [19:38:00] !2.0 [19:38:00] No, seriously, 2.0. Have a tracking bug: https://phabricator.wikimedia.org/T72000 [19:40:40] but there's nothing to track... [19:40:54] Trying to use the Google News Bar ext and I'm only getting this: UNIQ--googleNewsBar-00000005-QINU. Anyone have any idea? [19:41:17] !QINU [19:41:17] There is no such key, you probably want to try: !uniq, [19:41:21] !uniq [19:41:21] strings like UNIQ7dcd9-example-14c1dc-QINU apprearing in pages are caused, in 99% of cases, by a bug with an extension. The usual fix for that is to use the method recursiveTagParse of the parser instead of Parser::parse [19:43:36] that extension seems unmaintained... you may have more luck finding an embed code for google news and insert it using Extension:Widgets [19:46:07] I'll give that a go. Thank you [20:49:07] is the REL1_27 branch being created today [21:12:36] UserProd_: theoretically yes [21:12:37] also hi [21:14:08] hey Skizzerz [21:14:23] wondering what time so i can start testing on it :) [21:14:32] no idea! [21:32:04] can anyone help me? [21:32:17] I need to convert a template into JSON using the API [21:39:48] anyone? [21:40:44] huh? [21:40:51] what do you mean by "convert a template into JSON" [21:41:33] Skizzerz: if I have https://wiki.cyanogenmod.org/w/Template:Device_hercules, how would I get those values in JSON? [21:41:44] I don't use MediaWiki, I'm trying to scrape another MediaWiki [21:41:49] very carefully [21:42:08] Skizzerz: any idea? I've never used MediaWiki before [21:42:25] templates are simply wikitext, there is no real "structure" to a mediawiki page [21:42:44] you'll need to write some sort of parser to extract the information out of the template call [21:43:04] there might be a way to get mediawiki to do some of the heavy lifting for you, lemme check on that [21:44:10] spudowiar: do you have an example page you're trying to get the data from? [21:44:21] Skizzerz: if I have https://wiki.cyanogenmod.org/w/Template:Device_hercules, how would I get those values in JSON? [21:44:38] that is a template page, what page are you trying to scrape that uses that template? [21:45:24] Skizzerz: I just want all the information from that template, ideally [21:45:47] so for example, https://wiki.cyanogenmod.org/w/Hercules_Info uses that template [21:45:52] ok [21:45:52] that template is what generates that sidebar on the right [21:45:58] yep [21:46:07] scraping the template page itself does nothing for you [21:46:13] you need to scrape the pages that *use* the template [21:46:22] but I just want the plain data [21:46:32] the template page contains layout, not data [21:46:41] the data is in the page that uses the template [21:47:06] Skizzerz: but the template has stuff like `device_codename=hercules` and `device_name=Galaxy...` [21:47:11] Skizzerz: and that's what I want [21:47:42] oh the template is the entire page, not the sidebar [21:47:44] anyway [21:47:57] what I said above is still valid [21:48:09] you can try making a duplicate wikitext parser and get at the info that way [21:48:17] or you can scrape the generated html, the latter is likely easier [21:48:31] is there a function which spits out all it's parameters? [21:48:44] ? [21:49:00] well, the template calls a function [21:49:08] is there one which converts all the params to JSON? [21:49:15] the template calls another template [21:49:24] which probably calls another 4 or so different templates [21:49:32] and so on [21:49:36] is there a template to echo parameters? [21:49:47] you could make one [21:49:56] but that would require editing the page or the underlying template to use it [21:50:00] it's not my wiki though [21:50:06] Skizzerz: I can make the template use it fine [21:50:13] ? [21:50:17] Skizzerz: just do {{device_hercules|function=template_name_here}} [21:50:19] templates are entirely serverside [21:50:21] Skizzerz: but it's not my wiki [21:50:32] https://wiki.cyanogenmod.org/api.php?action=expandtemplates&text={{device_hercules|function=template_name_here}} [21:50:56] anyway, scrape the html [21:51:10] I think it's easiest to scrape the template format [21:51:14] or import that wiki into your own wiki that you do control and mess with the templates so that it simply echoes the argumens [21:51:29] I can't run a wiki for this [21:51:33] I just need the data [21:51:34] scraping the template format requires building up a new wikitext parser [21:51:37] trust me that is NOT easier [21:52:04] if you want to try, go for it [21:52:11] but you'll run into a wall sooner or later [21:52:14] Skizzerz: try this link https://wiki.cyanogenmod.org/api.php?action=expandtemplates&text={{device_hercules|function=}} [21:52:17] look at that template format [21:52:54] that is wikitext, yes [21:53:14] so I just need to extract those parameters [21:53:16] you can probably pull the values from that easily enough with a regex [21:53:24] but those values may only be half the story [21:53:37] the other half you won't be able to know unless you dive down into all the child templates being parsed [21:53:54] Skizzerz: I don't want the rest of the data [21:54:25] then split on | and split again on = [21:54:39] and that'll get you most of the way there [21:55:07] ok, I'll just do that [21:55:11] was hoping for something cleaner [22:09:28] The best I have is https://wiki.cyanogenmod.org/api.php?action=parse&page=Template:device_hercules&prop=parsetree [22:14:03] hehe, just found what I need [22:14:04] https://github.com/nricciar/wikicloth/blob/master/examples/template_extractor.rb [22:14:57] spudowiar: you might also want to look into https://github.com/earwig/mwparserfromhell/ [22:16:43] I have a ~750ms wait on this request: [22:16:45] http://wiki.com/wiki/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector&* [22:16:54] Does anyone know why? [22:18:00] hehe, got disconnected and my logs missed that last link [22:18:04] what was it? [22:18:12] also, what was my quit message? [22:19:08] hello? [22:19:22] Skizzerz: could you quote the last message? [22:21:46] spudowiar: you might also want to look into https://github.com/earwig/mwparserfromhell/ [22:21:49] that one? [22:21:49] thanks [22:21:56] yeah, battery just... died [22:21:58] hehe [22:22:11] anyway, the Ruby one works perfectly since this is for Jekyll