Maybe creating a redirect on this page is a valid solution ?
A solution to which part?
IMHO, the most elegant solution to his suggestion is to do these kinds of things from the edit preview of the linking page _before submission_ rather than trying to deduce second-hand from where an edit request came.
But then you still have the problem of the non-reversibility of Wikitext/HTML conversion.
Maybe an additional button that's just like the "[[ ]]" one, but prompts the user for a page to link to might work. Maybe with an ajaxy auto-complete search box so you can start typing the article you want to link to and it'll finish it for you (trying to think of the case where there are a huge number of potential "link to" articles without resorting to a secondary search page).
Who knows - I'm so accustomed to modifying wikitext by hand that I am probably not the best person to suggest functional enhancements to the gui tools. Guess you could chalk it up to "command line syndrome" :)
I mean, wikitext is so easy to use, No Wonder it's Number 1 (tm)!
On 3/7/07, Platonides Platonides@gmail.com wrote:
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 ?
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l