[11:23:52] Hi? [11:25:45] Is there anyone in this place? [11:26:42] !ask| mocheng [11:27:58] mocheng: 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. :) [11:28:36] Do you know Wiki's hidden chat room? [11:42:34] mocheng: No. Probably, because it's hidden :) [11:42:45] :D [11:43:17] OK,thanks [11:43:29] Is there a good blog extension for mediawiki. I found SimpleBlogPage, which seems to be super new. The older version has a lot of dependensies. [11:43:47] https://www.mediawiki.org/wiki/Extension:SimpleBlogPage [11:44:31] heh, cute, a fork of BlogPage [11:44:39] Wow, it's really powerful [11:46:24] I just wanted something simple, not a full forum style page. [11:48:09] pretty sure that for a full-fledged blog solution, you'll want WordPress :) that said, as the maintainer of the original BlogPage (from which that newer thing was forked), I'm curious to hear about your experience with it and its various issues [11:49:31] I have no experience yet. Just started on mediawiki and were looking at adding some blog-like features. What I wanted was more like a time-line wall where I can add non-article stuff, news, etc [11:49:49] Wordpress I don't like :D [12:05:10] ashley: do you have screenshots or examples? [12:17:47] that's a very good question :) alas, nope -- seems that the extension page on MW.org is lacking screenshots and my development/testing wiki (hosted on Wikimedia Labs) has been down for quite a while [12:18:29] I guess I got to try. But given my use case, do you think it would be suitable? [12:47:18] Wikis using BlogPage can be seen here https://wikiapiary.com/wiki/Extension:BlogPage [12:53:38] None of them work :( Most are on some chinese hoster that is offline [13:08:21] Can I use BlogPage without those dependencies? [13:08:46] like Social Profile and Comments [13:09:34] nope, the dependencies literally provide mission-critical features (VoteNY provides voting, Comments provides commenting; SocialProfile provides avatars and "about the author" box's text contents from users' social profiles) [13:11:19] I'll try. The SimpleBlogPage option caused errors so I guess it is still in beta-stage. It's only 3 days old [13:12:57] it certainly seemed to be a bit messy, based on a quick glance at the changes the author did [13:19:21] How come some plugins say to use "require_once "$IP/extensions/SocialProfile/SocialProfile.php";" instead of wfLoadExtension('SocialProfile'); ? [13:25:05] in general, it means they're older; for SocialProfile (and the unrelated [[mw:Extension:CreateAPage]]), it means they're "special" and haven't been converted to use the extension registration system due to technical issues [13:27:04] Forza: an example: https://es.ssbwiki.com/wiki/Blog:Timeman/El_Rinc%C3%B3n_de_Eric_EXTRA_-_Volumen_15?uselang=en [13:29:03] Vulpix: thanks. So, if I get it right it adds the comment section at the bottom and about the author at the top? Looks like a normal wiki page otherwise? [13:30:04] Yes. In fact, the comments section is provided by the magic word that must be present on the page. If you remove it from the page, there would be no comments [13:33:21] I see. OK =) so the BlogPage creates a Blog: namespace and lists everything in there? And ther eis a simple add blog post that does it automatically? [13:35:15] Yes, there's a Special:CreateBlogPost, with a title, the textarea to write the contents, and a bottom section to add categories to the blog post. Then it adds the vote and comments automatically on save [13:39:38] =) OK got it. Thanks [13:40:07] I think I'll simply add a template to create a headline between each section on my main page. Needs to be simple for now [14:21:44] Forza: I think https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki and https://samwilson.id.au/Welcome are the only blogs I follow which run with MediaWiki [14:29:21] Nemo_bis: Thanks. that looks good [19:13:47] hi [19:52:34] is runjobs.php supposed to run by itself? I noticed I had 8000 jobs queued up and I ran it manually and they are all completed now.... but is this something I need to run periodically? [19:52:57] No it's not [19:53:00] !jobqueue [19:53:00] The Job Queue is a way for mediawiki to run large update jobs in the background. See http://www.mediawiki.org/wiki/Manual:Job_queue [19:54:26] so when does the job queue run? [19:54:38] it doesn't [19:54:54] why is adding a page to a category considered a large update job [19:55:06] well, it depends on the value of $wgJobRunRate [19:55:13] also why does that page say mediawiki 1.6 [19:55:18] that doesnt even exist [19:55:27] Yes it does [19:55:38] 1.6 is less than 1.31 [19:55:44] it's 1.06, not 1.60 [19:55:48] oops, i was thinking of it like a decimal number [19:56:07] ok i gotcha [19:56:58] "By default, jobs are run at the end of a web request." <-- what does this mean [19:58:00] Depending on the value of $wgJobRunRate (ie if it's > 0), when the server has finished serving the request, it will execute some jobs from the job queue [19:58:16] so to the client it'll appear done, but server side it'll carry on running [20:00:14] stiv2k: just make a cron job [20:03:43] shouldnt i just want it to run at the end of a web request? isnt that the simplest method [20:05:08] Yes but it adds overhead to your website [20:06:28] It really depends on your website. If it's low traffic, low edits, it might be ok [20:11:49] Yep, true [20:15:55] yeah, its pretty small [20:16:02] Reedy: i dont have $wgJobRunRate defined in my settings [20:16:14] It'll be set in DefaultSettings.php [20:16:19] With a value of 1 [20:17:38] so do i need to set it in my localsettings.php? [20:17:47] if i want it to just run jobs at the end of the request [20:17:53] It already is [20:18:12] it's not in mine [20:18:16] Yes it is [20:18:20] But probably not at a high enough rate, if your wiki does not get much traffic [20:18:33] i dont see it defined in my localsettings.php [20:18:50] [21:16:14] It'll be set in DefaultSettings.php [20:19:41] is that an editable file, or should i re-define it in localsettings.php if i want to change the value, and what value should i use other than 1 [20:19:59] If you want to change it, yes set it in LocalSettings.php [20:20:32] what should i change it to? [20:21:17] our wiki has maybe 50 users and only gets used every couple days [20:23:31] Just add the cron and forget it :D [20:23:47] lol [20:23:51] it's running on windows [20:25:24] task scheduler [20:25:43] I run once per hour [20:26:46] Then I also run gnerateSitemap.php once per day [20:28:05] i had no idea these things required it [20:29:39] Sitemap is not required [20:29:57] It helps search engines [20:50:05] hi guys, is there a maintenance script that can flush parser cache in memcache of a wiki? [20:52:53] I'd hope the one called purgeParserCache.php could do that [20:53:08] it only works with Db parser cache [20:53:32] Shouldn't do [20:53:48] Oh, I see the desc [20:53:59] You can just restart memcached [20:54:41] yeah unfortunately, memcached is shared with other projects and we prefer not to do that [20:55:58] The problem is presumably htat memcached doesn't really do wildcard stuff very well/easily [20:58:37] increment $wgCacheEpoch [20:58:57] https://www.mediawiki.org/wiki/Manual:$wgCacheEpoch [20:59:09] if you're using the default config you can just `touch LocalSettings.php` [21:00:25] mmm, interesting [21:01:04] may I ask if WikiPage->doPurge() would also purge parser cache? [21:05:55] Cat99: yes that looks sufficient [21:06:03] that's only one page at a time [21:06:51] I'm running purgeList.php at the same time. I wonder if I can just upgrade it to do $page->doPurge() in the purgeNamespace() loop [21:58:00] Hi, Im using cargo extension. i have something very similar to foreign key that i use, today im using _ID as the foriegn key, but i just figured out that in each cargo_store (or at east in some cases) the _ID is changed (Just like re-insertion, gets the highest _ID). anything done something similar and can advice? [22:00:28] The actual field that im interested in is a string (and i dont want to use it as foreign key, i guess it will be slow on joins)