Great. Just to clarify, though, even if a 2nd parameter were added, the
main "link text" parameter would still get silently ignored for existing
pages.
On Mon, Jun 1, 2015 at 4:24 PM, Hermann Schwärzler <
hermann.schwaerz...@uibk.ac.at> wrote:
> Hi Yaron,
>
> a second "link text" parameter would
Hi Yaron,
a second "link text" parameter would certainly help me. And I think it
is all in all a better solution than to silently ignore the link text
when a page exists as that is surprising (and made me think it's a bug).
Greetings
Hermann
On 05/29/2015 05:53 PM, Yaron Koren wrote:
> Oh, that'
Oh, that's interesting. I was envisioning that the link text could look
like "Create this page", as I noted in my previous email. Perhaps it would
be ideal to have two different link text parameters for #formredlink, for
use when the page either does or doesn't exist.
On Fri, May 29, 2015 at 12:19
Hi Yaron,
probably I am doing things not in the best possible way. :-)
This is my use-case: I have images that have a page where a title and up
to three keywords can be assigned to them. For the keywords I have a
custom namespace "Keyword" (to avoid possible name clashes with
image-page titles).
Hi Hermann,
That was done on purpose - the idea was that #formredlink has two different
behaviors, depending on whether or not the page in question exists. If it
doesn't, then of course you see a red link, pointing to a form, with text
that possibly looks like "Create this page". If it does, then
Hi,
while using the "link text" parameter of #formredlink I noticed that
this parameter gets ignored when the page specified in the "target"
parameter exists.
The "shortcut" in the code for this case returns
Linker::link( $targetTitle ) i.e. without specifying a link text which
in turn causes Lin