Content deleted Content added
→Expensive function count: new section |
→Scribunto API and cascading protection: new section |
||
Line 6:
FYI, it looks like the expensive function count thing described in the comment as an "outrageous abuse of Scribunto API" was fixed in December 2014 with [[gerrit:178698]]. [[User:Anomie|Anomie]][[User talk:Anomie|⚔]] 13:02, 26 February 2019 (UTC)
== Scribunto API and cascading protection ==
{{re|Mr. Stradivarius}} According to [[Special:Diff/770715327/prev|770715327]], your (most recent) 2017 edit:
<syntaxhighlight lang=lua line start=47>
-- XXX: there seems to be no way to check for cascading protection using a
-- Scribunto API, so we have to use frame:preprocess with the
-- CASCADINGSOURCES parser function.
</syntaxhighlight>
This is not true and was not true in 2017 when the edit was made. In fact, {{code|mw.title|lua}} objects have had a field named {{code|cascadingProtection|lua}} since [[gerrit:132730]] by {{User|Jackmcbarn}} was merged on 2014-08-13 and released as part of [[mw:MediaWiki 1.24|MediaWiki 1.24]].0 on 2014-11-26.
Sadly, I only just recently added this to the English documentation: [[mw:Special:Diff/3921942/prev]].
Also I believe "extaneous" is misspelled earlier in the same comment block. —[[User:Uzume|Uzume]] ([[User talk:Uzume|talk]]) 07:00, 22 June 2020 (UTC)
|