You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
addCall() corresponds to former _addCall(). The method visibility has altered to "protected", and now it is not accessible anymore from syntax plugin class.
Some third-party syntax plugins eg. wrap plugin uses _addCall(), and the relevant plugin developers will need to modify their codes so that it will work both with current stable DokuWiki and the Snapshot versions.
It seems that syntax plugins can add any type of call/instruction directly to Doku_Handler::calls array in its handle() method. For example,
https://github.com/splitbrain/dokuwiki/blob/3623073f5adbca901ac0c77e239a84413a9ed10a/inc/parser/handler.php#L47
addCall()
corresponds to former_addCall()
. The method visibility has altered to "protected", and now it is not accessible anymore from syntax plugin class.Some third-party syntax plugins eg. wrap plugin uses
_addCall()
, and the relevant plugin developers will need to modify their codes so that it will work both with current stable DokuWiki and the Snapshot versions.It seems that syntax plugins can add any type of call/instruction directly to Doku_Handler::calls array in its handle() method. For example,
can be rewritten as
I wonder whether this is a practical approach to make one plugin code work well both with "Greebo" and the Snapshot versions?
The text was updated successfully, but these errors were encountered: