Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:  
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}}.  
 
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
+
= Current implementation =
 
* [[MediaWiki:Common.js]], which is run for everyone accessing a page, loads [[MediaWiki:Access.js]]
 
* [[MediaWiki:Common.js]], which is run for everyone accessing a page, loads [[MediaWiki:Access.js]]
 
* `Access.js` checks whether the page is an {{P|3}} {{Q|96}}
 
* `Access.js` checks whether the page is an {{P|3}} {{Q|96}}
Line 7: Line 7:  
* a `href` is created
 
* a `href` is created
   −
=Wishlist
+
= Wishlist =
 
* Make the whole popup be a wikitext template, using the MediaWiki Template framework
 
* 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 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)
 
* 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 ____"
 
* An invitation to Tweet "I just asked my data from company ____, join me at ____"
 +
 +
= How to do it =
 +
* Ask for access to be able to modify the MediaWiki namespace
 +
* better yet, implement your new version as a user script:
 +
** go to '''your own''' [[Special:Mypage/common.js]]
 +
** add a line to load your own script (get inspired by any other user's scripts, for instance

Navigation menu