New redirect macro

I installed a new macro called redirect which is very convenient for setting up redirect pages. You just put this at the top of a wiki page:

[[redirect(OtherWikiPage)]]

So when you try to access that wiki page you'll be redirected to OtherWikiPage.

I mainly wanted this for the AstroBearTesting page. If you recall, Jonathan had updated the Tests macro to display links to each test's wiki page. This link is based on the test's name, so for example the link for the FieldLoopAdvection test takes you to TestSuite/FieldLoopAdvection. However, this test also has a restart test which is called FieldLoopRestart. FieldLoopRestart does not have its own test page on the wiki so if you click on TestSuite/FieldLoopRestart you just get redirected to the FieldLoopAdvection test page.

This will be helpful for other tests that have multiple versions but just one test page.

Comments

No comments.