[15:09:33] I'm sorry. I'm not good at English so I don't know if I can ask questions well but please ask.... How can I change the page template limits? [15:10:21] I think there are people who understand it, so please let us know. [15:12:41] MediaWiki 1.31.1 PHP 7.2.14 [15:15:53] takasan: which limit - there are several. Generally you can set $wgMaxTemplateDepth to something else at the bottom of LocalSettings.php [15:16:02] !wg MaxTemplateDepth | takasan [15:16:02] takasan: https://www.mediawiki.org/wiki/Manual:%24wgMaxTemplateDepth [15:16:14] !wg MaxPPExpandDepth | takasan [15:16:14] takasan: https://www.mediawiki.org/wiki/Manual:%24wgMaxPPExpandDepth [15:16:30] !wg MaxPPNodeCount | takasan [15:16:30] takasan: https://www.mediawiki.org/wiki/Manual:%24wgMaxPPNodeCount [15:16:48] !wg MaxGeneratedPPNodeCount | takasan [15:16:48] takasan: https://www.mediawiki.org/wiki/Manual:%24wgMaxGeneratedPPNodeCount [15:19:32] I can not keep much English, but thank you. [15:24:03] I want to increase the templates that can be placed on a page. [15:24:52] I'm getting an error, so I checked it and it seems that I've exceeded the limit [15:38:41] see the links above [15:44:11] I tried writing to LocalSettings.php but it was useless. $wgMaxPPNodeCount = 2000000; $wgMaxGeneratedPPNodeCount = 2000000; [15:45:10] 間違っていますか? 返信が遅くて申し訳ありません。 [15:45:16] Is it wrong? Sorry for the late reply. [15:52:46] why was it useless? [15:52:55] what's the exact error? [15:53:04] what's the exact number of templates? [15:54:01] There's a number of different template related limits, we'd need to know the exact one to tell you for sure what you need to put in LocalSettings.php [15:54:11] If you can link to us to your wiki, that could help [15:56:35] could also be expensive parser functions limit [15:58:13] NewPP limit report Cached time: 20190326155546 Cache expiry: 86400 Dynamic content: false CPU time usage: 1.047 seconds Real time usage: 1.055 seconds Preprocessor visited node count: 3123/2000000 Preprocessor generated node count: 306870/2000000 Post‐expand include size: 36/2097152 bytes Template argument size: 0/2097152 bytes Highest expansion depth: 4/40 Expensive parser function count: 0/100 Unstrip recursion depth: 0/20 U [15:58:45] So none of those limits are listed as being reached [15:58:48] I made a mistake. This is not true [16:03:19] http://test.ota.wiki/%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:%E5%9C%B0%E5%9B%B3%E3%81%AE%E3%83%86%E3%82%B9%E3%83%88 [16:05:49] {{# tag: mapframe | { "type": "FeatureCollection", "features": [ {{#if: {{{A1-1 |}}}} | { "type": "Feature", "properties": { "title": "[[{{{A1-1 |}}}]]", {{#if: {{{A1-1 (pin) |}}} | "marker-symbol": {{{{{A1-1 (pin) |}}}}} | "marker-symbol": " circle-stroked "," marker-size ":" small "," marker-color ":" # ff0000 ",}} {{#if: {{{{A1-1 (Photo) |}}} | "" description ":" [16:06:10] I use this more than once. [16:08:03] the page you linked loads fine for me; I don't see any error message [16:08:32] I don't see a problem on http://test.ota.wiki/テンプレート:地図のテスト either. [16:09:49] I get an error when I try to add more templates. [16:09:57] please link a page showing the error [16:10:54] Error: Wikimedia\Rdbms\DBQueryError [16:12:02] I get an error when I add a few templates. [16:12:17] is that all the page says, does it have any other details? [16:12:38] if it is long (more than 3 lines), please copy/paste into https://dpaste.de and then give us a link to that site [16:13:00] rather than copy/pasting here (our anti-spam bot will get upset if you do) [16:14:14] I see.. thank you [16:18:39] https://dpaste.de/OdmM [16:19:08] I use this more than once. [16:20:48] The number of templates is full or can not be added any more. [16:21:53] https://dpaste.de/Lwi6 [16:22:12] I copied everything. [16:22:52] sorry, I meant copy/paste the error message, not the wiki markup [16:23:52] I see... [16:25:20] [XJpSKiCaVprjpVoQD9FrAwAAABI] 2019-03-26 16:24:12: 種別「Wikimedia\Rdbms\DBQueryError」の致命的例外 [16:26:22] is that the only line you see in the error message? [16:26:38] The added template is displayed below [16:26:50] ok [16:27:13] try adding $wgShowExceptionDetails = true; to your LocalSettings.php and try again [16:30:26] Is useless. I get the same error. [16:35:12] [XJpUnVPfEASAdiizyuutKQAAAA4] 2019-03-26 16:34:40: 種別「Wikimedia\Rdbms\DBQueryError」の致命的例外 [16:43:38] It was useless even if it added $ wgMaxPPNodeCount = 2000000; wgMaxGeneratedPPNodeCount = 2000000; [16:45:28] Set $wgShowExceptionDetails = true; [16:48:25] I added to LocalSettings, but the same error. [16:49:28] DBQueryError might mean that update.php has to be run [16:58:58] I tried php maintenance/updateArticleCount.php [16:59:55] update.php, not updateArticleCount.php [17:01:10] OK.. I try it [17:30:56] I'm late. PHP has been updated from 7.2 to 7.3. But I get an error. [17:37:28] !ask | takasan [17:37:28] takasan: 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. :) [17:41:15] Maybe the template in the page is full and can not be added any more. Do not know the solution? [17:41:28] https://dpaste.de/Lwi6 [17:43:59] [XJpi1kvFLPHiqTlwFd8FaQAAAAA] 2019-03-26 17:35:19: 種別「Wikimedia\Rdbms\DBQueryError」の致命的例外 [17:44:32] takasan: see what was written exactly 60 minutes ago here: "Set $wgShowExceptionDetails = true;" [17:44:43] Nobody can tell if you do not provide a stack trace of that exception. [17:46:24] There is also an error adding "$wgShowExceptionDetails = true;" [17:48:15] takasan, what does that mean? [17:48:23] takasan, again, we cannot guess. Please be clearer. [17:48:35] "an error" does not help anybody here. It's as vague as possible. [17:50:07] !debug | takasan [17:50:07] takasan: For information on debugging (including viewing errors), see https://mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging Also see https://mediawiki.org/wiki/Manual:Errors_and_symptoms [17:54:43] Thank you. I will study again and come back [18:28:50] I want to ask you one more thing, Preprocessor generated node count: 304134/1000000 Why can't this exceed 305000? [18:29:01] I tried it on other wikis I own but it was useless. Is there a problem with PHP or DB? [18:30:32] takasan: presumably you are hitting one of the other limits [18:31:37] https://dpaste.de/ONwi [18:40:07] Which one? [18:41:27] Is it not listed here? [18:57:31] right, you aren't hitting parser limits at all [18:57:35] your issue is due to something else [18:57:41] which is why we keep asking you for stack traces [21:18:45] Hi! [21:19:06] I found an interesting problem while trying to update to mediawiki 1.31.1: [21:19:44] update.php fails at "Adding ipb_id field to table ipblocks" [21:20:00] cboltz: Using mysql/mariadb? [21:20:05] yes [21:20:14] Is there a more specific error? [21:20:54] but it tries to alter the table specified in $wgDBmwschema (which is meant for postgres AFAIK [21:21:19] Wait, ipb_id, that's super old [21:21:20] https://www.mediawiki.org/wiki/Topic:Uf63mplrzzuxz0it [21:21:23] https://www.mediawiki.org/wiki/Topic:Ugajh9p9teiaqa9d [21:21:28] https://lists.wikimedia.org/pipermail/mediawiki-l/2018-September/047615.html [21:21:43] oh, *sigh*, that's still a thing? We really need to get another release out [21:22:08] Just delete $wgDBmwschema from LocalSettings.php [21:22:52] that helped :-) - thanks! [21:27:50] I hit another problem [21:28:10] I have the mediawiki sources stored in /usr/share/mediawiki_1_31 [21:28:17] and in my webroot symlink to it [21:28:44] this worked with 1.27, but 1.31.1 tells me "LocalSettings.php not found" when I open the wiki in the browser [21:36:38] "great" - if I error_log(MW_CONFIG_FILE) in includes/WebStart.php, it gives me /usr/share/mediawiki_1_31/LocalSettings.php [21:36:52] needless to say that this is _not_ the expected path... [21:37:00] any idea how to fix that? [21:44:47] grep to the rescue ;-) [21:45:10] adding SetEnv MW_INSTALL_PATH /srv/www/wiki in the apache config helped :-) [23:50:27] Nice.