Re: [Tiki-devel] Issue with aliased pages and search results

Karsten Wemheuer via TikiWiki-devel <[email protected]> Mon, 20 Oct 2025 17:31:22 +0200
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
--=-kAJ6R5ahnBOnZn6vTdcm
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Jonny,

Unfortunately, I haven't found a way to log into the gitter chat.

I compared tiki21 and tiki 27 a little. In the file =E2=80=9Ctiki-
listpages.php=E2=80=9D, alias pages are marked with an =E2=80=9Cis_alias=E2=
=80=9D flag. This
later leads to the red link. This was not the case in tiki21.

When I modify the file with the enclosed patch, no red link appears.
Instead, the page to which the alias points is displayed.

I just don't know if that will lead to an error elsewhere.
Do You know the root cause for the change?
Best regards
Karsten
Am Montag, dem 13.10.2025 um 11:31 +0100 schrieb jonny--- via TikiWiki-
devel:
> Hi Karsten
>=20
> Maybe ask in the gitter chat? Maybe there are people there with time
> to help (sorry, another bust week ahead for me!)
>=20
> =C2=A0=C2=A0=C2=A0 https://gitter.im/tiki-org/community
>=20
> And/or come along to the "RtM" in a few days?
>=20
> =C2=A0=C2=A0=C2=A0 https://tiki.org/Roundtable-Meeting-2025-10
>=20
> jonny
>=20
>=20
>=20
> > On 13 Oct 2025, at 10:57, Karsten Wemheuer via TikiWiki-devel
> > <[email protected]> wrote:
> >=20
> > Hi Jonny,
> >=20
> > I would like to find the error. Where should I start? Where can I
> > find
> > the code for the search module with the autocomplete function?
> >=20
> > Karsten
> >=20
> > Am Freitag, dem 10.10.2025 um 13:20 +0200 schrieb Karsten Wemheuer
> > via
> > TikiWiki-devel:
> > > Hi Jonny,
> > >=20
> > > I am on 27.3. Isn't that the latest version?
> > > Which pref do you mean?
> > >=20
> > > Karsten
> > >=20
> > > Am Freitag, dem 10.10.2025 um 11:50 +0100 schrieb jonny--- via
> > > TikiWiki-devel:
> > > > Hi Karsten
> > > >=20
> > > > Seems fine to me on latest 27.x, which version are you on? Or
> > > > maybe
> > > > there is a pref we have set differently?
> > > >=20
> > > > jonny
> > > >=20
> > > >=20
> > > >=20
> > > > > On 10 Oct 2025, at 11:22, Karsten Wemheuer via TikiWiki-devel
> > > > > <[email protected]> wrote:
> > > > >=20
> > > > > Hi,
> > > > >=20
> > > > > I have a wiki page with an alias to a page that no longer
> > > > > exists.
> > > > > In
> > > > > tiki 21, the search (quick search box) only returns the
> > > > > existing
> > > > > page.
> > > > >=20
> > > > > In tiki 27, the alias page is also displayed, but in red with
> > > > > an
> > > > > edit
> > > > > link (as the page doesn't exist). I would like to hide the
> > > > > alias
> > > > > page
> > > > > in search results as in tiki 21.
> > > > >=20
> > > > > Is this a bug or is there some new option?
> > > > >=20
> > > > > Thanks in advance.
> > > > >=20
> > > > > Best regards
> > > > > Karsten
> > > > >=20
> > > > >=20
> > > > > _______________________________________________
> > > > > TikiWiki-devel mailing list
> > > > > [email protected]
> > > > > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> > > >=20
> > > >=20
> > > >=20
> > > > _______________________________________________
> > > > TikiWiki-devel mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> > >=20
> > >=20
> > >=20
> > > _______________________________________________
> > > TikiWiki-devel mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> >=20
> >=20
> >=20
> > _______________________________________________
> > TikiWiki-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>=20
>=20
>=20
> _______________________________________________
> TikiWiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel


--=-kAJ6R5ahnBOnZn6vTdcm
Content-Disposition: attachment; filename="tiki-listpages.php.patch"
Content-Type: text/x-patch; name="tiki-listpages.php.patch"; charset="UTF-8"
Content-Transfer-Encoding: base64

LS0tIHRpa2ktMjcuMy90aWtpLWxpc3RwYWdlcy5waHAJMjAyNS0wNi0xOSAwMDoyOToyNy4wMDAw
MDAwMDAgKzAyMDAKKysrIHRpa2ktMjcuMy0xL3Rpa2ktbGlzdHBhZ2VzLnBocAkyMDI1LTEwLTIw
IDE3OjI0OjQ1LjYyOTMzMDI4NSArMDIwMApAQCAtNDU1LDggKzQ1NSw4IEBACiAgICAgICAgICAg
ICBpZiAoISBlbXB0eSgkYWxpYXNlcykpIHsKICAgICAgICAgICAgICAgICBmb3JlYWNoICgkYWxp
YXNlcyBhcyAkYWxpYXMpIHsKICAgICAgICAgICAgICAgICAgICAgJHBhZ2VzW10gPSBbCi0gICAg
ICAgICAgICAgICAgICAgICAgICAnbGFiZWwnID0+ICRhbGlhc1sndG9QYWdlJ10sCi0gICAgICAg
ICAgICAgICAgICAgICAgICAnaXNfYWxpYXMnID0+IHRydWUsCisgICAgICAgICAgICAgICAgICAg
ICAgICAnbGFiZWwnID0+ICRhbGlhc1snZnJvbVBhZ2UnXSwKKyAgICAgICAgICAgICAgICAgICAg
ICAgICdpc19hbGlhcycgPT4gZmFsc2UsCiAgICAgICAgICAgICAgICAgICAgIF07CiAgICAgICAg
ICAgICAgICAgfQogICAgICAgICAgICAgfQpAQCAtNDcwLDYgKzQ3MCw3IEBACiAgICAgICAgICAg
ICAgICAgICAgIH0KICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICB9CitmaWxlX3B1dF9j
b250ZW50cygncGhwOi8vc3RkZXJyJywgcHJpbnRfcigkcGFnZXMsIFRSVUUpKTsKICAgICAgICAg
ICAgICRhY2Nlc3MtPm91dHB1dF9zZXJpYWxpemVkKCRwYWdlcyk7CiAgICAgICAgIH0gZWxzZSB7
CiAgICAgICAgICAgICAkcGFnZXMgPSBbXTsK


--=-kAJ6R5ahnBOnZn6vTdcm
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--=-kAJ6R5ahnBOnZn6vTdcm
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

--=-kAJ6R5ahnBOnZn6vTdcm--