Module talk:First steps
Add topicAppearance
Latest comment: 8 years ago by Gangleri in topic simple example
ns:829 · PAGEID: 2684475 · links here · purge ↺ · section=0 ·#footer · REVISIONID: 4102461 · permanent link
- → mw:extension:Scribunto/Lua reference manual
- →→ https://git.wikimedia.org/blob/ mediawiki / extensions/Scribunto
- →→ mw:extension:Scribunto/Tim's draft roadmap Tim Starling talk
- →→ mw:Extension:Scribunto/Victor's API proposal VasilievVV talk
- → local:special:Prefixindex/Module: local: talks · b: talks · c: talks · d: talks · d2: talks · m: talks · mw: talks · n: talks · q: talks · s: talks · t: talks · t2: talks · v: talks · voy: talks · w: talks · wikt talks · incubator talks · wmania talks · wm2016 talks · m:interwiki map
- → testwiki:module talk:Versuch (source) module · d:Q21850921 · √b:en: module · (layout: 2016-01-03…b LTR and RTL) · √c: module · √d: module · √m: module · √mw: module · √n:en: module · √q:en: module · √v:en: module · √voy:en: module · √?!w:als: module · √w:ar: module · √w:as: module · √w:bar: module · √w:bn: module · √w:bo: module · √w:cs: module · √w:da: module · √w:de: module · √w:dsb: module · √w:en: module · √w:eo: module · √w:es: module · √w:fa: module · √w:fr: module · √?!w:gom: module · √w:hak: module · √w:he: module · √w:hsb: module · √w:is: module · √w:it: module · √w:ja: module · √w:ka: module · √w:km: module · √w:ko: module · √w:ksh: module · √w:pl: module · √w:pt: module · √?!√??w:mi: module · √w:ml: module · √w:mr: module · √?!w:no: module · √w:pa: module · √?!√??w:rmy: module · √w:ro: module · √w:ru: module · √w:si: module · √w:sv: module · √?!w:sr: module · √w:ta: module · √w:te: module · √?!√??w:tn: module · √??w:tr: module · √w:uk: module · √?w:vi: module · √w:yi: module · √wm2016: module · √wikt:ca: module · √wikt:en: module · #kavehoyz · #lua · #mediawiki · #mediawiki-i18n · #wikimania
- →→ c:Module:TableTools d:Q15408619 · talk · c:Module:TableTools/doc talk
- →→ betawiki:special:Translations/MediaWiki:Firststeps
simple example
[edit]main01: MW
[edit]{{#invoke:First steps|main01}}
- generates:
show / hide
- MW
type is: table
table#1 {
["addWarning"] = function#1, ["allToString"] = function#2, ["clone"] = function#3, ["dumpObject"] = function#4, ["executeFunction"] = function#5, ["ext"] = table#2 { ["FlaggedRevs"] = table#3 { ["getStabilitySettings"] = function#6, }, ["ParserFunctions"] = table#4 { ["expr"] = function#7, }, ["TitleBlacklist"] = table#5 { ["test"] = function#8, }, ["data"] = table#6 { ["get"] = function#9, }, }, ["getContentLanguage"] = function#10, ["getCurrentFrame"] = function#11, ["getLanguage"] = function#12, ["hash"] = table#7 { ["hashValue"] = function#13, ["listAlgorithms"] = function#14, }, ["html"] = table#8 { ["create"] = function#15, }, ["incrementExpensiveFunctionCount"] = function#16, ["isSubsting"] = function#17, ["language"] = table#9 { ["fetchLanguageName"] = function#18, ["fetchLanguageNames"] = function#19, ["getContentLanguage"] = function#10, ["getFallbacksFor"] = function#20, ["isKnownLanguageTag"] = function#21, ["isSupportedLanguage"] = function#22, ["isValidBuiltInCode"] = function#23, ["isValidCode"] = function#24, ["new"] = function#12, }, ["loadData"] = function#25, ["loadJsonData"] = function#26, ["log"] = function#27, ["logObject"] = function#28, ["message"] = table#10 { ["getDefaultLanguage"] = function#29, ["new"] = function#30, ["newFallbackSequence"] = function#31, ["newRawMessage"] = function#32, ["numParam"] = function#33, ["rawParam"] = function#34, }, ["site"] = table#11 { ["contentNamespaces"] = table#12 { [0] = table#13 { ["aliases"] = table#14 { }, ["associated"] = table#15 { ["aliases"] = table#16 { }, ["associated"] = table#13, ["canonicalName"] = "Talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 1, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Talk", ["subject"] = table#13, ["talk"] = table#15, }, ["canonicalName"] = "", ["displayName"] = "(Main)", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = 0, ["isCapitalized"] = true, ["isContent"] = true, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "", ["subject"] = table#13, ["talk"] = table#15, }, }, ["currentVersion"] = "1.44.0-wmf.2 (8fd6c9c)", ["interwikiMap"] = function#35, ["namespaces"] = table#17 { metatable = table#18 table#15, table#19 { ["aliases"] = table#20 { }, ["associated"] = table#21 { ["aliases"] = table#22 { }, ["associated"] = table#19, ["canonicalName"] = "User talk", ["hasGenderDistinction"] = true, ["hasSubpages"] = true, ["id"] = 3, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "User talk", ["subject"] = table#19, ["talk"] = table#21, }, ["canonicalName"] = "User", ["hasGenderDistinction"] = true, ["hasSubpages"] = true, ["id"] = 2, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "User", ["subject"] = table#19, ["talk"] = table#21, }, table#21, table#23 { ["aliases"] = table#24 { "WN", }, ["associated"] = table#25 { ["aliases"] = table#26 { }, ["associated"] = table#23, ["canonicalName"] = "Project talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 5, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Wikinews talk", ["subject"] = table#23, ["talk"] = table#25, }, ["canonicalName"] = "Project", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 4, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Wikinews", ["subject"] = table#23, ["talk"] = table#25, }, table#25, table#27 { ["aliases"] = table#28 { "Image", }, ["associated"] = table#29 { ["aliases"] = table#30 { "Image_talk", }, ["associated"] = table#27, ["canonicalName"] = "File talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 7, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "File talk", ["subject"] = table#27, ["talk"] = table#29, }, ["canonicalName"] = "File", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = 6, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "File", ["subject"] = table#27, ["talk"] = table#29, }, table#29, table#31 { ["aliases"] = table#32 { }, ["associated"] = table#33 { ["aliases"] = table#34 { }, ["associated"] = table#31, ["canonicalName"] = "MediaWiki talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 9, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "MediaWiki talk", ["subject"] = table#31, ["talk"] = table#33, }, ["canonicalName"] = "MediaWiki", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 8, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "MediaWiki", ["subject"] = table#31, ["talk"] = table#33, }, table#33, table#35 { ["aliases"] = table#36 { }, ["associated"] = table#37 { ["aliases"] = table#38 { }, ["associated"] = table#35, ["canonicalName"] = "Template talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 11, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Template talk", ["subject"] = table#35, ["talk"] = table#37, }, ["canonicalName"] = "Template", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 10, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Template", ["subject"] = table#35, ["talk"] = table#37, }, table#37, table#39 { ["aliases"] = table#40 { }, ["associated"] = table#41 { ["aliases"] = table#42 { }, ["associated"] = table#39, ["canonicalName"] = "Help talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 13, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Help talk", ["subject"] = table#39, ["talk"] = table#41, }, ["canonicalName"] = "Help", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 12, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Help", ["subject"] = table#39, ["talk"] = table#41, }, table#41, table#43 { ["aliases"] = table#44 { "CAT", }, ["associated"] = table#45 { ["aliases"] = table#46 { }, ["associated"] = table#43, ["canonicalName"] = "Category talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 15, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Category talk", ["subject"] = table#43, ["talk"] = table#45, }, ["canonicalName"] = "Category", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = 14, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Category", ["subject"] = table#43, ["talk"] = table#45, }, table#45, [-2] = table#47 { ["aliases"] = table#48 { }, ["canonicalName"] = "Media", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = -2, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = false, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Media", ["subject"] = table#47, }, [-1] = table#49 { ["aliases"] = table#50 { }, ["canonicalName"] = "Special", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = -1, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = false, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Special", ["subject"] = table#49, }, [0] = table#13, [90] = table#51 { ["aliases"] = table#52 { }, ["associated"] = table#53 { ["aliases"] = table#54 { }, ["associated"] = table#51, ["canonicalName"] = "Thread talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = 91, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Thread talk", ["subject"] = table#51, ["talk"] = table#53, }, ["canonicalName"] = "Thread", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = 90, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Thread", ["subject"] = table#51, ["talk"] = table#53, }, [91] = table#53, [92] = table#55 { ["aliases"] = table#56 { }, ["associated"] = table#57 { ["aliases"] = table#58 { }, ["associated"] = table#55, ["canonicalName"] = "Summary talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = 93, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Summary talk", ["subject"] = table#55, ["talk"] = table#57, }, ["canonicalName"] = "Summary", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = 92, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Summary", ["subject"] = table#55, ["talk"] = table#57, }, [93] = table#57, [100] = table#59 { ["aliases"] = table#60 { }, ["associated"] = table#61 { ["aliases"] = table#62 { }, ["associated"] = table#59, ["canonicalName"] = "Portal talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 101, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Portal talk", ["subject"] = table#59, ["talk"] = table#61, }, ["canonicalName"] = "Portal", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 100, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Portal", ["subject"] = table#59, ["talk"] = table#61, }, [101] = table#61, [102] = table#63 { ["aliases"] = table#64 { }, ["associated"] = table#65 { ["aliases"] = table#66 { }, ["associated"] = table#63, ["canonicalName"] = "Comments talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 103, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Comments talk", ["subject"] = table#63, ["talk"] = table#65, }, ["canonicalName"] = "Comments", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 102, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Comments", ["subject"] = table#63, ["talk"] = table#65, }, [103] = table#65, [710] = table#67 { ["aliases"] = table#68 { }, ["associated"] = table#69 { ["aliases"] = table#70 { }, ["associated"] = table#67, ["canonicalName"] = "TimedText talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = 711, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "TimedText talk", ["subject"] = table#67, ["talk"] = table#69, }, ["canonicalName"] = "TimedText", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = 710, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "TimedText", ["subject"] = table#67, ["talk"] = table#69, }, [711] = table#69, [828] = table#71 { ["aliases"] = table#72 { }, ["associated"] = table#73 { ["aliases"] = table#74 { }, ["associated"] = table#71, ["canonicalName"] = "Module talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 829, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Module talk", ["subject"] = table#71, ["talk"] = table#73, }, ["canonicalName"] = "Module", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 828, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Module", ["subject"] = table#71, ["talk"] = table#73, }, [829] = table#73, }, ["scriptPath"] = "/w", ["server"] = "//en.wikinews.org", ["siteName"] = "Wikinews", ["stats"] = table#75 { ["activeUsers"] = 135, ["admins"] = 16, ["articles"] = 22038, ["edits"] = 4798837, ["files"] = 4568, ["pages"] = 2902690, ["pagesInCategory"] = function#36, ["pagesInNamespace"] = function#37, ["users"] = 2880844, ["usersInGroup"] = function#38, }, ["stylePath"] = "/w/skins", ["subjectNamespaces"] = table#76 { [-2] = table#47, [-1] = table#49, [0] = table#13, [2] = table#19, [4] = table#23, [6] = table#27, [8] = table#31, [10] = table#35, [12] = table#39, [14] = table#43, [90] = table#51, [92] = table#55, [100] = table#59, [102] = table#63, [710] = table#67, [828] = table#71, }, ["talkNamespaces"] = table#77 { table#15, [3] = table#21, [5] = table#25, [7] = table#29, [9] = table#33, [11] = table#37, [13] = table#41, [15] = table#45, [91] = table#53, [93] = table#57, [101] = table#61, [103] = table#65, [711] = table#69, [829] = table#73, }, }, ["text"] = table#78 { ["JSON_PRESERVE_KEYS"] = 1, ["JSON_PRETTY"] = 4, ["JSON_TRY_FIXING"] = 2, ["decode"] = function#39, ["encode"] = function#40, ["gsplit"] = function#41, ["jsonDecode"] = function#42, ["jsonEncode"] = function#43, ["killMarkers"] = function#44, ["listToText"] = function#45, ["nowiki"] = function#46, ["split"] = function#47, ["tag"] = function#48, ["trim"] = function#49, ["truncate"] = function#50, ["unstrip"] = function#51, ["unstripNoWiki"] = function#52, }, ["title"] = table#79 { ["compare"] = function#53, ["equals"] = function#54, ["getCurrentTitle"] = function#55, ["makeTitle"] = function#56, ["new"] = function#57, }, ["uri"] = table#80 { ["anchorEncode"] = function#58, ["buildQueryString"] = function#59, ["canonicalUrl"] = function#60, ["decode"] = function#61, ["encode"] = function#62, ["fullUrl"] = function#63, ["localUrl"] = function#64, ["new"] = function#65, ["parseQueryString"] = function#66, ["validate"] = function#67, }, ["ustring"] = table#81 { ["byte"] = function#68, ["byteoffset"] = function#69, ["char"] = function#70, ["codepoint"] = function#71, ["find"] = function#72, ["format"] = function#73, ["gcodepoint"] = function#74, ["gmatch"] = function#75, ["gsub"] = function#76, ["isutf8"] = function#77, ["len"] = function#78, ["lower"] = function#79, ["match"] = function#80, ["maxPatternLength"] = 10000, ["maxStringLength"] = 2097152, ["rep"] = function#81, ["sub"] = function#82, ["toNFC"] = function#83, ["toNFD"] = function#84, ["toNFKC"] = function#85, ["toNFKD"] = function#86, ["upper"] = function#87, }, ["wikibase"] = table#82 { ["description"] = function#88, ["entity"] = table#83 { ["claimRanks"] = table#84 { ["RANK_DEPRECATED"] = 0, ["RANK_NORMAL"] = 1, ["RANK_PREFERRED"] = 2, ["RANK_TRUTH"] = 3, }, ["create"] = function#89, }, ["entityExists"] = function#90, ["formatValue"] = function#91, ["formatValues"] = function#92, ["getAllStatements"] = function#93, ["getBadges"] = function#94, ["getBestStatements"] = function#95, ["getDescription"] = function#88, ["getDescriptionByLang"] = function#96, ["getDescriptionWithLang"] = function#97, ["getEntity"] = function#98, ["getEntityIdForCurrentPage"] = function#99, ["getEntityIdForTitle"] = function#100, ["getEntityObject"] = function#98, ["getEntityUrl"] = function#101, ["getGlobalSiteId"] = function#102, ["getLabel"] = function#103, ["getLabelByLang"] = function#104, ["getLabelWithLang"] = function#105, ["getPropertyOrder"] = function#106, ["getReferencedEntityId"] = function#107, ["getSitelink"] = function#108, ["isValidEntityId"] = function#109, ["label"] = function#103, ["lexeme"] = table#85 { ["splitLexemeId"] = function#110, }, ["orderProperties"] = function#111, ["renderSnak"] = function#112, ["renderSnaks"] = function#113, ["resolvePropertyId"] = function#114, ["sitelink"] = function#108, },
}
- Done
- Gangleri also aka ·לערי ריינהארט·T·m:Th·T·email me· 10:01, 28 December 2015 (UTC)
main23: _G
[edit]{{#invoke:First steps|main23}}
- generates:
show / hide
- _G
type is: table
table#1 {
["_G"] = table#1, ["_VERSION"] = "Lua 5.1", ["assert"] = function#1, ["debug"] = table#2 { ["traceback"] = function#2, }, ["error"] = function#3, ["getmetatable"] = function#4, ["ipairs"] = function#5, ["math"] = table#3 { ["abs"] = function#6, ["acos"] = function#7, ["asin"] = function#8, ["atan"] = function#9, ["atan2"] = function#10, ["ceil"] = function#11, ["cos"] = function#12, ["cosh"] = function#13, ["deg"] = function#14, ["exp"] = function#15, ["floor"] = function#16, ["fmod"] = function#17, ["frexp"] = function#18, ["huge"] = inf, ["ldexp"] = function#19, ["log"] = function#20, ["log10"] = function#21, ["max"] = function#22, ["min"] = function#23, ["mod"] = function#17, ["modf"] = function#24, ["pi"] = 3.1415926535898, ["pow"] = function#25, ["rad"] = function#26, ["random"] = function#27, ["randomseed"] = function#28, ["sin"] = function#29, ["sinh"] = function#30, ["sqrt"] = function#31, ["tan"] = function#32, ["tanh"] = function#33, }, ["mw"] = table#4 { ["addWarning"] = function#34, ["allToString"] = function#35, ["clone"] = function#36, ["dumpObject"] = function#37, ["executeFunction"] = function#38, ["ext"] = table#5 { ["FlaggedRevs"] = table#6 { ["getStabilitySettings"] = function#39, }, ["ParserFunctions"] = table#7 { ["expr"] = function#40, }, ["TitleBlacklist"] = table#8 { ["test"] = function#41, }, ["data"] = table#9 { ["get"] = function#42, }, }, ["getContentLanguage"] = function#43, ["getCurrentFrame"] = function#44, ["getLanguage"] = function#45, ["hash"] = table#10 { ["hashValue"] = function#46, ["listAlgorithms"] = function#47, }, ["html"] = table#11 { ["create"] = function#48, }, ["incrementExpensiveFunctionCount"] = function#49, ["isSubsting"] = function#50, ["language"] = table#12 { ["fetchLanguageName"] = function#51, ["fetchLanguageNames"] = function#52, ["getContentLanguage"] = function#43, ["getFallbacksFor"] = function#53, ["isKnownLanguageTag"] = function#54, ["isSupportedLanguage"] = function#55, ["isValidBuiltInCode"] = function#56, ["isValidCode"] = function#57, ["new"] = function#45, }, ["loadData"] = function#58, ["loadJsonData"] = function#59, ["log"] = function#60, ["logObject"] = function#61, ["message"] = table#13 { ["getDefaultLanguage"] = function#62, ["new"] = function#63, ["newFallbackSequence"] = function#64, ["newRawMessage"] = function#65, ["numParam"] = function#66, ["rawParam"] = function#67, }, ["site"] = table#14 { ["contentNamespaces"] = table#15 { [0] = table#16 { ["aliases"] = table#17 { }, ["associated"] = table#18 { ["aliases"] = table#19 { }, ["associated"] = table#16, ["canonicalName"] = "Talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 1, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Talk", ["subject"] = table#16, ["talk"] = table#18, }, ["canonicalName"] = "", ["displayName"] = "(Main)", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = 0, ["isCapitalized"] = true, ["isContent"] = true, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "", ["subject"] = table#16, ["talk"] = table#18, }, }, ["currentVersion"] = "1.44.0-wmf.2 (8fd6c9c)", ["interwikiMap"] = function#68, ["namespaces"] = table#20 { metatable = table#21 table#18, table#22 { ["aliases"] = table#23 { }, ["associated"] = table#24 { ["aliases"] = table#25 { }, ["associated"] = table#22, ["canonicalName"] = "User talk", ["hasGenderDistinction"] = true, ["hasSubpages"] = true, ["id"] = 3, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "User talk", ["subject"] = table#22, ["talk"] = table#24, }, ["canonicalName"] = "User", ["hasGenderDistinction"] = true, ["hasSubpages"] = true, ["id"] = 2, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "User", ["subject"] = table#22, ["talk"] = table#24, }, table#24, table#26 { ["aliases"] = table#27 { "WN", }, ["associated"] = table#28 { ["aliases"] = table#29 { }, ["associated"] = table#26, ["canonicalName"] = "Project talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 5, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Wikinews talk", ["subject"] = table#26, ["talk"] = table#28, }, ["canonicalName"] = "Project", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 4, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Wikinews", ["subject"] = table#26, ["talk"] = table#28, }, table#28, table#30 { ["aliases"] = table#31 { "Image", }, ["associated"] = table#32 { ["aliases"] = table#33 { "Image_talk", }, ["associated"] = table#30, ["canonicalName"] = "File talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 7, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "File talk", ["subject"] = table#30, ["talk"] = table#32, }, ["canonicalName"] = "File", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = 6, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "File", ["subject"] = table#30, ["talk"] = table#32, }, table#32, table#34 { ["aliases"] = table#35 { }, ["associated"] = table#36 { ["aliases"] = table#37 { }, ["associated"] = table#34, ["canonicalName"] = "MediaWiki talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 9, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "MediaWiki talk", ["subject"] = table#34, ["talk"] = table#36, }, ["canonicalName"] = "MediaWiki", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 8, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "MediaWiki", ["subject"] = table#34, ["talk"] = table#36, }, table#36, table#38 { ["aliases"] = table#39 { }, ["associated"] = table#40 { ["aliases"] = table#41 { }, ["associated"] = table#38, ["canonicalName"] = "Template talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 11, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Template talk", ["subject"] = table#38, ["talk"] = table#40, }, ["canonicalName"] = "Template", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 10, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Template", ["subject"] = table#38, ["talk"] = table#40, }, table#40, table#42 { ["aliases"] = table#43 { }, ["associated"] = table#44 { ["aliases"] = table#45 { }, ["associated"] = table#42, ["canonicalName"] = "Help talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 13, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Help talk", ["subject"] = table#42, ["talk"] = table#44, }, ["canonicalName"] = "Help", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 12, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Help", ["subject"] = table#42, ["talk"] = table#44, }, table#44, table#46 { ["aliases"] = table#47 { "CAT", }, ["associated"] = table#48 { ["aliases"] = table#49 { }, ["associated"] = table#46, ["canonicalName"] = "Category talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 15, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Category talk", ["subject"] = table#46, ["talk"] = table#48, }, ["canonicalName"] = "Category", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = 14, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Category", ["subject"] = table#46, ["talk"] = table#48, }, table#48, [-2] = table#50 { ["aliases"] = table#51 { }, ["canonicalName"] = "Media", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = -2, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = false, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Media", ["subject"] = table#50, }, [-1] = table#52 { ["aliases"] = table#53 { }, ["canonicalName"] = "Special", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = -1, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = false, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Special", ["subject"] = table#52, }, [0] = table#16, [90] = table#54 { ["aliases"] = table#55 { }, ["associated"] = table#56 { ["aliases"] = table#57 { }, ["associated"] = table#54, ["canonicalName"] = "Thread talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = 91, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Thread talk", ["subject"] = table#54, ["talk"] = table#56, }, ["canonicalName"] = "Thread", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = 90, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Thread", ["subject"] = table#54, ["talk"] = table#56, }, [91] = table#56, [92] = table#58 { ["aliases"] = table#59 { }, ["associated"] = table#60 { ["aliases"] = table#61 { }, ["associated"] = table#58, ["canonicalName"] = "Summary talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = 93, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Summary talk", ["subject"] = table#58, ["talk"] = table#60, }, ["canonicalName"] = "Summary", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = 92, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Summary", ["subject"] = table#58, ["talk"] = table#60, }, [93] = table#60, [100] = table#62 { ["aliases"] = table#63 { }, ["associated"] = table#64 { ["aliases"] = table#65 { }, ["associated"] = table#62, ["canonicalName"] = "Portal talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 101, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Portal talk", ["subject"] = table#62, ["talk"] = table#64, }, ["canonicalName"] = "Portal", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 100, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Portal", ["subject"] = table#62, ["talk"] = table#64, }, [101] = table#64, [102] = table#66 { ["aliases"] = table#67 { }, ["associated"] = table#68 { ["aliases"] = table#69 { }, ["associated"] = table#66, ["canonicalName"] = "Comments talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 103, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Comments talk", ["subject"] = table#66, ["talk"] = table#68, }, ["canonicalName"] = "Comments", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 102, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Comments", ["subject"] = table#66, ["talk"] = table#68, }, [103] = table#68, [710] = table#70 { ["aliases"] = table#71 { }, ["associated"] = table#72 { ["aliases"] = table#73 { }, ["associated"] = table#70, ["canonicalName"] = "TimedText talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = 711, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "TimedText talk", ["subject"] = table#70, ["talk"] = table#72, }, ["canonicalName"] = "TimedText", ["hasGenderDistinction"] = false, ["hasSubpages"] = false, ["id"] = 710, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "TimedText", ["subject"] = table#70, ["talk"] = table#72, }, [711] = table#72, [828] = table#74 { ["aliases"] = table#75 { }, ["associated"] = table#76 { ["aliases"] = table#77 { }, ["associated"] = table#74, ["canonicalName"] = "Module talk", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 829, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = false, ["isTalk"] = true, ["name"] = "Module talk", ["subject"] = table#74, ["talk"] = table#76, }, ["canonicalName"] = "Module", ["hasGenderDistinction"] = false, ["hasSubpages"] = true, ["id"] = 828, ["isCapitalized"] = true, ["isContent"] = false, ["isIncludable"] = true, ["isMovable"] = true, ["isSubject"] = true, ["isTalk"] = false, ["name"] = "Module", ["subject"] = table#74, ["talk"] = table#76, }, [829] = table#76, }, ["scriptPath"] = "/w", ["server"] = "//en.wikinews.org", ["siteName"] = "Wikinews", ["stats"] = table#78 { ["activeUsers"] = 135, ["admins"] = 16, ["articles"] = 22038, ["edits"] = 4798837, ["files"] = 4568, ["pages"] = 2902690, ["pagesInCategory"] = function#69, ["pagesInNamespace"] = function#70, ["users"] = 2880844, ["usersInGroup"] = function#71, }, ["stylePath"] = "/w/skins", ["subjectNamespaces"] = table#79 { [-2] = table#50, [-1] = table#52, [0] = table#16, [2] = table#22, [4] = table#26, [6] = table#30, [8] = table#34, [10] = table#38, [12] = table#42, [14] = table#46, [90] = table#54, [92] = table#58, [100] = table#62, [102] = table#66, [710] = table#70, [828] = table#74, }, ["talkNamespaces"] = table#80 { table#18, [3] = table#24, [5] = table#28, [7] = table#32, [9] = table#36, [11] = table#40, [13] = table#44, [15] = table#48, [91] = table#56, [93] = table#60, [101] = table#64, [103] = table#68, [711] = table#72, [829] = table#76, }, }, ["text"] = table#81 { ["JSON_PRESERVE_KEYS"] = 1, ["JSON_PRETTY"] = 4, ["JSON_TRY_FIXING"] = 2, ["decode"] = function#72, ["encode"] = function#73, ["gsplit"] = function#74, ["jsonDecode"] = function#75, ["jsonEncode"] = function#76, ["killMarkers"] = function#77, ["listToText"] = function#78, ["nowiki"] = function#79, ["split"] = function#80, ["tag"] = function#81, ["trim"] = function#82, ["truncate"] = function#83, ["unstrip"] = function#84, ["unstripNoWiki"] = function#85, }, ["title"] = table#82 { ["compare"] = function#86, ["equals"] = function#87, ["getCurrentTitle"] = function#88, ["makeTitle"] = function#89, ["new"] = function#90, }, ["uri"] = table#83 { ["anchorEncode"] = function#91, ["buildQueryString"] = function#92, ["canonicalUrl"] = function#93, ["decode"] = function#94, ["encode"] = function#95, ["fullUrl"] = function#96, ["localUrl"] = function#97, ["new"] = function#98, ["parseQueryString"] = function#99, ["validate"] = function#100, }, ["ustring"] = table#84 { ["byte"] = function#101, ["byteoffset"] = function#102, ["char"] = function#103, ["codepoint"] = function#104, ["find"] = function#105, ["format"] = function#106, ["gcodepoint"] = function#107, ["gmatch"] = function#108, ["gsub"] = function#109, ["isutf8"] = function#110, ["len"] = function#111, ["lower"] = function#112, ["match"] = function#113, ["maxPatternLength"] = 10000, ["maxStringLength"] = 2097152, ["rep"] = function#114, ["sub"] = function#115, ["toNFC"] = function#116, ["toNFD"] = function#117, ["toNFKC"] = function#118, ["toNFKD"] = function#119, ["upper"] = function#120, }, ["wikibase"] = table#85 { ["description"] = function#121, ["entity"] = table#86 { ["claimRanks"] = table#87 { ["RANK_DEPRECATED"] = 0, ["RANK_NORMAL"] = 1, ["RANK_PREFERRED"] = 2, ["RANK_TRUTH"] = 3, }, ["create"] = function#122, }, ["entityExists"] = function#123, ["formatValue"] = function#124, ["formatValues"] = function#125, ["getAllStatements"] = function#126, ["getBadges"] = function#127, ["getBestStatements"] = function#128, ["getDescription"] = function#121, ["getDescriptionByLang"] = function#129, ["getDescriptionWithLang"] = function#130, ["getEntity"] = function#131, ["getEntityIdForCurrentPage"] = function#132, ["getEntityIdForTitle"] = function#133, ["getEntityObject"] = function#131, ["getEntityUrl"] = function#134, ["getGlobalSiteId"] = function#135, ["getLabel"] = function#136, ["getLabelByLang"] = function#137, ["getLabelWithLang"] = function#138, ["getPropertyOrder"] = function#139, ["getReferencedEntityId"] = function#140, ["getSitelink"] = function#141, ["isValidEntityId"] = function#142, ["label"] = function#136, ["lexeme"] = table#88 { ["splitLexemeId"] = function#143, }, ["orderProperties"] = function#144, ["renderSnak"] = function#145, ["renderSnaks"] = function#146, ["resolvePropertyId"] = function#147, ["sitelink"] = function#141, }, }, ["next"] = function#148, ["os"] = table#89 { ["clock"] = function#149, ["date"] = function#150, ["difftime"] = function#151, ["time"] = function#152, }, ["package"] = table#90 { ["loaded"] = table#91 { ["Module:TableTools"] = table#92 { ["affixNums"] = function#153, ["compressSparseArray"] = function#154, ["isNan"] = function#155, ["isPositiveInteger"] = function#156, ["numData"] = function#157, ["numKeys"] = function#158, ["removeDuplicates"] = function#159, ["shallowClone"] = function#160, ["size"] = function#161, ["sparseIpairs"] = function#162, }, ["_G"] = table#1, ["debug"] = table#2, ["libraryUtil"] = table#93 { ["checkType"] = function#163, ["checkTypeForIndex"] = function#164, ["checkTypeForNamedArg"] = function#165, ["checkTypeMulti"] = function#166, ["makeCheckSelfFunction"] = function#167, }, ["math"] = table#3, ["mw"] = table#4, ["mw.ext.FlaggedRevs"] = table#6, ["mw.ext.ParserFunctions"] = table#7, ["mw.ext.TitleBlacklist"] = table#8, ["mw.ext.data"] = table#9, ["mw.hash"] = table#10, ["mw.html"] = table#11, ["mw.language"] = table#12, ["mw.message"] = table#13, ["mw.site"] = table#14, ["mw.text"] = table#81, ["mw.title"] = table#82, ["mw.uri"] = table#83, ["mw.ustring"] = table#84, ["mw.wikibase"] = table#85, ["mw.wikibase.entity"] = table#86, ["mw.wikibase.lexeme"] = table#88, ["os"] = table#89, ["package"] = table#90, ["string"] = table#94 { ["byte"] = function#101, ["char"] = function#168, ["find"] = function#169, ["format"] = function#106, ["gfind"] = function#170, ["gmatch"] = function#170, ["gsub"] = function#171, ["len"] = function#172, ["lower"] = function#173, ["match"] = function#174, ["rep"] = function#114, ["reverse"] = function#175, ["sub"] = function#176, ["ulower"] = function#112, ["upper"] = function#177, ["uupper"] = function#120, }, ["table"] = table#95 { ["concat"] = function#178, ["foreach"] = function#179, ["foreachi"] = function#180, ["getn"] = function#181, ["insert"] = function#182, ["maxn"] = function#183, ["remove"] = function#184, ["setn"] = function#185, ["sort"] = function#186, }, }, ["loaders"] = table#96 { function#187, function#188, }, ["preload"] = table#97 { }, ["seeall"] = function#189, }, ["pairs"] = function#190, ["pcall"] = function#191, ["rawequal"] = function#192, ["rawget"] = function#193, ["rawset"] = function#194, ["require"] = function#195, ["select"] = function#196, ["setmetatable"] = function#197, ["string"] = table#94, ["table"] = table#95, ["tonumber"] = function#198, ["tostring"] = function#199, ["type"] = function#200, ["unpack"] = function#201, ["xpcall"] = function#202,
}
- Done
- Gangleri also aka ·לערי ריינהארט·T·m:Th·T·email me· 10:01, 28 December 2015 (UTC)
more examples
[edit]soon
[edit]unfinished
[edit]tbc
[edit]{{#invoke:module|function|args}}
- generates:
{{#invoke:module|function|args}}
comments
[edit]- Module talk:First steps#MW lists the tables and functions of the global "mw" library
- Module talk:First steps#_G lists the tables and functions of the global "_G" library
- Best regards Gangleri also aka : Gangleri also aka ·לערי ריינהארט·T·m:Th·T·email me· 10:01, 28 December 2015 (UTC)
- end of page #top