Account  |  Mobile  |  Help    
 
Home Database Live Audio Forums Wiki Classifieds Submit Info About

Go Back   The RadioReference.com Forums > Site Administration Forums > Wiki Forum


Wiki Forum Discussions regarding the RadioReference Wiki

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-31-2009, 06:03 AM
Wiki Admin
 
Database Admin
 
Join Date: Jul 2002
Location: Glen Burnie, Md.
Posts: 8,955
Default extensions and the refresh link

There seems to be a bit of confusion as to how to use the refresh link, and when it should be used.

To review: There are a set of custom extensions Lindsay wrote to enable folks to pull data directly from the database onto a wiki article. How to use these extensions is fully documented here;

http://wiki.radioreference.com/index.php/RR_Wiki_Extensions

The next question is to how to keep the data in the article and the data in the database in sync when the database changes. The coding is a bit odd, and not everyone can remember what to do - I know I certainly don't all the time with things like this - so a standard was set up to put what is known as a refresh link at the bottom of each article that uses the extensions. Only 1 refresh link is required per article - so if you have lots of data you are pulling, the single link will refresh them all. Let's examine this coding a bit...

<small>[http://wiki.radioreference.com/index.php/Andrews_Air_Force_Base%2C_MD?action=purge Refresh] this page from the latest database entry</small>

The <small> tag keeps the text small and out of the way of the rest of the article (which is also why it's recommended to put it at the bottom). I have highlighted the part that seems to cause the most confusion.

What is this doing? The wiki has a page cache that functions much like the cache in your browser. It attempts to pre-fetch a page rather than retrieve it each time. This adds speed, but it comes with a price tag. When using the extensions, it will also recall the data as it was before any changes were applied.

Using the purge command purges the cache and forces the extensions to retrieve data again - and this time, it picks up any changes that were applied to the database.

Hopefully this clears up the confusion. If there are further questions don't hesitate to yell.

73 Mike
__________________
links editor, Utility Monitoring Central
Wiki Administrator, HF Forum moderator, RadioReference
Friends don't let friends buy Scancat Lite Plus!
Reply With Quote
Sponsored links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:16 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
All information here is Copyright 2009 by RadioReference.com LLC and Lindsay C. Blanton III.Ad Management by RedTyger
Copyright 2009 by RadioReference.com LLC Privacy Policy  |  Terms and Conditions