Replace == operator and other minor fixes

* replaced == operator with equality operator;
* other minor fixes.
makeSelectableInput requires an options object.
Fix: add missing parentheses on multi-exception except clause
Multiple cleanups
Renamed legalpages to staticpages.

The old name has no sense for the upcoming functionalities.

Fixes bug 2826.
spelling fix
update from wiki, remove obsolete ref, link to translate docs
use code-block:: bash, non-inline hyperlink targets