|mediawiki/extensions/UrlShortener||master||+26 -62||ext.urlShortener.toolbar: Remove dependency on OOjs UI|
|Resolved||Ladsgroup||T44085 Wikimedia needs a URL shortener (tracking)|
|Resolved||Smalyshev||T112715 Enable different URL shorteners for WDQS|
|Resolved||Ladsgroup||T108557 Review and deploy UrlShortener extension to Wikimedia wikis|
|Resolved||Prtksxna||T112680 UrlShortener should not load all of oojs-ui on all pages|
I was thinking, we don't really need OOjs UI for the toolbar link. We just want to show the shortened URL, a simple input is fine for that. We can turn that into an OO.ui.TextInputWidget at some point when OOjs UI is loaded everywhere.
The issue is that there is no place to show an error message. Technically, its not showing anything useful right now either (because I forgot to load the error messages for ext.urlShortener.toolbar), but that is not the point. Do you think we can get away by not showing anything useful whatsoever and turning the link into an actual link to Special:UrlShortener with the current URL?