Re: Calendar and CalendarList plugins return incorrect links array

"Vargenau, Marc-Etienne (Nokia - FR/Paris-Saclay)" <[email protected]> Mon, 14 Feb 2022 15:30:34 +0000
Newsgroups gmane.comp.web.wiki.phpwiki.talk
Message-ID <PR3PR07MB8183994FC9C92C49F41C2492AC339@PR3PR07MB8183.eurprd07.prod.outlook.com>
Hi Christof,

Thank you for your report.
I will include your patch in the next release.

Best regards,

Marc-Etienne

-----Original Message-----
From: Christof Meerwald <[email protected]> 
Sent: Wednesday, February 9, 2022 7:08 PM
To: [email protected]
Subject: [Phpwiki-talk] Calendar and CalendarList plugins return incorrect links array

Hi,

just noticed that both the Calendar and CalendarList plugins return incorrect links array from "getWikiPageLinks".

Attached is a patch for this, although removing the whole getWikiPageLinks from those plugins might be the better option (as the comment says "static only as of action=edit") as it's not really useful that way.


Christof

-- 

https://cmeerw.org                             sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org