News for hackers. Stuff that matters.
Re:Why it took a long time to build the tiny link preview on... by majewsky on Monday April 23, 2018 @05:09AM (#16901768)
> People seem to like it — we are seeing 5,000 hits to our API a minute to serve those cards that show when you hover over any link.

Uhm, no. It just means that people are hovering over links with their mouse. It does not imply any opinion about the previews.

> The original idea was conceived four years ago

When I was active at Wikipedia/Wikibooks 12 years ago, there was a user script floating around that did the same thing, except I'm not sure if it included an image. (Mediawiki allows a user to define custom CSS and JS that get embedded in every page of their user session.)

I don't mean to express dislike or downplay the hard work that went into this feature, just to add some context.

Re:Why it took a long time to build the tiny link preview on... by panic on Monday April 23, 2018 @05:32AM (#16901873)
> Uhm, no. It just means that people are hovering over links with their mouse. It does not imply any opinion about the previews.

When you evaluate features using engagement metrics, there are only two possibilities. If the metric is high, users love the feature. If the metric is low, users don't know the feature exists, and more alerts or "unread" badges must be added to help them learn.

Re:Why it took a long time to build the tiny link preview on... by samjbobb on Monday April 23, 2018 @09:32AM (#16903218)
Linked from the article is the final A/B test they ran: https://www.mediawiki.org/wiki/Page_Previews/2017-18_A/B_Tes...

They had better metrics than just number of API requests

Re:Why it took a long time to build the tiny link preview on... by mappu on Monday April 23, 2018 @05:41AM (#16901904)
Alternatively, if it's a feature you don't like:

If the metric is high, users are spending too much time on it. Also, it is responsible for every single frustration that users have with your product.

If the metric is low, the feature can be safely removed (see: Windows Start menu).

Re:Why it took a long time to build the tiny link preview on... by chiefalchemist on Monday April 23, 2018 @08:00AM (#16902599)
Yeah. Time on site, for example, might mean they can't find what they need; as opposed to getting what they need and staying for more.

Numbers are helpful, but sometimes they can be misinterpreted to mask the why.

Re:Why it took a long time to build the tiny link preview on... by megaman22 on Monday April 23, 2018 @07:08AM (#16902280)
> If the metric is low, the feature can be safely removed (see: Windows Start menu).

That turned out really well...

Whoever is responsible for putting the touch start screen on Windows Server is responsible for 90% of my frustrations...

Re:Why it took a long time to build the tiny link preview on... by brazzledazzle on Monday April 23, 2018 @09:39AM (#16903278)
The best way to run Windows Server is without a desktop installed, using PowerShell to manage it. Even one-offs. You might know this but it’s worth saying just in case. Also worth noting that some server applications assume/require a desktop during install or operation (usually because they’re trash).
Re:Why it took a long time to build the tiny link preview on... by iofiiiiiiiii on Monday April 23, 2018 @06:02AM (#16901991)
But when the feature only needs you to hover over a link to activate (which people do anyway) you have no basis to claim that this is users "liking" the feature - it might just be noise from everyday regular navigation.
Re:Why it took a long time to build the tiny link preview on... by teddyuk on Monday April 23, 2018 @06:43AM (#16902157)
i was using wikipedia to with my son yesterday for a project and found it really annoying, so i'm in that list of people who hit the api but aren't in the list of people who seem to be "liking it"
Re:Why it took a long time to build the tiny link preview on... by majewsky on Monday April 23, 2018 @05:39AM (#16901894)
My point is that the metric is bad.
Re:Why it took a long time to build the tiny link preview on... by dmitriid on Monday April 23, 2018 @05:45AM (#16901919)
> When you evaluate features using engagement metrics

No-no-no. Stop right there. "Engagement metrics" are the worst kind of metrics. Engagement means next to nothing. It just means that a user interacted with something. Was it good? Was it bad? Was it intentional? Was it by mistake? "Engagement metrics" answer none of that.

And yet... They are the easiest metrics to collect and too many companies use them as if they were meaningful.

Re:Why it took a long time to build the tiny link preview on... by notriddle on Monday April 23, 2018 @09:28AM (#16903198)
I'm case you were curious, WM has done more user testing than just the engagement metrics:

https://m.mediawiki.org/wiki/Special:MyLanguage/Wikimedia_Re...

Not sure what it says about them that they're mentioning worthless numbers instead of the way more useful data they got back during this survey.

Re:Why it took a long time to build the tiny link preview on... by mattkrause on Monday April 23, 2018 @08:59AM (#16902982)
If you hadn’t stopped right there, you might have seen the sarcasm in the rest of the post!
Re:Why it took a long time to build the tiny link preview on... by jdlrobson on Monday April 23, 2018 @02:49PM (#16906292)
Hey! (author here)

I sincerely regret the use of that statement "people seem to like it" in my post. I've now removed it as I worry this confuses my message so thank you for pointing it out. This really trivializes all the work that went into A/B testing this and how we measured success. I really recommend a read of https://www.mediawiki.org/wiki/Page_Previews#Success_Metrics... Side note: the volume of traffic was also wrong by several magnitudes... actually 0.5 million)

My main motivation when writing this post was to share how small changes require magnitudes of effort not to express the merits of the feature. As a developer who works with product owners a lot and often get asked how I can build things quicker (I'm sure many can relate). I wanted to provide something useful to other developers that easy looking things are not actually easy to build, so thanks for flagging.

With regards to the user script, yeh that's been around for some time and was the seed for this idea. It's just taken a long time to get that from such a small audience to a mainstream one. It doesn't downplay it in my opinion, just shows how far we've come.

Thanks for reading.

Re:Why it took a long time to build the tiny link preview on... by subpixel on Monday April 23, 2018 @07:23AM (#16902360)
I do mean to express dislike, as I'm one of the millions of users giving Wikipedia a false metric and sense of satisfaction. I've seen the pop-up hundreds of times, and have considered it a hindrance to my process every single time.

Something that just happens accidentally is a bug, no matter how useful it might be if it were not happening accidentally.

Re:Why it took a long time to build the tiny link preview on... by publicfig on Monday April 23, 2018 @11:46AM (#16904432)
You can disable it either from the screen, or if you have an account, permanently from your settings.
Re:Why it took a long time to build the tiny link preview on... by bobbobo on Wednesday May 02, 2018 @09:42AM (#16976748)
I completely agree with this.

When you go from reading the Atlantic, The Economist, The Washington Post... any content site... then begin to read a Wikipedia entry everything you know about reading an article no longer applies. You are now forced to change what you do.

This is just the most basic no no in web design - unplanned interactions, forcing a user to interact, forcing a user to actually think about the interface.

The developers have just forced every person who wants to consume content on Wikipedia to do it differently than on every other content site.

And there are literally countless millions of people who will have no idea how to disable it, who use computers every day but have no idea how to change something.

Just an incredible UX failure.

Re:Why it took a long time to build the tiny link preview on... by fjarlq on Monday April 23, 2018 @05:35AM (#16901879)
I expect you're remembering User:Lupin/popups.js[1], which dates back to August 2005.

It soon became known as Navigation Popups[2], and is still available today.

The main documentation for Page Previews mentions Navigation Popups.[3]

[1]: https://en.wikipedia.org/wiki/User:Lupin/popups.js

[2]: https://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_pop...

[3]: https://www.mediawiki.org/wiki/Page_Previews

Re:Why it took a long time to build the tiny link preview on... by Crontab on Monday April 23, 2018 @06:49AM (#16902176)
I personally do not care for the link preview feature as I am one of those people who like to hover over a link so I can see the url leads (which is also why I detest URL shorteners).

I also have to wonder how much bandwidth Wikipedia is going to end up using to display unneeded previews.

Re:Why it took a long time to build the tiny link preview on... by tuukkah on Monday April 23, 2018 @08:00AM (#16902600)
> I personally do not care for the link preview feature as I am one of those people who like to hover over a link so I can see the url leads

But that's exactly what these preview popups are for! A bit heavier than the plain URL, but much more useful and friendlier.

(EDIT: I see there's a bug in that it displays the preview even if you don't stop the mouse there. Still, this can be lighter than requiring people to click through to the full articles, considering the preview can tell you what you need or that the link is not relevant for you, and slows you going down the rabbit hole to more links. Maybe it should be located at the bottom of the screen like the plain URL popup though?)

Re:Why it took a long time to build the tiny link preview on... by zhte415 on Monday April 23, 2018 @10:51AM (#16903864)
> I also have to wonder how much bandwidth Wikipedia is going to end up using to display unneeded previews.

This is interesting. There's an external arrow for external links, so I'm still good with this use case for inspecting links; for internal links I've found myself hovering where I previously clicked (and loaded) an additional page at least 50% of the time. Where I'm OK with a quick paragraph description and can then decide if the linked paragraph requires / inspires a deeper read, about 50% of the time.

I think this is a net reduction of bandwidth for my personal use-case. Wide A/B testing would reveal more, obviously.

Re:Why it took a long time to build the tiny link preview on... by jwilk on Monday April 23, 2018 @05:33AM (#16901875)
Also, is 5K hits/minute really that impressive?

According to https://stats.wikimedia.org/EN/Sitemap.htm , English Wikipedia gets 88K views per minute.

Re:Why it took a long time to build the tiny link preview on... by giancarlostoro on Monday April 23, 2018 @06:59AM (#16902233)
I imagine most people spend more time reading on Wikipedia as opposed to trying to hover over every link available?
Re:Why it took a long time to build the tiny link preview on... by larkeith on Monday April 23, 2018 @08:18AM (#16902696)
That's less than one API hit per 17 English pages viewed - the overwhelming majority of the time, users do not use this feature at all, based on these numbers.

This response is pure sophistry.

Re:Why it took a long time to build the tiny link preview on... by kparaju on Monday April 23, 2018 @10:56AM (#16903919)
I wouldn't be surprised if a lot of the pageviews are bots/crawlers. They don't hover over links.
Re:Why it took a long time to build the tiny link preview on... by jdlrobson on Monday April 23, 2018 @03:07PM (#16906429)
Number was very very very wrong. Actually it's 0.5 million. I've corrected the post.
Re:Why it took a long time to build the tiny link preview on... by tuananh on Monday April 23, 2018 @09:33PM (#16909134)
it's still shown as 5.5k in grafana. what am i missing? the unit is events per minute.
Re:Why it took a long time to build the tiny link preview on... by jdlrobson on Monday April 23, 2018 @10:24PM (#16909385)
The sample size for those graphs is 1% so you need to multiple that by 100. I personally checked the access logs to check they are consistent. That was where the confusion came from!
Re:Why it took a long time to build the tiny link preview on... by tuananh on Monday April 23, 2018 @11:28PM (#16909641)
Ah, thank you.
Re:Why it took a long time to build the tiny link preview on... by majewsky on Monday April 23, 2018 @05:40AM (#16901900)
That was also my first reaction, but I did not mention it because judging this (in relation to pageviews) would require more knowledge about the audience, e.g. how many users are using a mouse at all (vs. a touch screen, or pure keyboard navigation).
Re:Why it took a long time to build the tiny link preview on... by mygo on Monday April 23, 2018 @10:37AM (#16903725)
but how many of those views are on mobile devices?

this is a desktop feature. in general, mobile traffic > desktop traffic.

we’d need wikipedia’s browsing statistics be sure, since some sites see different ratios than others. What if 1:8 wikipedia visits are on desktop? That would make the 5K/minute much more significant.

Re:Why it took a long time to build the tiny link preview on... by foota on Monday April 23, 2018 @05:38AM (#16901887)
I'm thinking it has to be heavily cached.
Re:Why it took a long time to build the tiny link preview on... by majewsky on Monday April 23, 2018 @07:05AM (#16902260)
"5000 hits to our API per minute" does not say anything about whether they're measuring in front of or behind the cache. For all intents and purposes, the cache's endpoint is the API endpoint.
Re:Why it took a long time to build the tiny link preview on... by nkozyra on Monday April 23, 2018 @07:39AM (#16902474)
And uncached hits only would be an even more worthless metric.

I, too, think either that number is wrong or this wasn't a feature available to all users.

I also agree that using this metric as affirmation the feature is liked is dangerous; count me among the many here inadvertantly contributing without enjoying the feature.

Re:Why it took a long time to build the tiny link preview on... by SeanMacConMara on Monday April 23, 2018 @08:40AM (#16902836)
>Uhm, no. It just means that people are hovering over links with their mouse.

in my case every single time was by accident whilst moving the mouse around, off of other text I was trying to read.

frankly, its bloody annoying

it covered the text i was reading

the search for yet another "disable" setting begins....

Re:Why it took a long time to build the tiny link preview on... by jessriedel on Monday April 23, 2018 @10:17AM (#16903569)
> the search for yet another "disable" setting begins....

Your inability to figure out how to disable it was already counted as success!

> the rates of disabling the feature are negligibly low — a strong indicator that people find it useful.

https://medium.com/freely-sharing-the-sum-of-all-knowledge/w...

Re:Why it took a long time to build the tiny link preview on... by therealdrag0 on Sunday April 29, 2018 @02:19PM (#16953181)
> To ensure that these rates were not artificially low due to usability issues, we also confirmed in a separate qualitative test that users were indeed able to find and operate the disable functionality if they desired to disable Page previews. (From their AB article)
Re:Why it took a long time to build the tiny link preview on... by rootlocus on Monday April 23, 2018 @09:15AM (#16903106)
The popup has a little gear icon in the bottom right. You can disable it from there.
Re:Why it took a long time to build the tiny link preview on... by SeanMacConMara on Monday April 23, 2018 @10:11AM (#16903512)
cheers!
Re:Why it took a long time to build the tiny link preview on... by freeone3000 on Monday April 23, 2018 @09:34AM (#16903238)
They put a small click button on the edge of a hover control? really?
Re:Why it took a long time to build the tiny link preview on... by always_good on Monday April 23, 2018 @02:14PM (#16905939)
I just tested it and it's trivial to click. Are you actually having difficulty or just pretending it's hard so you can be condescending?

I think the best place for these controls are usually on the feature itself. I don't want to have to search in some independent preferences UI every I want to see if something can be tweaked, but it makes sense to offer it there as well.

Re:Why it took a long time to build the tiny link preview on... by mygo on Monday April 23, 2018 @10:35AM (#16903711)
“We thought the floating pop-up billboard showing you a preview of what’s inside when you glance at a building was a great feature as you walk down times square”

— bad UX designers in 2070

Re:Why it took a long time to build the tiny link preview on... by KenanSulayman on Monday April 23, 2018 @05:51AM (#16901939)
As far as I know the Lupin user-script was the foundation of the PagePreview feature. I guess the Reading group at WikiMedia rewrote the extension as part of MediaWiki core and tried to fix most edge cases on the way.