GithubHelp home page GithubHelp logo

Comments (8)

thomas-topway-it avatar thomas-topway-it commented on June 29, 2024 2

hello @jaideraf thanks for your notes.
All of them should have been solved with a (hopefully) coming version of the Datatables result format. (rewritten from scratch)
You can try out it here

https://github.com/Knowledge-Wiki/SemanticResultFormats/tree/datatable-v2

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

A demo:
https://fina.knowledge.wiki/Catalogues_of_Numismatic_Collections
https://silver.knowledge.wiki/User:Admin/Datatables_test

from semanticresultformats.

thomas-topway-it avatar thomas-topway-it commented on June 29, 2024 1

I was using

git clone -b datatable-v2 https://github.com/Knowledge-Wiki/SemanticResultFormats

then the page has to be saved again with some edit
and the browser refreshed with hard refresh

from semanticresultformats.

thomas-topway-it avatar thomas-topway-it commented on June 29, 2024

hello @jaideraf we would like to review this issue, but the posted examples don't work anymore, is there a way to update them ? thank you

from semanticresultformats.

jaideraf avatar jaideraf commented on June 29, 2024

Hello Thomas, I think I could reproduce the example from 2014:

See:
http://wikincat.org/wiki/User:Jaideraf/Página_de_testes
and
http://wikincat.org/wiki/User:Jaideraf/Página_de_testes?action=edit

Note the differences

  • in the values of the first and last columns (datatables shows the namespaces)
  • in the item column (datatables hides the fragment part of the subojetcs, the ID)
  • in the values in the "status" column (datatables does not support the "<FORMATTER>" of the boolean values)
  • in the date columns (datatables does not follow the |sort=Has checked out date parameter )

Thank you for looking at it

MW: 1.35.9
SMW: 4.1.0
SRF: 4.0.1
PHP: 7.4.33

from semanticresultformats.

jaideraf avatar jaideraf commented on June 29, 2024

Hello @thomas-topway-it
Wow, it looks very good, thank you! How can I test it? I tried

git clone https://github.com/Knowledge-Wiki/SemanticResultFormats.git
git branch datatable-v2

But I still get the same result, I also cleared the cache, but nothing has changed. Should I have to change something else?

from semanticresultformats.

jaideraf avatar jaideraf commented on June 29, 2024

Thanks, I got it.
Just the |sort=Has checked out date ("Data de empréstimo" column) is still different from the broadtable (see above example). But it is a minor detail. May I close this issue or do you prefer to close when the merge occurs?

from semanticresultformats.

thomas-topway-it avatar thomas-topway-it commented on June 29, 2024

@jaideraf it should have been solved ! This is the updated documentation https://www.semantic-mediawiki.org/wiki/Help:Datatables_format_(v2)

from semanticresultformats.

jaideraf avatar jaideraf commented on June 29, 2024

Perfect! Confirmed fix 😃

from semanticresultformats.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.