Jump to content

User:HungKhanh0106/ProperDisplay

From Wikipedia, the free encyclopedia
User script
ProperDisplay
ProperDisplay disabled (left) and enabled (right)
Author(s)HungKhanh0106
StatusBeta
First releasedJanuary 26, 2023; 21 months ago (2023-01-26)
Version1.1β
UpdatedJanuary 26, 2023; 21 months ago (2023-01-26)
SkinsAll skins
SourceProperDisplay.css
ProperDisplay.js (symlink)

If you have any suggestions on how to improve the stylesheet, or run into any problems with usage, please add a section to the talk page so that they can be addressed.

Infomation

[edit]

ProperDisplay adds rendering support for multiple Unicode characters. It will get rid of weird question marks, boxes, or other symbols in wikipages.

Issue(s)

[edit]
  • It is dependent primarily on Google Fonts and JSDelivr ⇒ when some font server broke or returns a 404 error, the correlating script of that font will also refuses to render.
  • Some fonts included in the stylesheet are bloated ⇒ causes some page to load slower due to high memory usage. partially(?) fixed :)

Installation

[edit]

Add

importScript('User:HungKhanh0106/ProperDisplay.js');

to Special:MyPage/common.js

Global or foreign wiki installation

[edit]

Add

mw.loader.load('//en.wikipedia.org/w/index.php?title=User:HungKhanh0106/ProperDisplay.js&action=raw&ctype=text/javascript');

to m:Special:MyPage/global.js.

Make sure you remove any imports of this script at Wikipedia before enabling global import, i.e. check your Special:MyPage/common.js and Special:MyPage/vector.js that you do not import the script there.