SemanticMediaWiki / SemanticResultFormats

Provides additional visualizations (result formats) for Semantic MediaWiki
https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Result_Formats
Other
45 stars 75 forks source link

Datatables v2 #770

Closed thomas-topway-it closed 1 year ago

thomas-topway-it commented 1 year ago

A complete refactoring of the datatables result format implementing a dedicated api and a SMW BeforeQueryResultLookupComplete hook in order to perform some preprocessing of the table data.

It includes the legacy datatables format with the format name datatables-legacy

Here is the complete documentation

https://www.semantic-mediawiki.org/wiki/Help:Datatables_format_(v2)

Key features:

thomas-topway-it commented 1 year ago

regarding the conflicts please note that some files have been renamed, for instance formats/datatables/DataTables.php is now formats/datatables-legacy/DataTables.php

JeroenDeDauw commented 1 year ago

So this is a breaking change for users of the existing datatables format?

thomas-topway-it commented 1 year ago

@JeroenDeDauw no, absolutely, they can go with the same settings. It's possible they only have to purge the page

JeroenDeDauw commented 1 year ago

Needs rebase against master

thomas-topway-it commented 1 year ago

see here https://github.com/SemanticMediaWiki/SemanticResultFormats/pull/771
(created new branch based on the original repository, then merged this branch into the new branch)