Talk:NewPP parser report
Add topic| This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
Complications: field?
[edit]I have updated the data section of the PP parser, however, I can find no data on the "Complications:" field here or on the wiki. I thought it may have been the Linters, though I have dispelled that thinking. Any pointers? — billinghurst sDrewth 01:52, 4 November 2021 (UTC)
- fwiw I can see the reports in https://doc.wikimedia.org/mediawiki-core/1.34.0/php/Parser_8php_source.html though we don't apparently state purpose there, and I cannot find when we introduced it into the code. — billinghurst sDrewth 02:58, 4 November 2021 (UTC)
- The "Complications" item is added in the
makeLimitReport()function, with contents generated viagetAllFlags(). The information thatgetAllFlags()returns is in turn defined viasetFlag()(though that's tagged as deprecated in favor ofsetOutputFlag(); your guess is as good as mine for why the deprecated function would be used here). I don't know what callssetFlag(), or with what values, or when any of this was added. Poking around some on Phabricator, this field has existed since at least November 2019 (per this comment), but I couldn't find any mentions of it beyond incidental inclusions in copy-pasted NewPP output. - EDIT: looking around on en.WP, I also found this mention in August 2019, which pushes back its introduction a bit more.
- I know this isn't much, but it at least narrows down some when it could've been added, and maybe it'll help you out a bit. 「ディノ奴千?!」☎ Dinoguy1000 03:03, 4 November 2021 (UTC)
- @Aaron Schulz: I am told that this is part of code that you introduced. I am still hunting up the MW version and whether there is phabricator to hunt down the background. Thanks. — billinghurst sDrewth 23:38, 7 November 2021 (UTC)
- though that doesn't explain it to me and still looking for the phabricator ticket
Parent: 7faa7a74 (Factors out permissions check from User into PermissionManager service)
Author: Aaron Schulz <aschulz@wikimedia.org>
AuthorDate: 2019-05-29 10:55:57 -0700
Commit: Aaron Schulz <aschulz@wikimedia.org>
CommitDate: 2019-05-29 10:58:56 -0700
- parser: list the vary-* flags in the NewPP report HTML comment
- Change-Id: I5a4afba2bfdb5b5b56ba0a01ed8ff444a67fbb1a
- Can see a particular addition at gerrit:c/mediawiki/core/+/519352/ for "vary-page-id"
parser: add speculative page IDs to use with 2151868 This works similarly to speculative rev IDs with 7183680. Re-parses can be avoided if the page ID is correctly guessed. Also make the 0 parser function set vary-page-id. Bug: T226785 Change-Id: I0b19be45e6ddd6cde330bfcd09d243e4e5beda01
- which leads me to
- which seems to have a string of vary-* messages
- See that the messages have been shifted to their own file in later version
Unstrip size limit
[edit]I would like to increase the Unstrip Size Limit of my wiki to eg. 10MB. Is there any way to do this? I don't mind going into MW core if it's just a variable that needs to be changed.
Many thanks Makertrainer (talk) 08:39, 21 March 2022 (UTC)
What the lines mean.
[edit]A note in the page reads
See w:Wikipedia:Template limits for details on what the lines mean.
but this is incorrect.
On the linked page, an explanation of the meaning of the lines is nowhere to be found (just for the records, I was interested in details on CPU time usage and Real time usage).
So can someone point to the correct page where an explanation can be found, so the link can also be corrected? Luca Mauri (talk) 09:01, 2 July 2022 (UTC)