On 19 June 2018 at 01:35, Stas Malyshev wrote:
> Hi!
>
> > I can reimplement it manually, but I would be largely duplicating what
> > HtmlPageLinkRendererBeginHookHandler is supposed to do. The problem
> > seems to be that it is not doing it right. When the code works on the
> > link like
Hi!
> I can reimplement it manually, but I would be largely duplicating what
> HtmlPageLinkRendererBeginHookHandler is supposed to do. The problem
> seems to be that it is not doing it right. When the code works on the
> link like /wiki/Lexeme:L2#L2-F1, it does this:
>
> $entityId =
Hi!
> You can use an EntityTitleLookup to get the Title object for an EntityId. In
> case of a Form, it will point to the appropriate section. You can use the
OK, I see it's just adding form id as a fragment, so it's easy I guess.
> LinkRenderer service to make a link. Or you use an
Am 18.06.2018 um 19:25 schrieb Stas Malyshev:
> 1. What the link will be pointing to? I haven't found the code to
> generate the link to specific Form.
You can use an EntityTitleLookup to get the Title object for an EntityId. In
case of a Form, it will point to the appropriate section. You can
Hi!
>> color/colour (L123)
>> colors: plural for color (L123): English noun
>
> I'd rather have this:
>
> colors/colours (L123-F2)
> plural of color (L123): English noun
This part is a bit trickier since the title is still L123, so the system
now is generating the link for L123. I could
Hi Stas!
Your proposal is pretty much what I envision.
Am 14.06.2018 um 19:39 schrieb Stas Malyshev:
> I plan to display Lemma match like this:
>
> title (LN)
> Synthetic description
>
> e.g.
>
> color/colour (L123)
> English noun
>
> Meaning, the first line with link would be standard