Main public logs
From MaRDI portal
Combined display of all available logs of MaRDI portal. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 09:23, 13 December 2023 Tconrad talk contribs created page Module:HelperMethods (Created page with "-- Required modules for SPARQL queries and HTML table generation local sparql = require('SPARQL') local mwHtml = require('mw.html') -- Utility function to trim and lowercase a string function trimAndLower(str) if str == nil then return nil end str = str:gsub("^%s*(.-)%s*$", "%1") return str:lower() end -- Function to convert JSON results into a Lua table function convertJsonToTable(jsonResults) local resultsTable = {} if jsonResults and jsonResults.results a...")