Show HN: I made a modern web UI for Wikipedia
modernwiki.app
modernwiki.app
I made this free browser extension that modernizes the Wikipedia design. I started making this for myself just because I wanted more of a "reader mode" like experience (narrower column, nicer fonts, dark mode etc). Then I got a bit carried away and implemented everything I could think of for a modern redesign of Wikipedia. Hope you like it!
But i am sure there are people who will appreciate your effort. Thank you for your work.
edit: formatting
https://addons.mozilla.org/en-US/firefox/addon/skip-mobile-w...
However, that link is totally in the wrong place, no wonder I could not find it. I just assumed there was no such link/button and always angrily removed the 'm.' from each URL.
A tablet could be easily confused, or a phone in landscape mode, too, but for a phone in portrait mode this seems a bit hard to imagine, because DPI is taken into account when converting the display width into CSS pixels, so even a phone cramming 1080 or 1440 or whatever amount of physical screen pixels into its display width should still come in at something like 300 to 400ish CSS pixels. Or am I misunderstanding something?
Also, many times mobile breakpoints don't look at the device orientation and pick numbers like 800px, to capture landscape orientation on medium sized phones or something (I'm not sure where this number comes from to be honest). This obviously breaks the two windows side by side case on laptops but is a top result for me if you google the arcane syntax for how to target mobile browsers with a media query.
I am not 100% sure what all the pitfalls are with the current interface, but they exist often enough for me to run into them semi-frequently on smaller laptops.
The worst part of this is that simple mostly text sites without a fixed-with layout would look perfectly on mobile if this tag was the default but somehow mobile browser vendors thought it was better to hack around sites with table layouts by giving them a larger viewport (but still inconsitently scale the font sizes so you have to zoom in and out to read different parts).
Once you start with the hack of giving non-mobile-compatible pages a larger viewport in order to not break layouts that react allergic when being squeezed into 300-something pixels, what else do you want to do?
Not scaling font sizes at all just gives you either tiny text (if you zoom out to fit the large viewport onto the small mobile screen) or loads of scrolling around if you display the page at 100 % zoom level instead.
And scaling up all text means you end up approximatively just where you started before you started resizing the viewport. It might not be absolutely exactly the same layout breakage as when squeezing an old page directly into the 300 or so pixels available on a mobile phone in portrait mode, but it will be pretty similar.
So that only leaves trying to scale up only the main body of text (which normally isn't that sensitive with regards to scaling up the font size and therefore increasing its size requirements) and leaving alone smaller bits of text like menus, the page navigation etc., which are more likely to be size-constrained and start causing layout breakage if increased by an extraordinary amount.
The bigger problem is people hiding functionality if you're in the mobile breakpoint. That's an issue: all functionality should be enabled, at least in some way IMO. Mobile should never be a second class citizen :)
@media (hover: none) and (pointer: coarse) {
That allows the dev to select for devices that do not have a mouse and such rely on touch targets, to increase the sizing. I've been implementing this myself recently in our web application, while still allowing us to change the layout to fit the narrow width!I'm sure there are some devices it doesn't fit perfectly for though. This stuff is capital-H hard.
You mean quote-unquote Hard?
The implementations for these have some... complications, the device sets we now deal with are huge, and making sure there are no idiosyncratic bugs that creep up when using them is legitimately a fair bit of work.
It's not, is the thing.
I have a 23 inch screen for my 1080p screen. My phone has a 6ish inch diagonal.
When I make a window 960 x 1080, that's still something like 10 inches across and 11 inches tall. It's sheet-of-paper sized. I'm perfectly comfortable reading that as it was designed for a desktop layout.
Do you sit as close to your monitor as you hold your phone?
Phones are far taller than half of a 1080p screen.
Half a monitor is: 960 x 1080, or 1:1.125 A iPhone is: 828 x 1792, or 1:2.164
So websites tend to shove a candybar shape into a nearly square sheet of paper and waste a lot of usable proportions for things like controls or hamburger menus.
But, at least as far as I approach media queries, if you've triggered the mobile breakpoint (well, default CSS as mobile-first is the way we approach it), its because the desktop design we've used literally will break on a browser window that narrow.
I really, REALLY prefer desktop mode for almost everything, relying on pinch to zoom.
It shouldn't, because with proper reactive design therre are no "mobile" and "desktop" versions but only one version that adapts to the viewport size. If you want a larger viewport that should be solved at the browser level by providing the website with a larger viewport. Seems firefox behaves this way while chrome does something weird that increases the viewport a bit but then still "intelligently" scales some text.
I agree that you should prefer flow and size-to-fit but that does not mean that break points are never the right tool.
I agree, although in the case of Wikipedia the "mobile" design is actually the one that is responsive. I want the "mobile" design on all browsers including my desktop. I believe you can actually set your default theme if you're logged into Wikipedia, but I don't know if their cookies eventually expire or what, but I often end up clicking on Wikipedia links and getting the awful "desktop" design.
All of this is just to say that, yes, they shouldn't use separate "m." URLs, but it's just as wrong to get upset at mobile users sharing "m." URLs as it is to get upset at desktop users sharing URLs without the "m." Arguably if you expect all users to always share the most versatile URL, you should expect them to always share the "m." URL since it has a responsive design.
Also the mobile site might be more responsive in the sense that it better scales down to narrower viewports but it does not scale up to make use of larger viewports by e.g. bringing back the sidebar and other links that are hidden behind dropdowns. That's a problem with many mobile-first designs - in reallity they are mobile-only designs.
They used to just put "?s=19" through "?s=22" or so, which enumerated clients (desktop, mobile, Android, etc), which was better than the junk most other services stuff in (like utm_source and friends...)
You may find humour in the comically small "desktop" link at the very end of the page, next to the privacy policy.
On a phone, the mobile Wikipedia is perfect tho.
// ==UserScript==
// @name Redirect from mobile wiki to desktop
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://*.m.wikipedia.org/*
// @grant none
// @run-at document-start
// ==/UserScript==
window.location.hostname=window.location.hostname.split(".")[0]+".wikipedia.org";I’m career military and the fact that Wikipedia (and Facebook) have low bandwidth m.* redirects made life immensely easier on the limited internet in far off places. We really appreciated it being available.
https://en.wikipedia.org/wiki/Yugoslav_gunboat_Beli_Orao - 913.39 KB / 298.41 KB transferred
https://en.m.wikipedia.org/wiki/Yugoslav_gunboat_Beli_Orao - 919.43 KB / 270.18 KB transferred
Not much of a difference. Would be better to spend time optimizing the desktop site for everyone.
If "new" were to become the only way to access Reddit, I would probably abandon it.
That might have been their goal?
Although I detest having to use apps for every site. The Reddit app is also super buggy.
And even then, browsing /r/popular is just awful. Elimination games. People blatantly asking for personal information from teenagers. "Tell me your favorite X and we will judge you" Dumb NSFW 'questions'. Repost bots for content from years ago. Misinformative titles. "Unpopular opinion" threads.
It's a mountain of trash to wade through to get any decent content.
Watching many of those short anger-inducting videos can make even a calm person change. The sort of stuff Reddit PMs have signed off on in the name of engagement is despicable.
I can suggest wiby.me 's random button to discover new sites with modern opinions.
disclaimer: I run lemmy.pt and use the platform on a daily basis
Although other changes might have made things better, like changing how default subreddits work (although this applies to new and old reddit).
With the exception of a few subreddits that have made explicit rule changes (either encouraging or discouraging memes), I haven't really noticed a significant long term trend in meme-posting within subreddits.
On mobile you seem to need to do old.reddit.com every time.
Never installed the app on mobile.
The chasing left side TOC is really useful. The typography is slightly fancy without trying to be in your face.
The search (kbd /) is nice too.
I'd motivate the author to experiment with more stuff around accessing categories and hyperlinks in the page.
I like it!
Fortunately this is pretty simple to disable with Greasemonkey (also 's' on github, though the userscript doesn't seem to work on Gitlab...).
Chrome plugins add more unwelcome startup bloat to the web browser, and while they are super useful to fix the UI issues of commercial, copyrighted websites, Wikipedia can totally legally be replicated at another domain.
Also just like with open source projects, just because you are allowed to fork does not mean that you should as you could end up hurting the original project by e.g. confusing users.
This is exactly how CSS and HTML were intended to operate and the kind of results to be expected.
> But i am sure there are people who will appreciate your effort. Thank you for your work.
How is that called ? A complimentsult ?
Actually, I'm wrong. It looks like they FINALLY added it less than a week ago.
Took them long enough.
I miss the Encarta encyclopedia content/design. I wish Wikipedia could get to that level of content quality. The multimedia and interactive articles were way ahead of its time and were only partially matched by some Flash-based interactive animations.
I'm not sure I like it. The better line width is really welcome, but I'm tad uneasy about the rest. And as far as I can recall, it doesn't have a dark theme (yet).
You don't need 20MB React bundles to make a good-looking website, and OP proves that perfectly
That being said, I want someone to do the opposite of what this does. Less chrome, less bytes over the wire, less predictive search, less "flatness?", less timely, more timeless.
I miss windows having borders. Just dug up a registry hack (obscene that such a thing was needed) to force win10 to have window borders again, because I keep ending up in situations where I honestly couldn't tell where one ends and the other begins.
They spent decades researching and building interfaces with visual cues, and we spent decades tuning our reflexes to them. Then some whim of fashion decided that hiding all those cues was "smoother", and I want to choke someone.
For anyone curious, MS has a useful summary of how this works here: https://support.microsoft.com/en-us/windows/snap-your-window...
I never knew what windows called it before, so there was no way to get rid of it in settings.
The settings pages aren't that big. You could read through it all in 5 minutes. Did you look? I mean sometimes things are annoying and you just can't be bothered to dig around to find the thing that turns it off, but at least in this case, it's easy:
Settings > System > Multitasking > Snap windows
Out of curiosity, I just opened Windows 10 Settings. I see sixteen top level options. I opened the first one and it had 16 submenus, the first of which is two pages tall and has 8 additional settings links from it. Of course, Control Panel is also a place it could be hiding, and it's even bigger.
So, no. One does not simply click on every single thing in settings hoping to find the annoying thing that Windows is doing today that you don't have a name for.
Typing "Snap Window" into search narrows it down to three, which makes it possible to accomplish.
Thanks again to the GP for enabling that.
you don't have to read every last word... you are just trying to get a vague feel for what is in there.
takes 5 minutes, max.
Even if it selects all the right elements, syntax highlighting doesn’t work which is an issue for me since a lot of the articles I read involve code.
These are issues with every reader mode I’ve tried – iOS Safari, iOS/desktop Firefox, desktop Chrome.
I wish there were a standard CSS media type that sites could implement, like `@media reader`, to help specify which elements should be included and to support things like syntax highlighting.
A very long read but this covers everything:
> How to Section Your HTML
https://css-tricks.com/how-to-section-your-html/
These are specifically important for accessibility users.
Another short read:
> HTML5 sectioning elements, headings, and document outlines
https://www.456bereastreet.com/archive/201103/html5_sectioni...
And you can use Markup Validation Service to validate and get tips:
https://validator.w3.org/#validate_by_input+with_options
Check out the excellent answer by Christian Kohlschütter on how readability works:
https://stackoverflow.com/questions/3652657/what-algorithm-d...
If you don't have an account you can add ?useskin=skinname to end of url to trigger different skins.
E.g. https://en.wikipedia.org/w/index.php?title=Main_Page&useskin... and https://en.wikipedia.org/w/index.php?title=Main_Page&useskin...
your eye needs somewhere to rest
There is a big difference between newspaper columns and web whitespace. The former are more or less uniform and easily seen (I’ve also read newspapers with explicit delineation of separate articles, and it was even better experience). The latter is just chaotic blobs of whitespace, which doesn’t usually even delineate or makes your eyes rest, it makes them lost instead. You can’t see structure, because it is so blobby. Whitespace should only surround the elements which are much more dense and “thicker” than it. Otherwise it will blend into them dissolving any structure.
I think that also has to do with "more white space = more scrolling = more ads".
Reddit is a perfect example of this. When they "updated" their UI to the current one, they added a ton of extra white space which forced people to scroll longer, thus spending more time on the site and viewing more ads. They also use a ton of other dark patterns.
When applied to the web, maybe, yes. But then there are desktop apps, and entire operating systems, designed this way.
I think it has something to do with the phones after all. Everything is "mobile first" these days (to a ridiculous degree — there's a large grocery delivery service in my city that is ONLY available through a mobile app, so they lost me as a customer), so designers have much more experience with touchscreen UIs. Desktop anything feels like an afterthought oftentimes. It's just easier to take a mobile UI, blow it up to a computer screen, or put it into a window, optionally add a dual-pane layout, and call it a day.
That, and the fact how many designers regard the result of their work as a thing in itself, an art piece to be admired, instead of merely a coat of paint on a tool that just helps people get their f-ing stuff done more efficiently and then gets out of the way.
But... that's the opposite of what was asked for. Adding an extension adds more of the bad. A patch for Firefox reader mode would be better in my opinion since the web itself won't become better.
https://encyclopedia.marginalia.nu/wiki-start.html
(I built this mostly for myself, because I find it incredibly difficult to read text that has hyperlinks and images in the text)
Have you considered images just take up full width?
Wikipedia is a pretty big website, and (like the rest of my web presence) I'm hosting the mirror on a single small consumer hardware server. I'm keeping all the wikipedia pages as compressed HTML, and if you look at the sources you'll see it's very bare bones, most pages are like 50 Kb, yet the total is still 21 Gb. I don't think I have the space or bandwidth for selfhosting all of wikipedia's images.
Part of this experiment is to illustrate just how ridiculously large page loads on a lot of pages. Even text-heavy ones like Wikipedia.
If you compare the HTML payload alone of these two renditions of largely the same text, it's a 50x difference. The full Wikipedia page load exceeds 1 Mb, mine isn't even 10 Kb.
https://en.wikipedia.org/wiki/Scamander
https://encyclopedia.marginalia.nu/wiki/Scamander
That's kinda ridiculous.
Have you attempted to convert them to plain text and serve those? Or is there no real savings there?
In part this is because I feel inline links on wikipedia often lets you overestimate how well you comprehend a subject. It's as though the fact that there is a link over a word makes you think you could go check what that is, and therefore that you probably understand the word.
Actually looking up some term mid sentence is also probably not particularly helpful for understanding the text either.
I concede that this is a somewhat unusual decision, but I designed the pages for the singular purpose of reading and comprehending the article. Everything else is secondary. It's a bit of a design experiment, but I think it's worked out pretty well. I don't fall into skim-reading these articles like I must admit I often do with regular Wikipedia articles.
I was actually looking at the footnote links, and those do indeed seem to be missing entirely -- as well as the whole references section. Arguably that's more important than links to "definition" wiki pages, so it forms the basis for the knowledge (vs mostly just definitions).
If you want to look up sources it's better to use the live wikipedia at any rate, since it will be more up to date than this snapshot.
My mirror clocks in at 21 Gb. I'm self hosting so there's no real money cost besides the one-time investment in hardware. A really chap person could probably host this off a raspberry pi attached to something like a Corsair Voyager and serve multiple requests per second.
There's some technical trickiness in actually storing the files in a file system, since most filesystems don't deal well with having millions of files in the same folder. So I've had to build a four-tier directory structure based on the hash of the file name to be able to store the files. They're stored in a structure like 31/444/781/225/foobar.gz.
I did some experiments storing them as BLOBs in a database, but I couldn't get it to work.
The bandwidth usage is pretty inconsequential since most of my pages clock in at just a few kilobytes.
To be honest, while this looks pretty, it’s really just Wikiwand 2.0.
I'm not sure if this is a subtle reference,but one of the major competing skins for wikipedia is named timeless: https://en.wikipedia.org/wiki/Main_Page?useskin=timeless (its often quite popular among people using phones who find the official mobile website frustrating)
I always found it weird and annoying how the table of contents in Wikipedia is a tiny thing jammed at the start. It's so darn awkward to use.
- If the browser window is narrower than about 1024px, there are no margins around the body text and the text width slider has no effect.
- As the browser window becomes narrower, the body shrinks but the contents sidebar doesn't shrink.
- The measure feels a bit small to me. It looks like the body text width is limited to 660px — having a limit is good, but it feels tight, especially when there are embedded figures and infoboxes. You could try making the measure a bit larger, or perhaps letting the figures extend or sit outside the main column of text when the window is wide enough.
- When you turn off the sidebar by clicking the three-bar icon, the sidebar just leaves an empty space instead of providing more space for the body text.
- As the window becomes narrow enough, the search box becomes unusable.
- The page indicators like the "featured article" star, the protection icon, and the Spoken Wikipedia button are missing.
- The home page, talk page, history page, etc. don't respect the typography settings.
- The menu option "View history" is inconsistent with the other options; next to "Talk", "Edit", "Watch", simply "History" would work better.
- When you scroll down, the page title scrolls off the main body, but remains at the top of the table of contents. Somehow this feels backwards to me, and it's not immediately obvious that you have to click the title in the table of contents if you want to see the intro section. Perhaps the page title could be sticky, and the first section could appear as "Introduction" in the contents? Something like this? https://imgur.com/a/kqaNbWo — I'm not sure where to suggest that the page title should go; you might have to try a few options to find one that looks right.
Sorry that turned out to be a long list, but overall the page does look a lot nicer and easier to read and navigate. Hope these ideas are helpful!
[0]https://en.wikipedia.org/wiki/International_Phonetic_Alphabe...
The app supports 4 reading themes, is privacy friendly, includes: truly private reading history, trending articles, a persistent TOC on iPad, on this day in history, language and multilingual support, in the news, random articles, bookmarking and folder-ing capabilities, a way to view Wikipedia articles on an interactive map, a wikitext editor with syntax highlighting, updated article history views (with easy to read diffs), widgets, predictive search (you can even search with emojis if you please) and very soon editing notifications.
We're a small team (1.5 designers, 3 engineers, an engineering manager and a PM) and we're really passionate about making a beautiful and usable experience for readers and contributors on iOS.
I'm the lead designer/design manager and have worked on this project for five years. Commenting just as myself though (thoughts are my own and not the Foundation's), as a person who loves Wikipedia and design and is proud of the work my coworkers have done.
If you're interested you can check the app out here: https://apps.apple.com/us/app/wikipedia/id324715238
I do have a question: Wikipedia on mobile is insanely fast. Much faster than the desktop or mobile site. What media APIs do you use to pull the content for the mobile app?
- Move the search button from the top right (very hard to reach) to the bottom menu (or some other more reachable place)
- When using “auto dark mode”, allow me to choose the not-pitch-black dark theme
Check this out: https://en.m.wikipedia.org/wiki/Chuck_Yeager
It's nicely justified for reading. Superfluous interface is almost entirely eliminated compared to desktop view. It's just such a clean, elegant view for reading a Wikipedia page.
This came up in a recent HN post so I published a user script I had written to automatically switch to the mobile version. You can also switch manually between mobile and desktop with ⌘ + M or ctrl-M. If you've switched to desktop and click on a link, it stays in desktop mode (it would be jarring otherwise if it kept flipping between modes). You can also edit the page with ⌘ + E or ctrl-E (opens in desktop mode since the mobile editor is pretty limited).
Install it here: https://greasyfork.org/en/scripts/431384-switch-to-mobile-wi...
It’s not even close anymore: reading is just so much easier when it’s a narrow column.
Wiki pages are like 95% text to read.
https://www.mediawiki.org/wiki/Reading/Web/Desktop_Improveme...
The English Wikipedia isn't one of the "early adopter wikis" but if you visit, say, the French-language Wikipedia you can see the changes (e.g., different width to improve readability).
A classic article about why: https://infinnie.github.io/blog/2017/systemui.html
In this particular case, it totally ruined the fonts of Wikipedia for East-Asian (CJK) Windows users.
Just in case the article itself isn't convincing enough, below is a list of some websites that have tried "system-ui" and then reverted it semi-immediately:
Facebook/bootstrap, GitHub, Twitter, Stack Overflow...
As for old versions of Windows… well, one should probably look at their target market/user base. If your demographic is firmly Roman western use of system-ui is probably fine — as far as I’m aware, the bulk of remaining users of XP/7 are in East Asia, chiefly China.
So MS should fix this and until then you shouldn't use system-ui.
I don't see any reason to make any effort to support those folks, especially when the font is merely ugly in a cosmetic sense, and not unreadable.
>especially when the font is merely ugly in a cosmetic sense, and not unreadable
Eh, you won't go very far with this attitude in any design team.
Also, anyone who tried to manually craft font-family fallback path are already making effort. You can literally choose to not assign any font. Actually, it probably works better: most of browsers have sensible default (which often times is system font) already.
Actually, "system-ui" doesn't even do anything in Firefox on Windows right now (and it behaves exactly like -apple-system on MacOS), so you shouldn't rely on it anyway.
You can, of course, choose different themes.
But you can also upload custom CSS and Javascript!
Link to image of preferences page - https://ibb.co/Kbfh1QQ
[1]: https://www.mediawiki.org/wiki/Manual:How_to_make_a_MediaWik...
sjdz, the work you have done putting this layout together is awesome!
Narrower columns? Adjust the width of your browser window. Nicer Fonts? Those should be a user preference, not served by website - I see the OP agrees with this... Dark Mode? That should be a function of the DE, or maybe the browser, but not the web site.
Everything about this work says "I want to control the look of web pages on my end."
> "Technically this permission allows observing the history via chrome.tabs.onUpdated, but not read the previously existing history, so the phrasing is not entirely correct, strictly speaking."
https://stackoverflow.com/questions/64063754/chrome-extensio...
To be clear, the extension doesn't access your browsing history at all. The "tabs" permission is just used to find Wikipedia tabs and enable/disable the new design when using the toggle from the browser popup.
The permissions requested (in the manifest.json file) are:
"permissions": [
"tabs",
"storage",
"*://*.wikipedia.org/*"
]
I will change that to "activeTab" in the next update which should fix it.I want WP to solve this with NLP.
[1]: https://en.wikipedia.org/wiki/Wikipedia:Unsolicited_redesign...
Having said that; Reader mode solves most of the above issues.
It might be better to leave it up to users, because it's a very common complaint on many sites where text width is limited.
i have a huge 4k monitor and always open many browser tabs at once, some tabs I don't want the window to be narrow on, and others might be wikipedia
with this when I switch to my wikipedia tab i can just read it and it's very pleasing to the eye
https://en.wikipedia.org/w/index.php?action=edit&title=Speci...
(Note: the theme here was picked at random from MediaWiki's `Manual:Gallery of user styles`, so... I disclaim any implication that it's a good theme. In fact, it must be bad - the link for this theme is to `en.m.wikipedia.org` !!!)
I hope you know that your browser can have multiple windows.
* It seems to constrain the width to something even smaller than usual (800px?). I have 6000px of horizontal real estate, and while it would be mad to let text run to that length, the optimum is not what a phone can do. (I've tried to find out what "native" width is here, but I'm getting full-width no-constraint layouts with Firefox (no plugin, not logged in), 800px with the plugin (Chrome, logged in) and something in between (Safari, logged in).
* It hides links I regularly use behind menus (to the discussion page and version history).
I guess 9x% of people never edit Wikipedia and it might make sense to cater to them. But, then again, I'm not sure if it's the best idea to actively hide the fact that they could contribute. I also don't see as much of a difference to the mobile layout that is planned to slowly become default on desktop as well.
Edit: I found the slider to adjust page width. That's thoughtful!
Things I like about it: * always-visible TOC * it's much easier to parse visually - smaller footnote numbers and many similar small adjustments to font, alignment, etc.
Things I don't mind actually * fixed (smaller) width
Either way, this is the spirit of the web - everyone can remix and format as they like.
compare: https://www.wikiwand.com/en/Hacker_News https://en.wikipedia.org/wiki/Hacker_News?oldformat=true
https://addons.mozilla.org/en-US/firefox/addon/wikiwand-wiki...
This looks amazing!
I personally wouldn't install it. I don't like cluttering my browser with too many extensions and I don't use Wikipedia enough for it to be worth it.
But well done.
Also, it appears a little broken on maths-heavy pages. See https://en.wikipedia.org/wiki/Fourier_series.
Multi-line equations get displaced by the pictures on the side, some even appearing with a horizontal scroll bar. Lots of strange white-space in some equations.
I've tried many of these over the years and always hope I'll find one I like. This is probably the best so far, but I ended up uninstalling it after about 2 minutes of experimenting for the following reasons:
- The left side-bar text is too big
- I actually prefer Arial/Helvetica to the typeface you chose
- Formatting of—not sure what they're called, but the place where disambiguation notices pop up at the top of the article under the title—feels a little off
As was mentioned in this discussion, it's also worth noting that mediawiki supports custom themes. Anyone else use an alternate wikipedia theme? I've been using "Modern" for years and love it.
1. Left menu scroll bar defaults to the hideous browser default scroll bar. 2. When increasing the width of the content just a bit, it becomes left adjusted all of a sudden, hugging the left menu and leaving tons of room on the right.
It is fine for reading, but by hiding the tabs for "edit this page", "history" etc. it does not invite editing as much as the current Wikipedia/MediaWiki does.
And in this particular case, I don't see much purpose of having the toolbar being a fixed element that does not scroll with the rest of the page. Apart from the Font size/Dark mode controls, the links there are for leaving the page, and if I want to leave the page, there is nothing stopping me from first scrolling to the top of the page. Most keyboards have a Home key that does that. There is also the "Scroll to the top" arrow button that pops up in the lower right corner (obscuring the text beneath it, BTW).
Something I do think would be useful, in terms of scrolling on Wikipedia/MediaWiki would be to go between Editing, Preview and Changes and keep about the same position on the page when doing so. As it is now, long articles could be disorienting and I would have to spend some time looking for the editing position when previewing my edits.
I am curious I don't think Wikipedia does it/would do it but I have seen some sites break if you modify their DOM.
I think including CSS overrides would be different but YT is an example where injecting something into their DOM has an error show up in console.
Wondering if that was a concern for you.
I tried out Readable Wikipedia [0]. Which I really liked (kind of turns it into mobile, which is good enough for me) But it seems to have been abandoned, since images didn't load for me.
I then tried out WikiWand [1]. Although I've been using it and its been ok for the most part, it seemed over the top, and the UI was still a bit dated. Also, didn't like how it would load images in a banner view at the top...
I look forward to trying this out, looks very promising. Thanks for spending the time to make it!!
[0] - https://chrome.google.com/webstore/detail/readable-wikipedia... [1] - https://www.wikiwand.com/
My one sadness— no Safari support! Safari has gotten better with its extensions API support.. is it just the the store that’s preventing you?
[1]: https://github.com/Krasjet/wikipedia.rehash#user-content-opt...
Humble suggestion: add some background shading to visually group an image with its caption, mock eg: https://postimg.cc/hJLrJF9N
I guess that's what wikipedia portals are for?
For example I would love to be able to download a wikipedia archive just for math, computer science or history, etc, just like subject are found in an university, library or the dewey or congress classification.
Of course it's a lot of work, but I really feels it's important and it would make wikipedia more accessible and attractive, and also cheaper to distribute.
I absolutely adore the positioning of the table of contents. The design looks clean, utilitarian, and overall well executed.
That being said - and this is more a critique of modern design - I absolutely hate the suffocating roundness of the element corners. It's an aesthetic that drips with overfamiliarity and a patronizing attitude. It's the visual equivalent of being put in a padded room, or having a distant relative who you have nothing in common with and have not seen in years trying to relate to you with anecdotes about your childhood that you can scarcely remember.
Client usually wants to emulate some elements of the latest aesthetic trend. Can't blame designers for what's ultimately a fashion trend. Especially when breaking from the trends and convention put you at risk of looking dated or driving away consumers.
Edit: some grammar
Edit: At some point, while you can agree with some of the critics' points, they become completely out-of-touch with reality and the typical user.
There is a long history of rounded corners in graphic design. In the real world, perfectly sharp edges do not exist. Even on the printed page, ink bleed tends to gently round all corners.
This is a good thing, because sharp corners interact poorly with some parts of our visual system. Sharp corners in a design can be as jarring as extremely high contrast or saturated colors, which are also best avoided in designs where the intent is to let the viewer focus on the content and not the form.
A slight amount of corner rounding in digital graphic design can lead to a look that is easier on the eyes, less distracting, and more approachable. (The design here uses more rounding than necessary, but I think it's driven largely by fashion and the above principles and not some dystopian desire to infantilize you.)
See:
https://en.wikipedia.org/wiki/Grid_illusion
https://en.wikipedia.org/wiki/Lateral_inhibition
https://en.wikipedia.org/wiki/Pattern_glare
http://people.sunyit.edu/~lepres/thesis/principles/63_pdfsam...
http://macknik.neuralcorrelate.com/pdf/articles/troncoso_et_...
Even very round corners can be contextually appropriate.
There's a world of difference between a few pixels of roundness, and making your entire website look like a fisher-price toy.
Round, organic designs can be complex and visually pleasing. They take a lot of work to execute well, and are rarely confined to the simple rectangles that dominate modern interface design.
The large border radius on modern UIs doesn't contribute anything interesting to previous UX other than the novelty of round corners. It hasn't been motivated, or motivated any meaningful new design approaches. All it's accomplished is that it's turned UI elements into rectangular pills that function almost exactly as they did before.
I see it as an aesthetic reflection of the modern technologist's attitude towards their user-bases.
Edit:some grammar
Have you seen Android 12's new fisher-price UI? I would really love to hear your thoughts on this video:
One big thing many could learn from, from the standard Wikipedia, and where this "modern" alternative fails, is the use of icons. Wikipedia mainly use text labels, not icons, which mean that I don't have to guess what the three dots mean. When going to Wikipedia, it very clearly states that I am in fact "Not logged in", this modern UI just have the person icon, but am I logged in? Similarly there's a small clock with an arrow, if I don't understand that Wikipedia is versioned, I have no idea what that does. The "view history" is much more clear, even if "View page history" would be even better.
It's pretty fun to play around with alternative designs for pages like Wikipedia, but actual updates should be done because it improved usability, not because it fails to follow trends that will change in a few years anyway.
There's also a small padding issue[1] next to the sidebar when the column width is set high.
Otherwise it looks pretty good.
[0]: https://jagger.co/downloads/modern-wiki-wide.png [1]: https://jagger.co/downloads/modern-wiki-padding.png
I really like this though!
This is how it looks for me: https://imgur.com/jZcbtUM
The main text is just too narrow. There's enough empty space to the right of the bodyContent div for the infobox without squeezing the text like that.
I'm thinking, it should be something like this: https://imgur.com/arNwTDr
https://en.wikipedia.org/w/index.php?title=Main_Page&useskin...
Can I suggest a specific font for Persian language? At the moment there is a single font for all languages, but Wikipedia manages it very well, and it has a different font for different languages.
Please remember from design 101 that line and shape have meaning and can help the user understand the interface.
I don't know why but since at least a year we have a new design on the french version of wikipedia (you can check by yourself on any wikipedia page in french).
But the english UI is bad it's hard to read on large screen. With your extension is really nice.
edit: I do need to uncheck the "Use Legacy Vector" to have the new design. I don't know why, maybe it was a cache issue but now it works.
If “modern web UI” means “performs none of the functions of a web Ui” then you nailed it.
I think I would prefer rhe current Vector theme (or maybe Monobook, but definitely not thr Fandom one), but it would be fairly great to have a dark mode.
Thank you for your work!
Confluence does this and it drives me nuts.
> Modern for Wikipedia only works on desktop or laptop computers
Urgh. Mobile probably represents 90% of Wikipedia traffic. I am on mobile now, of course. I am sad.
The original version has got to be one of the most dreadful pages on the internet, designed by committee and looks like it...
One request right away: can you add a setting to add phantom space at the bottom of the page? I don't know if it has a proper name, but editors sometimes have a "virtual space" setting so you can scroll the last bit of the content to the top of your screen.
It's super helpful when you want to click on one of the last on-page heading anchors and it doesn't really scroll to that part of the page because there's not enough room to scroll it. If that makes sense...
Nice work!
A lot of HN tends to dislike anything "new", please don't let it get to you :)
I guess *everything* is subject to corruption
Also, why is bandwidth costing them over a million dollars a year? Is it because of edge locations or something?
Now all I need is a web extension that helps me stop hating contributing to Wikipedia.
Unfortunately, this "modern" UI (larger font, narrow width) causes the exactly same problem on desktop.
More space makes thing easier to read, though. You could have font size 8 and a couple hundred chars long lines on your 4k monitor. Would see lots of content, but would be unreadable.
Does it still present the fundraising banners?