A call like mw.uri.new( 'https://www.abc.com:80800/index.html' ) produces a run-time error because the port 80800 is out of range.
A message like the following is given:
Lua-Fehler in mw.uri.lua, Zeile 142: invalid .port
Ablaufrückverfolgung:
[C]: in der Funktion „error“ mw.uri.lua:570: in der Funktion „parse“ mw.uri.lua:142: in der Funktion „new“ Konsoleneingabe:8: ? [C]: ?
mw.uri.new() should not produce run-time errors but should return an error code which can be analyzed by a script.