Page MenuHomePhabricator

Create embeddable version of replag tool for other tools
Open, Needs TriagePublic

Description

It would be nice if there was some way to easily embed a snippet from https://replag.toolforge.org/ in other tools without having to reimplement it all so it's trivial to warn users when results are out of date.

Like <iframe src="https://replag.toolforge.org/embed"> that outputs something like "The database replicas are XX seconds/minutes behind, information shown here may be out of date." in some nice red box if there's lag, and nothing when everything is good. Or maybe require a specific DB, e.g. https://replag.toolforge.org/embed?db=enwiki.

I feel like more tools had these banners back on the Toolserver when replag was a lot more common, but only older tools have them these days (yay?).