-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Does it need to be a redirect? Maybe putting [[Genealogischer Kalender/{{CURRENTYEAR}}/{{CURRENTMONTHNAME}}]] into a template and using that template would achieve the goal you are looking for?
Am 05.03.2015 um 14:32 schrieb Uwe Baumbach:
Hi,
Am 23.02.2015 um 06:46 schrieb Uwe u.baumbach@googlemail.com:
Hi there,
it would be great to have a #REDIRECT directing to a "moving target"
using variables like
#REDIRECT [[Genealogischer
Kalender/{{CURRENTYEAR}}/{{CURRENTMONTHNAME}}]]
This idea doesn´t work! Is there a equivalent solution?
Mon, 23 Feb 2015 08:23:25 +0100 Alois Treindl alois@astro.ch wrote:
A possible solution, but a bit outside of mediawiki proper: You can write a little script run by cron, to generate an xml file, which is imported with importDump at the turn of each month, via the same
script.
Thank you for your creativity!
But it seems me a bit too arbitrary, especially when keeping in mind, that such REDIRECTS might be more then one or two times.
Really no other solution?
May be hook BeforePageRedirect could work?
Is anyone out there who could Elaborate it (dereferencing of variables before redirecting)?
Freundliche Grüßen / Kind regards,
Uwe (Baumbach)