On Saturday 24. October 2015 00.22.23 Marcus Schopen wrote: > Am Freitag, den 23.10.2015, 23:30 +0200 schrieb Marcus Schopen: > > Am Freitag, den 23.10.2015, 18:26 +0200 schrieb Marcus Schopen: > > > Hi, > > > > > > is there something like HideReferringPage for external links for > > > moinmoin like > > > > > > https://www.mediawiki.org/wiki/Extension:HideReferringPage > > > > I found this: https://moinmo.in/RedirectingExternalLinks > > > > Any other ways? > > > > Ciao! > > url_mappings = { > 'https://www.wiki.de/mywiki/': 'https://www.wiki.de/mywiki/', > 'http://': 'https://www.google.com/url?sa=D&q=http://', > 'https://': 'https://www.google.com/url?sa=D&q=https://' > }
Well, if you don't mind following all the links via Google... I think the potentially cleaner way would be to have an action that performs such a redirect. According to the Wikipedia page about "Referer", redirects should not propagate that header, so an action that performs a similar function to that Google service (but without Google soaking up all the data) would do the job just as well. So you'd define some URL mappings pointing to the action using the above mechanism, and that would probably do what you want. Now you just have to write the action. ;-) Paul ------------------------------------------------------------------------------ _______________________________________________ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user