MediaWiki talk:Lag-warn-high

Latest comment: 16 years ago by Gracenotes in topic Include number

Possible change? edit

Due to high database server lag, changes newer than '''{{#ifexpr:<includeonly>$1</includeonly><noinclude>123</noinclude> > 59 |{{#expr:<includeonly>$1</includeonly><noinclude>123</noinclude> div 60 - 0.5 round 0}} minutes {{#ifexpr:(<includeonly>$1</includeonly><noinclude>123</noinclude> mod 60) != 0|and }}}}{{#ifexpr:(<includeonly>$1</includeonly><noinclude>123</noinclude> mod 60) != 0 |{{#ifexpr:}}{{#expr:<includeonly>$1</includeonly><noinclude>123</noinclude> mod 60}} seconds}}''' might not be shown in this list.

Due to high database server lag, changes newer than 2 minutes and 3 seconds might not be shown in this list.

AzaToth 21:11, 1 June 2007 (UTC)Reply

That probably won't work in the MediaWiki namespace. Anyway, I think keeping it with seconds is fine. —Centrxtalk • 21:13, 1 June 2007 (UTC)Reply
As it works on other MW messages, I assumed it works here too. AzaToth 21:14, 1 June 2007 (UTC)Reply
I don't think it will work, though you could just go ahead and test it (nobody will die if the message is broken a few seconds). A long-standing bug prevents the value of "$1" from being passed to a ParserFunction in most (or all?) interface messages. This can be fixed by creating a template which already contains the value; for example, see Template:MediaWiki direct link (documentation). —{admin} Pathoschild 21:16:47, 01 June 2007 (UTC)

Include number edit

{{editprotected}}

I understand that lag is ridiculously high at the moment, and that a special message may be warranted, but could the number $1 somehow still be included, unless there is a very important technical reason to not do so? Thanks, GracenotesT § 02:24, 4 June 2007 (UTC)Reply

It appears that Naconkantari did the above two minutes prior to my request. Never mind. GracenotesT § 02:28, 4 June 2007 (UTC)Reply