Re:RFC: Adopt a modern JavaScript framework for use with Med...
by vorpalhex on Thursday March 19, 2020 @09:48AM
(#22627440)
Page Previews, specifically Hovercards can be implemented in a very simple way with plain JS [^1] and is clearly an enhancement - everything works just fine if hovercards don't load.
But most features on Wikipedia aren't like that, and would be really hurt if you had to a JS bundle or otherwise deal with the usual bloated webapp nonsense. Wikipedia primarily needs to load quickly and be semantic with preferably simple infrastructure to help their budget.
[^1]: See Gwern.net for an example of an easy pure JS hovercard - https://www.gwern.net/DNB-FAQ
Re:RFC: Adopt a modern JavaScript framework for use with Med...
by majewsky on Thursday March 19, 2020 @10:45AM
(#22627947)
Each such feature individually can be implemented in a very simple way with vanilla JS. All such features taken together create a horrible unmaintainable mess. Speaking from experience.
Re:RFC: Adopt a modern JavaScript framework for use with Med...
by enriquto on Thursday March 19, 2020 @09:19AM
(#22627176)
Whatever, but if wikipedia somehow becomes unusable without javascript, it will be a real tragedy.
Re:RFC: Adopt a modern JavaScript framework for use with Med...
by jdlrobson on Thursday March 19, 2020 @12:50PM
(#22629260)
You dont need to be worried about this. Our morales and principles are not changing.
I built the Wikipedia mobile site and there's a reason our hamburger menu, lazy loaded images and editor actually work without JS. We are for everyone regardless of internet connection speed, device value and internet stability.
That's a a hill at least I as an employee am prepared to die on.
- quickly inform on a topic without clicking through (lower latency)
- increase scanability (hence readability)
- decrease expensive whole page loads
- eliminate need to open many tabs
https://www.mediawiki.org/wiki/Page_Previews