Content deleted Content added
→Script errors: good |
→Protected edit request on 5 August 2022: new section Tags: Reverted Mobile edit Mobile web edit |
||
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=no}}
[[User:Zuperxiddig1996|Zuperxiddig1996]] ([[User talk:Zuperxiddig1996|talk]]) 12:21, 5 August 2022 (UTC)
|