Am Samstag, den 24.10.2015, 00:22 +0200 schrieb Marcus Schopen:
> 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://'
> }

url_mappings seems not to be a good idea. It hard codes the dereferrer
URL into to wiki page and ends up in a recursive problem when saving or
using gui mode, like

https://www.google.com/url?sa=D&q=http://test.de/https://www.google.com/url?sa=D&q=http://test.de

Ciao!



------------------------------------------------------------------------------
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to