There's an issue when using line numbers and editing on mobile devices, see T285204: Can't remove lines with syntax highlight on Android. It's upstream in the CodeMirror library and will probably only be fixed with the new major release 6.x. Until then we should disable the feature for these devices, to avoid any inconveniences for affected editors.
Acceptance criteria:
- Line numbers are disabled for mobile devices on all namespaces ( independent of skin & desktop/mobile mode )
Notes:
- CodeMirror includes a detection for mobile devices that could be used, if using the detection in core is not convenient