Module talk:Page: Difference between revisions

Content deleted Content added
Protected edit request on 5 August 2022: Responded to edit request
m Reverted edits by Athishraj081 (talk) to last version by Redrose64
 
(2 intermediate revisions by 2 users not shown)
Line 22:
::To avoid throwing an error from the module, I have encapsulated the entire main in pcall. This way we can keep using error(), I hope. Thus, pcall at other places becomes unnecessary. <span style="font-family:Segoe Script">[[User:Petr Matas|Petr Matas]]</span> 09:47, 18 August 2018 (UTC)
:::That looks good. To avoid a maze of dependencies I wouldn't call [[Module:Error]] but I agree it has the advantage of being only one place to accommodate any change to how the error class works in the future. In callAssert there is no reason to use mw.ustring.format rather than the more efficient string.format. However, that's unimportant. I was going to add that the error category is now empty but I see that a problem in another module has filled it up again! Keeps me employed. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 10:11, 18 August 2018 (UTC)
 
== Protected edit request on 5 August 2022 ==
 
{{edit fully-protected|Module:Page|answered=yes}}
[[User:Zuperxiddig1996|Zuperxiddig1996]] ([[User talk:Zuperxiddig1996|talk]]) 12:21, 5 August 2022 (UTC)
:[[File:Red question icon with gradient background.svg|20px|link=|alt=]] '''Not done:''' it's not clear what changes you want to be made. Please mention the specific changes in a [[WP:EDITXY|"change X to Y" format]] and provide a [[Wikipedia:Reliable sources|reliable source]] if appropriate.<!-- Template:EP --> -- '''[[User:LuK3|<span style="color:#DC143C"><span style="font-family:Verdana">LuK3</span></span>]] [[User_talk:LuK3|<span style="color:#000080"><span style="font-family:Verdana">(Talk)</span></span>]]''' 12:47, 5 August 2022 (UTC)