2006/4/12, Rob Church robchur@gmail.com:
On 12/04/06, Jan Vanoverpelt jan.vanoverpelt@gmail.com wrote:
- When I do not put "&action=edit" in the code, the preload-parameter
does not seem to work. Can someone explain why in this code the " &action=edit" MUST be there in order for the preload-parameter to be
passed?
Without the "action=edit" part, MediaWiki will attempt to view the article; this is the default action. When in this mode, the "preload" parameter is ignored; it means nothing to the code, and the value won't even be checked.
Is there a possibility to change this, so that the "preload" parameter is not ignored without the "action=edit" part being present? So the code would become {{SERVER}}{{localurl:{{{Link}}}|preload={{{Preload}}}}}, the user views the article directly and when he wants to switch to the edit box he sees the preloaded text in this edit box and is able to add some additional text to it. Is that possible?
Thanks a lot!