I'm debugging an unrelated problem, and I noticed these deprecation warnings after getting the latest mermaid via composer. I didn't see an issue logged for them, so here you are. Functionality does not appear affected, however I'm seeing some fragility so I'm going through every option...
Setup and configuration
Mermaid version: 0.3 (according to FlexDiagrams/README )
MediaWiki version: 1.36
PHP version: 7.4.25
mariadb Ver 15.1 Distrib 10.5.12-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper
Deprecated: Use of Revision::newFromTitle was deprecated in MediaWiki 1.31. [Called from FDDisplayDiagram::run in /var/www/cv/extensions/FlexDiagrams/includes/FD_DisplayDiagram.php at line 57] in /var/www/cv/includes/debug/MWDebug.php on line 376
Deprecated: Use of Revision::__construct was deprecated in MediaWiki 1.31. [Called from Revision::newFromTitle in /var/www/cv/includes/Revision.php at line 146] in /var/www/cv/includes/debug/MWDebug.php on line 376
Deprecated: Use of Revision::getContent was deprecated in MediaWiki 1.31. [Called from FDDisplayDiagram::run in /var/www/cv/extensions/FlexDiagrams/includes/FD_DisplayDiagram.php at line 58] in /var/www/cv/includes/debug/MWDebug.php on line 376
Steps to reproduce the observation (recommendation is to use the sandbox):
View any diagram with debugging switched on in LocalSettings.php
I'm debugging an unrelated problem, and I noticed these deprecation warnings after getting the latest mermaid via composer. I didn't see an issue logged for them, so here you are. Functionality does not appear affected, however I'm seeing some fragility so I'm going through every option...
Setup and configuration
Issue
Produces a stack trace and outputs:
Steps to reproduce the observation (recommendation is to use the sandbox):
View any diagram with debugging switched on in LocalSettings.php