[01:32:26] hi there... I am trying to figure out how to include a template that exists locally, ie the template is at the same level as the root page. [01:32:54] Basically the template exists in the local user area [04:37:39] Any ETAs on the time of 1.29 release? [09:44:41] hello? [09:45:56] I am Kim Hyun Khon from the korea [09:46:08] I have a problem [09:46:22] Could you help me? [14:23:58] Hi, I had used media wiki for making a site, I had first built it in a folder, then now I wanted to put it at the root… but immediately, it tries to redirect to the old architecture (http://www.histoire-valenciennes-cahv.fr/mediawiki-1.28.0/index.php?title=Accueil) , how to correct it ? [14:25:10] giby: change $wgServer in your LocalSettings.php [14:25:21] or $wgScriptPath [14:25:30] Thanks, I try [14:25:57] giby: see also https://www.mediawiki.org/wiki/Manual:Moving_a_wiki#Update_the_configuration_file [14:48:22] * Yvette pets MatmaRex. [15:12:27] Thanks MatmaRex ;) It works now [15:24:13] :) [15:24:15] hi Yvette. [15:24:16] I need help getting an email confirmation code sent to my email. I am using the website http://snapwiki.doom.com/index.php?title=Main_Page and can not locate anywhere on the site to contact admin [15:24:53] I get an HTTP Error 500 message. [15:25:16] xSOCCER_MOMSx: i see a message at the top: "This page (http://snapwiki.doom.com/index.php?title=Main_Page) is currently offline. However, because the site uses Cloudflare's Always Online™ technology you can continue to surf a snapshot of the site." so i would imagine that doing anything other than reading the page won't work. [15:27:24] I understand. Any work around or any insight on how I can contact the admin? Thank you [15:31:36] We don't have contact details for other wikis [15:31:44] xSOCCER_MOMSx: i don't know. the links in the site footer point to zenimax.com – try emailing their tech support, maybe they can fix it or point you to someone who can? [20:32:40] Vulpix: hi, I want to start importing process from nth page so I'm trying to add such a functionality. But I did not understand what is happening after this line https://github.com/wikimedia/mediawiki/blob/master/maintenance/importDump.php#L304 [20:33:55] I mean it's calling setPageCallback() function from includes/import/WikiImporter.php but I did not understand how the process works... [20:34:44] mertyildiran: why would you want to do that? existing content will be skipped [20:35:28] Vulpix: I have 271,566 pages currently https://lugat.org/%C3%96zel:%C4%B0statistikler [20:36:23] Importing process some how crashed after 271500 (1.17 pages/sec 1.17 revs/sec) [20:36:52] When I restart the process the number of pages is not increasing. [20:37:09] It slowly starting from 100, 200, 300, .... [20:37:20] It's not skipping to 271500 [20:39:03] I didn't say it wouldn't be slow... it needs to check each revision to see if it exists on the database [20:39:29] it'll be a little more fast than actually inserting the pages, but still somewhat slow [20:40:22] Vulpix: yeah so I have to wait these unnecessary query executions for 1-2 days, it's not good. [20:40:42] you'll have to edit WikiImporter, probably [20:40:54] I would like to skip directly to nth page. [20:41:02] Yeah this is because I'm asking you to some hint. [20:41:31] Could you roughly explain how setPageCallback() works? [20:41:45] !class WikiImporter [20:41:45] See https://doc.wikimedia.org/mediawiki-core/master/php/classWikiImporter.html [20:42:02] setPageCallback --> Sets the action to perform as each new page in the stream is reached. [20:42:34] it will execute the provided method *after* a page has been processed/imported [20:45:29] It's adding the parameters using $this->mPageCallback = $callback; to an instance parameter called mPageCallback if I understand correctly. [20:45:53] So is changing the value of mPageCallback triggering a process? [20:47:35] when a new article or revision is being read from the XML, it calls the "callbacks" defined there to do actions [20:48:44] oh so this by itself starting and continuing the import process then: $importer = new WikiImporter( $source, $this->getConfig() ); [20:49:49] I understand now brilliant. [21:20:14] Vulpix: I have one more question What does wikidb option do in; [21:20:15] php importDump.php --conf ../LocalSettings.php /path_to/dumpfile.xml.gz wikidb [21:20:37] [[Manual:importDump.php]] [21:20:40] @link [21:20:40] https://www.mediawiki.org/wiki/Manual:importDump.php [21:21:05] hmmm, not documented? :S [21:21:18] Yeah I can't see any information there. [21:22:14] apparently this parameter is not used, the script doesn't expect it [21:22:23] maybe it was removed at some point [21:22:26] Vulpix: also I can't see any wikidb string inside importDump.php [21:22:48] Yeah yeah it should be removed [21:22:57] Can I edit that page [21:23:04] Please I want to contribute. [21:23:13] yes of course [21:25:11] Vulpix: I have removed wikidb option from the manual page, thank you so much :) [21:26:42] yw :) [22:17:24] Is there an easy/fast way to download/import a collection of templates like Template:Edit used on wikipedia? [22:18:03] I'm having trouble reproducing the functionality of https://en.wikipedia.org/wiki/Template:Edit in my own wiki [22:20:25] sparr: there is an import/export functionality, whether it's easy is another thing [22:20:27] !import [22:20:27] To import pages a few pages, use Special:Import - you can also import pages directly from another wiki (see !importsources). For mass imports, use importDump.php - see for details. NOTE: when using content from another wiki, follow the LICENSE TERMS, especially, attribute source and authors! [22:20:42] sparr: but if i had to guess, i'd guess that your problem is that you haven't installed the ParserFunctions extension [22:20:45] !parserfunctions [22:20:45] "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [22:29:55] yeah, that's probably what I need