User:Mahir256/sandbox
Appearance
Types and their descriptions
- Object (Z1): the root concept of an item in the Wikifunctions system, from which all other objects descend
- Persistent object (Z2): A Z1/Object which is stored persistently on the Wikifunctions wiki.
- Key (Z3): A referenced key/value pair within a Z4/Type.
- Type (Z4): A class of Z1/Object, with a set list of Z3/Keys.
- Error (Z5): An error where something has gone wrong in the system, such as when you use a Z40/Boolean function on a Z6/String, or try to edit something that is locked.
- String (Z6): A sequence of characters, and one of the fundamental Z4/Types available in the Wikifunctions system.
- Function call (Z7): A call to a Z8/Function, including its inputs.
- Function (Z8): A concept of a computable resource, which through its Z14/Implementations and Z20/Testers can let you make a calculation or perform some other task.
- Reference (Z9): A link to another Z1/Object.
- Monolingual text (Z11): A Z6/String of text in a given Z60/Natural language, used to label things for humans to read.
- Multilingual text (Z12): A list of Z11/MonolingualStrings, up to one for each Z60/Natural language, used to label things for humans to read in multiple languages.
- Implementation (Z14): An implementation of a Z8/Function which can be checked as working through its Z20/Test cases and if working can be used in a Z7/Function call.
- Code (Z16): A block of code for a Z14/Implementation.
- Argument declaration (Z17): A specification of what an input to a Z8/Function should be.
- Argument reference (Z18): A link to an input to a Z7/Function call, or placeholder for one.
- Test case (Z20): A special call to a Z8/Function used to check if a Z14/Implementation returns the expected result.
- Unit (Z21): type that can take only a single value
- Evaluation result (Z22): The result of a Z7/Function call
- Nothing (Z23): No instances of this are allowed.
- Monolingual stringset (Z31): A sequence of Z6/Strings in a given Z60/Natural language, used to document multiple human-readable labels for something, like aliases.
- Multilingual stringset (Z32): A list of Z31/Monolingual stringsets, up to one for each Z60/Natural language, used to document multiple labels for humans to read in multiple languages.
- Key reference (Z39): Description missing
- Boolean (Z40): Either 'true' or 'false', and is one of the fundamental Z4/Types available in the Wikifunctions system.
- Error type (Z50): Description missing
- Natural language (Z60): language naturally spoken by humans
- Programming language (Z61): Description missing
- Byte (Z80): Description missing
- Unicode code point (Z86): A single code point in Unicode
- Quote (Z99): Description missing
WikibaseLexeme Lua functions
Boolean outputs (Z40)
mw.wikibase.lexeme.entity.form:hasGrammaticalFeature( itemId ): 10225
Outputs akin to strings (Z6)
mw.wikibase.lexeme.entity.lexeme:getLanguage(): (!) get language item from Lexeme JSON (Z10041): (!) approximates mw.wikibase.lexeme.entity.lexeme:getLanguagemw.wikibase.lexeme.entity.lexeme:getLexicalCategory(): 10222
Outputs akin to monolingual texts (Z11)
mw.wikibase.lexeme.entity.form:getRepresentation( languageCode ): 10495mw.wikibase.lexeme.entity.lexeme:getLemma( languageCode ): 10037mw.wikibase.lexeme.entity.sense:getGloss( languageCode ): 10499
Outputs not akin to any of the above
mw.wikibase.lexeme.splitLexemeId:mw.wikibase.lexeme.entity.form:getGrammaticalFeatures:mw.wikibase.lexeme.entity.form:getRepresentations:mw.wikibase.lexeme.entity.lexeme:getForms:mw.wikibase.lexeme.entity.lexeme:getLemmas:mw.wikibase.lexeme.entity.lexeme:getSenses:mw.wikibase.lexeme.entity.sense:getGlosses:
Wikibase Lua functions
Outputs akin to strings (Z6)
mw.wikibase.entity:getId:mw.wikibase.entity:getLabel:mw.wikibase.entity:getDescription:mw.wikibase.entity:getSitelink:
Outputs akin to monolingual texts (Z11)
mw.wikibase.entity:getLabelWithLang:mw.wikibase.entity:getDescriptionWithLang:
Outputs not akin to any of the above
mw.wikibase.entity:getProperties:mw.wikibase.entity:getBestStatements:mw.wikibase.entity:getAllStatements:mw.wikibase.entity:formatPropertyValues:mw.wikibase.entity:formatStatements: