When I click the editor the editor fails to load. It appears to relate to a specific block message and its unparseable (by JavaScript) wikitext. You can replicate this by clicking mobile edit button on https://reading-web-staging.wmflabs.org/wiki/San_Francisco#/editor/0
Expected: It should show a generic toast telling the user they are blocked
More information
Problematic block reason:
"__NOEDITSECTION____NOTOC__↵{| id="mw-blocked-text" style="border:2px solid #000; width:100%; margin:0 auto 6px auto;"↵|↵<div style="width:100%; margin:auto; text-align:center;"><div style="font-size:180%; color:#ff0000;"><br>'''You are currently unable to edit Wikipedia.'''</div>↵'''''You are still able to view pages''', but you are not currently able to edit, move, or create them.''↵</div>↵<div style="margin:auto; width:70%;">↵<div style="text-align:justify;">↵Editing without an account from <ip> is disabled as it is a [[private IP]] range. This is probably a result of a problem with your Internet connection.↵↵You may be able to edit if you [[Special:UserLogin|log in]] or [[Special:CreateAccount|create an account]].↵</div>↵</div>↵|}" id : 0
Error:
VM2867:65 Uncaught Error: Parse error at position 27 in input: __NOEDITSECTION____NOTOC__ {| id="mw-blocked-text" style="border:2px solid #000; width:100%; margin:0 auto 6px auto;" | <div style="width:100%; margin:auto; text-align:center;"><div style="font-size:180%; color:#ff0000;"><br>'''You are currently unable to edit Wikipedia.'''</div> '''''You are still able to view pages''', but you are not currently able to edit, move, or create them.'' </div> <div style="margin:auto; width:70%;"> <div style="text-align:justify;"> Editing without an account from 10.68.16.75 is disabled as it is a [[private IP]] range. This is probably a result of a problem with your Internet connection. You may be able to edit if you [[Special:UserLogin|log in]] or [[Special:CreateAccount|create an account]]. </div> </div> |} at mw.jqueryMsg.parser.wikiTextToAst (<anonymous>:65:430) at <anonymous>:86:262 at fire (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=minerva&version=1oy6i1n:46) at Object.fireWith [as resolveWith] (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=minerva&version=1oy6i1n:47) at Object.deferred.(anonymous function) [as resolve] (https://reading-web-staging.wmflabs.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=minerva&version=1oy6i1n:51:337) at <anonymous>:131:154 at fire (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=minerva&version=1oy6i1n:46) at Object.fireWith [as resolveWith] (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=minerva&version=1oy6i1n:47) at Object.deferred.(anonymous function) [as resolve] (https://reading-web-staging.wmflabs.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=minerva&version=1oy6i1n:51:337) at Object.<anonymous> (<anonymous>:16:410)
Developer notes
This is tricky. I've setup T191939 to fix the root cause of the problem.
In the mean time I think we need to wrap this in a try/catch and default to a standard error message for this kind of block.