Extension:DynamicRedirect

The DynamicRedirect extension provides redirection to a dynamically determined page. In the current version, the target can be determined either by evaluating a piece of wikitext, or chosen from a category.

Usage
By going to a URL in the form of

the user is redirected to a page chosen based on the values of the parameters:
 * is the primary mode selector, the currently supported values are:
 * – parse the expression given in  and use the resulting text as the page title to redirect to
 * – redirect to the first page in the category which title is in  (without the Category: prefix)
 * – redirect to the last page in the category which title is in  (without the Category: prefix)
 * – parameter containing either the wikitext, or the category name

If the parameters are not valid, or there is no target page fulfilling the parameters, Special:DynamicRedirect displays a UI (and possibly an error message) showing the available options.

Transclusion
A page dynamically determined per the above criteria (e.g. the last page of a category) can also be transcluded on another page using the straightforward syntax

with  and   same as above.