[dokuwiki] Patch Attached: Allow configurable default of medialinks, e.g. hide link to detail page on non open wikis

defaultmedialink

On non open wikis the default link of a media link to the detail page can
expose more than intended. Setting each individual medialink to
{{example.jpg?nolink}} is tedious.
Now the default attribute can be set
in admin plugin or $conf['defaultmedialink']
to details/nolink/linkonly/direct
Override configured default with original setting in medialink works also.
Test:
Change the above setting in $conf or admin plugin and redisplay a wiki
page containing {{example.jpg}} with 'purge=true'.
When changed override with original behaviour by {{example.jpg?details}}

Helmut

Other related posts:

  • » [dokuwiki] Patch Attached: Allow configurable default of medialinks, e.g. hide link to detail page on non open wikis - Helmut Tischer