User:V111P/js/WebRef

This is an old revision of this page, as edited by V111P (talk | contribs) at 19:57, 15 April 2014 (a script automating the filling of the {{cite web}} template). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

WebRef is a script automating the filling of the {{cite web}} template. You run the script on the page you want to cite. For the script to be able to fill all the information (including the name of the author and the date of the article), you need to do a little work first.

The script can be used as a bookmarklet with the following address:

javascript:(function(){var d=document,s=d.createElement('script');s.src='//en.wikipedia.org/w/index.php?title=User:V111P/js/webRef.js&action=raw&ctype=text/javascript&smaxage=43200&maxage=86400';d.body.appendChild(s);})();

To test the script, you can just execute its source code in your browser's JavaScript console. Make sure you are on a page with (only one) article on it, for example on a news site.

More information comming soon...

See also