Module:SMW Utils: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

24 March 2024

  • curprev 15:4515:45, 24 March 2024Gau Cho talk contribs 421 bytes +421 Created page with "-- Helpers functions for SMW local p = {} --[[ Returns a boolean, whether the provided string is a valid subobject name Invalid subobject names are: '', '0', and any string with a '.' in the first 5 characters --]] function p.valid_subobject_name(arg) if arg == '0' or arg == '' then return false end if mw.ustring.find(mw.ustring.sub(arg, 1, 5), '.', 1, true) then return false end return true end return p"