ka3jjz
Wiki Admin Emeritus
You may not know it, but it is possible to use specific tags to pull data in from our database, and populate that into a wiki article. You can read about them here;
RR Wiki Extensions - The RadioReference Wiki
This can be useful in cases such as researching a new system as changes are discovered and posted to the database. (That applies to new or changing trunk systems too). However a problem arises where the database is changed, but the wiki article doesn't show it.
The issue is caused by caching of the page. The wiki uses a cache very much like the one in your browser to speed up retrieval. However there's a downside - once the extension executes, the results of the extension are stored on the page along with everything else. So when the page is viewed again, it first gets the page from the cache - which brings the old data from the last extension's execution along with it. Therefore we need a method to purge the wiki cache to force the extension to execute again - this will pull any other changes applied to the database back into the wiki article.
We had a command that was built around the URL of the page being edited, but it was a bit obscure and easy to mess up. So I created a wiki template called Refreshpage that will execute this command. In addition, the text is deliberately made small so it does not interfere with the flow of the article. Here's an example;
{{Refreshpage
|Pageurl=http://wiki.radioreference.com/index.php/Kentucky_Sports}}
The 2 squiggly brackets at the beginning and end are the shift of the left and right square brackets, respectively. This is the method by which the wiki calls a template. All you would need to do is to insert the URL of the page that is being edited after Pageurl= (notice that this is preceded by a vertical bar - the shift of \)
This should probably be put into the user's guide as a standard along with the article that documents the extensions.
best regards...Mike
RR Wiki Extensions - The RadioReference Wiki
This can be useful in cases such as researching a new system as changes are discovered and posted to the database. (That applies to new or changing trunk systems too). However a problem arises where the database is changed, but the wiki article doesn't show it.
The issue is caused by caching of the page. The wiki uses a cache very much like the one in your browser to speed up retrieval. However there's a downside - once the extension executes, the results of the extension are stored on the page along with everything else. So when the page is viewed again, it first gets the page from the cache - which brings the old data from the last extension's execution along with it. Therefore we need a method to purge the wiki cache to force the extension to execute again - this will pull any other changes applied to the database back into the wiki article.
We had a command that was built around the URL of the page being edited, but it was a bit obscure and easy to mess up. So I created a wiki template called Refreshpage that will execute this command. In addition, the text is deliberately made small so it does not interfere with the flow of the article. Here's an example;
{{Refreshpage
|Pageurl=http://wiki.radioreference.com/index.php/Kentucky_Sports}}
The 2 squiggly brackets at the beginning and end are the shift of the left and right square brackets, respectively. This is the method by which the wiki calls a template. All you would need to do is to insert the URL of the page that is being edited after Pageurl= (notice that this is preceded by a vertical bar - the shift of \)
This should probably be put into the user's guide as a standard along with the article that documents the extensions.
best regards...Mike