Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  simple  





2 Usage  template banner  





3 Interface  





4 FAQ  





5 User script  



5.1  Old version  







6 See also  














User:Dispenser/Reflinks






Português
 










User page
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
User contributions
User logs
View user groups
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

< User:Dispenser
(Redirected from Wikipedia:REFLINKS)

Reflinks was a tool that automatically or semi-automatically added information to references using data present in the web page. It can process bare URLs (where the only information is a web address) or plain links (where the reference is a link and a title). Using Reflinks can save you time when writing your own articles as you can concentrate on writing and then fill in all the references once you are done. If you come across articles containing poorly formatted references, running Reflinks helps to prevent linkrot and provides readers with more details about where the information came from. You can use it on Category:Articles needing link rot cleanup. Note it does not work on all web links (e.g., PDFs), and does not always fill in enough cite template parameters. The templates created automatically by the tool need to be reviewed to ensure that they are accurate, as they are often not.

Usage – simple[edit]

Simplest method:

Usage – template banner[edit]

To encourage others - or to aid yourself - to clean up the bare URLs in references, paste the {{Cleanup-bare URLs}} template at the top of an article with bare-URL references. Just copy and paste {{Cleanup-bare URLs}}, and then save the page. The resulting banner uses the interactive mode described in the next section.

Now you or another editor can click the "reFill tool" link in the banner, and then the fix-it link that the tool displays. Once you click the fix-it link, wait for the bot to finish filling in all the citation templates for each bare URL. This can take ten minutes for a page with a hundred bare URLs. It is faster for fewer links. Scroll to the bottom of the results page to see how much has been completed.

When done, click the "Show preview" button at the bottom of the page. If things look okay, then click the "Save page" button. If things don't look okay, fix what needs to be changed, in the editing window. Then click the "Save page" button.

Interface[edit]

Reflinks operates in two modes, interactive and non-interactive.

FAQ[edit]

User script[edit]

A screenshot displaying the Reflinks link at the bottom of the toolbox.

Reflinks can be easily run anywhere by using the link: http://69.142.160.183/~dispenser/cgi-bin/webreflinks.py?citeweb=checked&lang=en&autoclick=wpDiff

For more than very occasional usage, it is much better to install the script: copy-and-paste the following code to your common.js/monobook.js/vector.js pages.

// Add [[WP:Reflinks]] launcher in the toolbox on left
$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).then(function () {
 mw.util.addPortletLink(
  "p-tb",     // toolbox portlet
  "http://69.142.160.183/~dispenser/cgi-bin/webreflinks.py?citeweb=checked&lang=" + mw.config.get('wgContentLanguage')
  + "&page=" + mw.config.get('wgPageName') + "&autoclick=wpDiff", // updated tool URL as of 27 December 2020
  "Reflinks"  // link label
)});

Old version[edit]

The code below loads an older version of Reflinks, which does not use Citation templates. There may be some cases where this old version is more appropriate

// Add [[WP:Reflinks]] launcher in the toolbox on left
$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).then(function () {
 mw.util.addPortletLink(
  "p-tb",     // toolbox portlet
  "http://69.142.160.183/~dispenser/cgi-bin/reflinks.py?lang=" + mw.config.get('wgContentLanguage')
  + "&page=" + mw.config.get('wgPageName') + "&autoclick=wpPreview", // updated tool URL as of 27 December 2020
  "Reflinks"  // link label
)});

See also[edit]


Retrieved from "https://en.wikipedia.org/w/index.php?title=User:Dispenser/Reflinks&oldid=1181288953"

Category: 
Wikipedia citation/link tools
Hidden categories: 
Indexed pages
Wikipedia references cleanup
 



This page was last edited on 22 October 2023, at 03:07 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki