Page MenuHomePhabricator

Support fragment identifiers in Media links
Open, Needs TriagePublic

Description

Parser.php currently ignores fragment identifiers of Media: links, which is inconvenient if you want to use Parameters for Opening PDF Files. [[Media:Example.pdf#page=5]] currently does not work.

While as a workaround you can create a template like [{{filepath:{{{1}}}}}#{{{#|}}} {{{2|{{{1}}} }}}], using it is quite cumbersome because you have to change [[Media:Example.pdf]] to {{Media|Example.pdf|#=page=5}}.

An implementation of this would be very much appreciated.


See Also: