Use the same PHP library as UrlShortener (endroid/qr-code) to
generate QR codes, rather than the out-of-date JS library.
Bug: T348590
Change-Id: I560ac1b384e249aad1866752deac753c764ec553
- add space char seperators and create groups of 4 chars
- use monospace font
- increase the size of the codes slightly
Bug: T150907
Change-Id: Idb99f48b2d9eae6acacca80be61203ca6404782c
Previously there was a race condition where the qrcode would
not show if the startup module finished loading prior to the
div that should contain the qrcode being loaded. This quite
commonly happened on wikipedia during a hit where js is cached
(But does not happen locally, my theory is that that is due to
how packets get split over the network but not from localhost).
Change it to use a normal RL module, as that seems best practise.
Also do not load the qrcode js on special pages that do not use it.
Finially, remove position:top as its not needed.
Bug: T136988
Change-Id: I5139f222207203d834bdc979b21c1fc94f242ac2
Ignore third party file modules/qrcode.js
Fix the few other errors:
modules/jquery.qrcode.js: line 47, col 10, Missing semicolon.
modules/jquery.qrcode.js: line 63, col 2, Mixed spaces and tabs.
modules/jquery.qrcode.js: line 81, col 10, Missing semicolon.
And clean trailing whitespaces while at it.
Bug: 61617
Change-Id: Ic462b567f1795c1fd5c4db7f7ed89b9b2d4c619e