Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Module talk:Lockbox

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Module talk:Lockbox/sandbox)
Latest comment: 5 years ago by MSGJ in topic Scribunto API and cascading protection

Distracting message on Wikipedia:Cascade-protected items

[edit]

@Kephir and Mr. Stradivarius: Is it possible to alter the module so that it doesn't throw up a "Warning: this page (Wikipedia:Cascade-protected items) is not cascade-protected." message while on Wikipedia:Cascade-protected items? The actual content that is cascade protected is on Wikipedia:Cascade-protected items/content, which is transcluded on the previous page so that that page can be edited freely. Jo-Jo Eumerus (talk, contributions) 16:03, 16 March 2017 (UTC)Reply

@Jo-Jo Eumerus: Done in this edit. Everything appears to be working, but let me know if you notice anything strange. — Mr. Stradivarius  talk  03:42, 17 March 2017 (UTC)Reply

Expensive function count

[edit]

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. Anomie 13:02, 26 February 2019 (UTC)Reply

Scribunto API and cascading protection

[edit]

@Mr. Stradivarius: According to 770715327, your (most recent) 2017 edit:

	-- 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.

This is not true and was not true in 2017 when the edit was made. In fact, mw.title objects have had a field named cascadingProtection since gerrit:132730 by Jackmcbarn (talk · contribs) was merged on 2014-08-13 and released as part of MediaWiki 1.24 on 2014-11-26, only a few months after {{CASCADINGSOURCES}} was introduced in MediaWiki 1.23 on 2014-06-05.

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. —Uzume (talk) 07:00, 22 June 2020 (UTC)Reply

@Uzume: If it wasn't in the Scribunto documentation, then that's probably why I missed it. If you want to switch to the Scribunto API (or just to fix the comment), you're more than welcome to submit an edit request. Best — Mr. Stradivarius  talk  10:10, 22 June 2020 (UTC)Reply

Protected edit request on 26 July 2020

[edit]

Please make these changes, per the above. Jackmcbarn (talk) 21:46, 26 July 2020 (UTC)Reply

 Done  Martin (MSGJ · talk) 14:37, 2 August 2020 (UTC)Reply