The wb_terms table will change soon; instead of adapting to those changes, let’s just use the wbformatentities API instead, which should be more robust and hopefully not much worse performance-wise. It also gives us language fallbacks for free :)
Unfortunately, this also means that the link no longer has target="_blank", which means that left-clicking it will no longer open the page in a new tab. I think that’s acceptable, though.
Currently deployed as index-dev.php (example link).
The
wb_terms
table will change soon; instead of adapting to those changes, let’s just use thewbformatentities
API instead, which should be more robust and hopefully not much worse performance-wise. It also gives us language fallbacks for free :)Unfortunately, this also means that the link no longer has
target="_blank"
, which means that left-clicking it will no longer open the page in a new tab. I think that’s acceptable, though.Currently deployed as index-dev.php (example link).