GraphViz MediaWiki extension


Wolfgang Fahl

Unknown column 'img_description' in 'field list'[edit]

Problem[edit]

Function: MediaWiki\Extension\GraphViz\UploadLocalFile::recordUpload3
Error: 1054 Unknown column 'img_description' in 'field list' (localhost)

Diagnosis[edit]

Commit
host  https://github.com
path  WolfgangFahl
project  mediawiki-extensions-GraphViz
subject  work-arounds for Error: 1054 Unknown column 'img_description' in 'field list' and imageMap dependency (bundled)
name  Wolfgang Fahl
date  2020-02-10 11:40:28 +0100
hash  f3cfc18


Therapy[edit]

Workaround[edit]

alter table image add img_description varchar(255);
alter table oldimage add oi_description varchar(255);

Could not acquire lock for "mwstore://local-backend/local-public/3/3f/GraphViz_graph_graphname_dot.svg".[edit]

Problem[edit]

Could not acquire lock for "mwstore://local-backend/local-public/3/3f/GraphViz_graph_graphname_dot.svg". 

Diagnosis[edit]

Error: Image is invalid or non-existent.[edit]

Problem[edit]

Error: Image is invalid or non-existent.

Diagnosis[edit]

grep -r "invalid or non-existent"
extensions/ImageMap/i18n/en.json:	"imagemap_invalid_image": "Error: Image is invalid or non-existent.",
grep -r "magemap_invalid_image"
ImageMap/includes/ImageMap.php:					return self::error( 'imagemap_invalid_image' );
ImageMap/includes/ImageMap.php:					return self::error( 'imagemap_invalid_image' );
ImageMap/includes/ImageMap.php:					return self::error( 'imagemap_invalid_image' );
ImageMap/includes/ImageMap.php:					return self::error( 'imagemap_invalid_image' );
select img_name from image;
+----------------------------------+
| img_name                         |
+----------------------------------+
| GraphViz_graph_rq_dot.svg        |
| GraphViz_graph_graphname_dot.svg |

Therapy[edit]

unclear

Diagrams extension[edit]

An alternative approach is outlined in:

Fork at:

Commits[edit]

Commit
host  https://github.com
path  WolfgangFahl
project  diagrams-extension
subject  adds Special page with java installation check
name  Wolfgang Fahl
date  2020-02-10 15:34:57 +0100
hash  2964c07


Commit
host  https://github.com
path  WolfgangFahl
project  diagrams-extension
subject  fixes help link
name  Wolfgang Fahl
date  2020-02-10 15:36:04 +0100
hash  5178436


Commit
host  https://github.com
path  WolfgangFahl
project  diagrams-extension
subject  preparese local service alternative
name  Wolfgang Fahl
date  2020-02-10 18:05:49 +0100
hash  7dbdf3e

Commits[edit]

Commit
host  https://github.com
path  WolfgangFahl
project  diagrams-extension
subject  adds Special page with java installation check
name  Wolfgang Fahl
date  2020-02-10 15:34:57 +0100
hash  2964c07


Commit
host  https://github.com
path  WolfgangFahl
project  diagrams-extension
subject  fixes help link
name  Wolfgang Fahl
date  2020-02-10 15:36:04 +0100
hash  5178436


Commit
host  https://github.com
path  WolfgangFahl
project  diagrams-extension
subject  preparese local service alternative
name  Wolfgang Fahl
date  2020-02-10 18:05:49 +0100
hash  7dbdf3e
🖨 🚪