[Mediawiki-l] link picker

Platonides Platonides at gmail.com
Wed Mar 7 18:36:22 UTC 2007


Jim Wilson wrote:
> You _can_ hook into MediaWiki at the "show edit page" event and do some cool
> things with it, but there's no good way to know the article from which the
> user came - which would be a prerequisite for modifying said article's
> links.  Technically you could use the browser's provided "referrer", but
> this is unreliable (proxies) and easily spoofed or disabled.
> 
> All of that aside - it's still a hard problem because of the
> nondeterministic nature of wiki rendering and the complications that arise
> from template transclusion.  Even if you know the referrer (as in an Edit
> Preview), the process of determining where in the wikitext a particular link
> was generated is daunting.

Maybe creating a redirect on this page is a valid solution ?




More information about the MediaWiki-l mailing list