[09:33:28] Hello. [09:33:51] I can use any bot inactive in my own MediaWiki with Spanish Wikipedia imported??? [09:34:32] Taichi: why not? [09:35:43] gry So, yes or no??? [10:25:20] Hi [10:26:11] I am trying to change the bottom links "Privacy Policy" and "About". Is it possible to rename these or add more links like "Terms and Conditions" ? [10:26:39] I tried to add what is described here but there isn't any change. https://www.mediawiki.org/wiki/Manual:Footer#Add_links_to_the_footer [10:29:29] Oh I had to actually create the pages first. All sorted :D [11:37:18] Hi there! [11:38:50] Mediawiki with MantisAuth plugin... doesn't see php_api.php, which in /htdocs/core [12:12:00] PHP Fatal error: require_once(): Failed opening required 'php_api.php' (include_path='/srv/www/htdocs/wiki:/srv/www/htdocs/wiki/includes [12:12:19] where can I change include_path... ? [12:38:34] AlexeyX: php.ini, but usually having to change it manually means something is seriously misconfigured [13:17:36] tgr, I added MantisAuth.php to extensions... and now mediawiki wants php_api.php form mantis includes... [13:17:40] from* [13:19:24] that sounds like an unhealthy way to authenticate [13:20:00] I'm guessing it tries to share sessions between MW and Mantis which would not work reliably even if it did find that file [13:20:52] Auth_MantisBT [13:20:52] Auth_MantisBT is an extension for MediaWiki 1.27 and up which logs-in users into mediawiki automatically if they are already authenticated by a remote source. [13:20:53] anyway, http://www.geeksengine.com/article/php-include-path.html [13:22:24] thank you... maybe I use old version of extenstion... [13:23:26] Noting MW 1.27 is rather old [14:47:27] Reedy: 1.27 was when AuthManager was released; there hasn't been any major change to authentication since then. So it's pretty common for auth extensions to specify their compatibility like that. [14:47:46] Many other things that can have broken by then though [17:37:09] Hello. I just moved my mediawiki to php-fpm and now I get /index.php?title=Main_Page instead of /index.php/Main_Page What do I need to change to adjust this? [17:39:22] Forza: see https://www.mediawiki.org/wiki/Manual:Short_URL [17:46:17] Majavah: not helpful unfortunately [17:46:30] Just don't see the difference between php-fpm and mod php [17:48:49] mod_php and php-fpm handle the "which file should I execute" part differently [17:48:50] The weird thing is that I can use the original url domain.com/index.php/page just that all links on the page contain index.php?title= [17:49:12] so it seems more a config thing in mediawiki than php [17:49:38] can you try setting $wgArticlePath = '/index.php/$1'; in LocalSettings.php [17:53:50] Majavah: that fixed it! Thanks [17:54:41] Still new to this [17:54:56] happy to help [17:55:38] I see on many wiki sites that they have breadcrumbs like page -> subpage -> article. What should I be looking for to get to that? so far I have looked at categories [17:55:51] like this, https://wiki.tnonline.net/index.php/Category:Btrfs [17:56:18] what do you mean by "page -> subpage -> article"? do you have any examples? [17:56:55] https://www.mediawiki.org/wiki/Extension:BreadCrumbs2#Navigation [17:57:08] It shows: MediaWiki.org > Extensions > BreadCrumbs2 [17:57:24] You'd need an extension [17:57:37] It's not a feature MW has in it [18:02:19] I got that extension installed but couldn't understand how to organise pages to chieve that. It isn't important. I think categories might be the better choice for what I intended [18:03:33] Thanks for your help. I need to have some supper. =) [20:11:39] hi all [20:11:51] while doing the following: php dumpBackup.php --full > "/wikifolderbackup/wiki-dump-$(date +\%d\%b\%Y-\%H\%M\%S).xml" [20:12:19] i am getting this: PHP Warning: mysqli::query(): MySQL server has gone away in /wiki/includes/libs/rdbms/database/DatabaseMysqli.php on line 46 [20:12:34] get to around 278 pages exported [20:12:37] Server timeout [20:12:40] there is over 1200pages [20:12:45] and this used to work ok [20:12:52] Reedy yea i see [20:12:56] a request too big? [20:13:00] but not sure how to resolve it [20:13:12] i do this wiki backup weekly [20:13:33] well it has worked since 2017 [20:13:37] you change the mysql server config [20:13:46] only since april this year it started to fail [20:14:02] well i migrated from centos vm to a raspberry pi [20:14:19] * Reedy pretends to look shocked that an rpi is slow [20:14:26] so the overhead i guess too much for raspbery pi 3b+? [20:14:35] heh ya Reedy [20:15:09] i was hopping to tweak the wiki backkup to work, hence asking here [20:16:51] here is my output log: https://pastebin.com/LVyHitfA [20:18:11] and here is the last backup to xml working in april: https://pastebin.com/ZytLntgZ [20:19:03] can i throttle the backups to xml so they're less intensive? [20:19:16] It's not necessarily even about "intensiveness" [20:19:21] OOI, how long does it take before it fails? [20:20:34] And does the warning then cause it to stop completely? [20:21:32] around 5mins [20:21:38] i kick it of at 2am [20:24:43] here is the full log i output: https://pastebin.com/6Qp0RjYq [20:26:19] I'm not just fobbing you off with links, but a few things to look at as per https://matomo.org/faq/troubleshooting/faq_183/ [20:26:29] (I obviously have no idea what settings you have set) [20:29:02] thx Reedy and its doesnt look tome like you are fobbing me off!! thx [20:37:44] think i found soultion here: https://central.owncloud.org/t/mysql-mariadb-optimal-settings-for-running-on-raspberrypi-3-model-b/17004 [20:37:55] i know its wrong channel [20:38:13] but am guessing am not only one using rpi to run their wiki :) [20:38:38] It's a hard one sometimes when there's overlap between projects [20:39:51] I've installed MediaWiki on shared hosting and am trying to implement some form of text boxes on the wiki pages. I tried importing Template:Note and Template:Imbox from MediaWiki.org. Note fails because my shared hosting doesn't support Lua. Imbox import fails with the error `[XwRxR@Nr5h14Jfwnce47zwAATAY] 2020-07-07 12:59:34: Fatal exception of type "Wikimedia\Rdbms\DBTransactionStateError"'. [20:41:38] what do you want text boxes for? [20:41:48] I'd appreciate any help getting simple note-text boxes working on the wiki. Doesn't have to be anything fancy, but I'd prefer something off-the-shelf to creating my own template, though if the latter is less of a time sink, I'm open to it. [20:42:30] ah [20:42:43] not actual boxes to input text [20:42:48] but a frame around some text [20:43:04] Platonides: Right, yes. Sorry for the confusion. Not an HTML form, just call-out boxes for notes and asides. [20:43:10] ok, fine [20:43:14] Template:Imbox also uses Lua [20:43:49] you may better use https://en.wikipedia.org/w/index.php?title=Template:Imbox&action=edit&oldid=568631328 [20:43:57] which was the version prior of switching to Lua [20:45:30] Platonides: Thanks! Will try it now. [20:45:35] wonderer: what do you want those backups for? [20:45:58] a simple mysqldump may be enough to suit your needs [20:47:02] Platonides: Is there a way to specify the particular page version of the template I want in Special:Export? [20:50:12] Platonides well u know the old saying backup,backup,backup!! [20:50:33] and its gotten me out of the S$%&s plenty of times [20:51:34] backing up the wiki is a personal thing, but i migrate my personal knowledge into coprpoaret env where wikis are used for procedures and knwoledge bases etc... [20:52:04] Platonides i use mysqldump as a fallback [20:52:28] the script i wrote in bash does both [20:52:48] sure, you should backup :) [20:52:49] + the media/files [20:53:04] I meant just using mysqldump [20:53:23] the backup xml are more useful for sharing your backups with the world [20:53:40] i think i fell back to xml option on restarores as page link edteting in a sql env was not ideal [20:54:11] at least wit xml import its just raw wiki data that import into new enviornment fine [20:54:24] without worry of broken links to old places etc... [20:54:56] Platonides yes for sahring or in my case like i said, migrations/restores [20:55:27] anyways ive tweaked my cnf thx for suggestion Reedy/all will see if it work :) [20:55:36] * wonderer waits now... [20:55:55] the xml will require you to manually regenerate secondary tables, etc [20:56:06] the sql dump only needs importing [22:14:49] think found a bug in mediawiki search [22:15:17] doing a search for: mysqldump -u root -p -h localhost [22:15:28] try it