@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
@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)
@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)
This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Set MediaWiki:Gadgets-definition and subpages returns interfaceadmin. Dabao qian (talk) 18:35, 11 September 2025 (UTC)
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
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.