[05:03:44] Sweet! Just found this channel [08:22:41] Pretty sure https://www.mediawiki.org/wiki/Help:Templates#Order_of_evaluation is wrong [08:25:22] documentation being wrong‽ never! [08:26:23] I'm trying to figure out if i should remove it, or just delete it. Why does our user facing documentation talk about order of evaluation?! [19:28:18] How to force a page which includes a template to update, given that I have edited the template and the page still shows the previous version? action=purge on both the page and the template does not seem to help. [19:28:27] Do I just have to wait for some random cache to expire? [19:28:37] null edit the usages? [19:28:46] You're potentially waiting for the job queue [19:29:02] Ah. That's what I was missing I guess. So patience. Thanks. [20:23:28] hey [20:23:45] im stumbling over a newbie problem, but cant find an answer. [20:24:05] i want to pass {{PAGENAME}} to a template, and have it evaluated before it gets passed [20:24:11] how do i do this? [20:24:22] the template keeps giving me its own PAGENAME back [20:25:38] includeonly [20:25:48] {{PAGENAME}} [20:28:26] hmm i tried it to pass {{PAGENAME}} from page ABC to Template:DEF, but still get Template:DEF back [20:28:44] Oh, hang on [20:29:01] You're wanting to pass the pagename into the template call? [20:29:06] yes [20:30:07] I think most people would usually do {{subst:PAGENAME}} at the point of template insertion [20:31:02] ive tried that too [20:32:22] wow after hitting edit again it actually changes the code to the pages name [20:32:30] hmm not quite what i expected [20:32:43] well, subst means substitute [20:32:52] fehler_x: {{PAGENAME}} will show the page where the template is included [20:32:57] when actually used on a page [20:33:11] if you watch the template page, it will show the template name [20:33:57] but that's because that's the page you are viewing [20:36:01] Hello [20:36:12] hello Forza [20:36:41] I'm trying to setup mediawiki on my gentoo Linux :) [20:36:44] hmm thanks but im still getting weird behavior [20:36:55] allow me to paste my example [20:37:00] fehler_x: can you show us your efforts? [20:37:11] the page ISINtest [20:37:21] {{Financial Asset|ISIN={{PAGENAME}}}} [20:37:36] the page Template:Financial Asse [20:37:38] t [20:37:52] This is a financial asset with the International Securities Identification Number (ISIN): {{ISIN}} [20:38:10] what i get out [20:38:12] is [20:38:12] This is a financial asset with the International Securities Identification Number (ISIN): Template:ISIN [20:38:27] so it some how uses the template namespace [20:38:35] You're calling the parameter wrong [20:38:40] {{{ISIN}}} [20:38:43] Got so far as to run mw-config in my browser. The problem is that the installer only lists sqlite and not mariadb/mysql. I've got nextcloud installed in another subdomain with mariadb so I'm sure it is installed [20:39:22] Do I need to prepare something to make the installer detect mysql [20:39:28] doh thanks for calling that out so fast [20:39:40] Forza: You need the mysqli extension [20:39:49] so my plan is to return stuff from a cargo table using the pagename [20:39:57] There's numerous different mysql extensions for PHP [20:40:00] anything obvously wrong with that approach? [20:40:11] It's possible nextcloud uses a different one, or its own code etc [20:41:49] Forza: what extensions are listed by phpinfo() ? [20:41:51] Reedy: thanks i.. I thought I had it. Apoarently not :( : --without-mysqli' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--without-unixODBC' '--without-iodbc' '--without-pdo-odbc' '--without-oci8' '--without-pdo-dblib' '--with-pdo-mysql=mysqlnd' '--without-pdo-pgsql' '--with-pdo-sqlite' [20:42:27] Is it dangerous to post php info here? [20:42:44] why would it? [20:42:55] https://wiki.tnonline.net/phpinfo.php [20:43:11] Don't know :) [20:43:11] there are lots of people in this channel, as you can see [20:43:38] but there shouldn't be anything dangerous there [20:44:59] not sure how you would enable mysqli with gentoo [20:45:14] there might be a package for that [20:45:28] or you could need to recompile with different USE flags [20:45:46] Sounds like the latter [20:46:25] I found it. There are two different install flags. mysql and mysqli. I hadn't set the second one. Doing that now and reinstall php [20:46:47] Yes use flag was missing [20:50:44] Thanks! [20:56:04] you're welcome, Forza [20:56:45] :)