Difference between revisions of "Data controller popup"
Jump to navigation
Jump to search
(Created page with "The data controller popup is what shows up in the top right when someone loads an item that is a data controller, for instance {{Q|101}}. =Current implementation * MediaWi...") |
(No difference)
|
Revision as of 10:57, 2 August 2019
The data controller popup is what shows up in the top right when someone loads an item that is a data controller, for instance Uber (Q101).
=Current implementation
- MediaWiki:Common.js, which is run for everyone accessing a page, loads MediaWiki:Access.js
- `Access.js` checks whether the page is an instance of (P3) data controller (Q96)
- if so, the Template:MailtoAccess template is run with parameter the qID
- a `href` is created
=Wishlist
- Make the whole popup be a wikitext template, using the MediaWiki Template framework
- A warning to check the email address that things are sent to (this would be a sneaky way to be a bad guy)
- A button to copy to clipboard the mailto link (browsers make it difficult to copy this type of link)
- An invitation to Tweet "I just asked my data from company ____, join me at ____"