Wikipedia:Tools/Browser tools/cross-browser/Extract list of authors of an article
Appearance
Bookmarklet to create a list of authors of an article
Description
- The GNU free documentation licence requires the publication of the list of authors of an article, eg. when translating it within Wikipedia, or when copying it to another wiki. Wikinations.org proposes the following bookmarklet to do this.
Instructions
- Go to the history page of the article.
- Click on "500" to display the last 500 modifications of the page.
- Make sure that your browser allows pop-ups on this page.
- Copy & paste the code into the address bar of your browser.
- Confirm your entry by pressing the "Enter" key.
- A window opens with the list of contributors. Verify that special characters are handled properly.
Code
- Note: The code has been broken onto multiple lines to preserve page layout. Please paste each segment onto a single line when using.
javascript:eMlA=;for(iB2M=0;iB2M<document.links.length;iB2M++) {Ju59=document.links[iB2M].toString(); if(Ju59.substring(0,34)=='http://wiki.riteme.site/wiki/User:') {Ju60=Ju59.substring(34,Ju59.length)+'\n';if(eMlA.indexOf(Ju60)==-1) {eMlA+=Ju60}}};WN7z=open(,'Z6','width=400,height=200,scrollbars,resizable,menubar'); with(WN7z.document){write('<base target=_blank>');write(eMlA);void(close())}