2006/4/4, Jan Vanoverpelt <jan.vanoverpelt(a)gmail.com>om>:
Thank you all for the help: it works now!
...BUT 1 practical problem is still there:
Scenario:
1) The user clicks on an image, which refers to a non-existing page.
2) The user is linked to the non-existing page's edit-box in which the
preloaded text is written.
3) The user adds some additional text and saves the page.
4) The user leaves the pages, surfs around on the wiki and goes back to the
image through which he previously created the new page. This is the point
where the practical problem jumps in: the user clicks on the image, BUT he
is AGAIN taken directly to the edit-box INSTEAD OF being taken to the actual
page (which exists now, so he does not have to be linked directly to the
edit-box of the page).
I think this problem is due to the fact that i have created some kind of
"hard link" behind the image, so that the user is always forced to go
directly to the edit-box with the preloaded text in it. Is there a way to
fix this, so that the user (after he/she visited the non-existing page for
the first time, added something and saved it) is directly taken to the
actual page the second time (like is done in case of "normal" links) ??
Thanks!
JAN
2006/4/4, Jan Vanoverpelt <jan.vanoverpelt(a)gmail.com>om>:
Thank you all for the help: it works now!
I have replaced [[:{{{Link}}}| ]] by
[{{SERVER}}{{localurl:{{{Link}}}|preload={{{Preload}}}&action=edit}}]
Kind regards,
JAN
2006/4/3, Rotem Liss <mail(a)rotemliss.com>om>:
If you work on MediaWiki 1.5, please replace
"{{fullurl:" with
"{{SERVER}}{{localurl:".
Jan Vanoverpelt wrote:
2006/4/3, Ilmari Karonen <nospam(a)vyznev.net
>:
>>Try replacing the "[[:{{{Link}}}| ]]" in
your
template
>with:
>
>
>[{{fullurl:{{{Link}}}|preload={{{Preload|}}}&action=edit}}
> ]
>
>
Thanks, I tried this but unfortunately without satisfying result: what
I get
then is a link like
"
http://en.wikipedia.org/w/index.php?title=Template:FULLURL:new-page-to-be-m…
"
without any preload function. The image itself
seems also overwritten
by
some huge symbols "[[T".
Any other ideas?
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/wikitech-l