Re: HideReferringPage
Marcus Schopen <[email protected]> Sat, 24 Oct 2015 16:59:34 +0200
| Newsgroups | gmane.comp.web.wiki.moin.general |
|---|---|
| Message-ID | <1445698774.27616.9.camel@cosmo> |
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!
------------------------------------------------------------------------------