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:Effective protection level

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia

Pending changes

[edit]

@Jackmcbarn: As part of my work on a {{pp-meta}} replacement I need a function to detect the pending change level of a page. And I thought that this module would be as good a place to put that function as any. I've had a go at adapting the module in the sandbox - let me know what you think. — Mr. Stradivarius ♪ talk ♪ 00:51, 26 March 2014 (UTC)Reply

@Mr. Stradivarius: I've made some adjustments to it. How is it now? Jackmcbarn (talk) 21:19, 27 March 2014 (UTC)Reply
Looks good, thanks for making the changes. Putting pending changes detection in the main function does seem easier. Also, I didn't know pending changes could be activated on a page but not be limited to reviewing by autoconfirmed or reviewer users. You learn something new every day. :) — Mr. Stradivarius ♪ talk ♪ 02:47, 28 March 2014 (UTC)Reply
Well technically, that's one of those things that the software can do but isn't set up to work here on enwp. Anyway, I'm adding it to the live version then. Jackmcbarn (talk) 01:06, 30 March 2014 (UTC)Reply

JSON

[edit]

@Jackmcbarn: It looks like we need to add .json user pages to this module judging from this week's tech news. The protection doesn't appear to be in force yet, though. I think this edit should do the trick - do you see any issues with it? Best — Mr. Stradivarius  talk  11:35, 3 April 2018 (UTC)Reply

I went ahead and made the edit. — Mr. Stradivarius  talk  11:55, 6 April 2018 (UTC)Reply

Protected edit request on 11 September 2025

[edit]

Set MediaWiki:Gadgets-definition and subpages returns interfaceadmin. Dabao qian (talk) 18:35, 11 September 2025 (UTC)Reply

My edit request in zhwiki changes Line 29 to
if title.text:sub(-3) == '.js' or title.text:sub(-4) == '.css' or title.text == 'Gadgets-definition' or title.contentModel == 'javascript' or title.contentModel == 'css' then -- site JS or CSS page
Srapoj (talk) 19:44, 11 September 2025 (UTC)Reply
 Done * Pppery * it has begun... 02:37, 25 September 2025 (UTC)Reply