Module talk:Effective protection level

@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 woul

Module talk:Effective protection level

Pending changes

@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

@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

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

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.