Jump to content

Module talk:First steps

From Wikimania 2016 • Esino Lario, Italy
Latest comment: 8 years ago by I18n in topic simple example

ns:829 · PAGEID: 5224 · links here · purge ↺ · section=0 ·#footer · REVISIONID: 14616 · 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

#top Template:Purge

main01: MW

{{#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 {
       ["ParserFunctions"] = table#3 {
           ["expr"] = function#6,
       },
       ["TitleBlacklist"] = table#4 {
           ["test"] = function#7,
       },
       ["data"] = table#5 {
           ["get"] = function#8,
       },
   },
   ["getContentLanguage"] = function#9,
   ["getCurrentFrame"] = function#10,
   ["getLanguage"] = function#11,
   ["hash"] = table#6 {
       ["hashValue"] = function#12,
       ["listAlgorithms"] = function#13,
   },
   ["html"] = table#7 {
       ["create"] = function#14,
   },
   ["incrementExpensiveFunctionCount"] = function#15,
   ["isSubsting"] = function#16,
   ["language"] = table#8 {
       ["fetchLanguageName"] = function#17,
       ["fetchLanguageNames"] = function#18,
       ["getContentLanguage"] = function#9,
       ["getFallbacksFor"] = function#19,
       ["isKnownLanguageTag"] = function#20,
       ["isSupportedLanguage"] = function#21,
       ["isValidBuiltInCode"] = function#22,
       ["isValidCode"] = function#23,
       ["new"] = function#11,
   },
   ["loadData"] = function#24,
   ["loadJsonData"] = function#25,
   ["log"] = function#26,
   ["logObject"] = function#27,
   ["message"] = table#9 {
       ["getDefaultLanguage"] = function#28,
       ["new"] = function#29,
       ["newFallbackSequence"] = function#30,
       ["newRawMessage"] = function#31,
       ["numParam"] = function#32,
       ["rawParam"] = function#33,
   },
   ["site"] = table#10 {
       ["contentNamespaces"] = table#11 {
           [0] = table#12 {
               ["aliases"] = table#13 {
               },
               ["associated"] = table#14 {
                   ["aliases"] = table#15 {
                   },
                   ["associated"] = table#12,
                   ["canonicalName"] = "Talk",
                   ["hasGenderDistinction"] = false,
                   ["hasSubpages"] = true,
                   ["id"] = 1,
                   ["isCapitalized"] = true,
                   ["isContent"] = false,
                   ["isIncludable"] = true,
                   ["isMovable"] = true,
                   ["isSubject"] = false,
                   ["isTalk"] = true,
                   ["name"] = "Talk",
                   ["subject"] = table#12,
                   ["talk"] = table#14,
               },
               ["canonicalName"] = "",
               ["displayName"] = "(Main)",
               ["hasGenderDistinction"] = false,
               ["hasSubpages"] = true,
               ["id"] = 0,
               ["isCapitalized"] = true,
               ["isContent"] = true,
               ["isIncludable"] = true,
               ["isMovable"] = true,
               ["isSubject"] = true,
               ["isTalk"] = false,
               ["name"] = "",
               ["subject"] = table#12,
               ["talk"] = table#14,
           },
       },
       ["currentVersion"] = "1.43.0-wmf.25 (92895a7)",
       ["interwikiMap"] = function#34,
       ["namespaces"] = table#16 {
           metatable = table#17
           table#14,
           table#18 {
               ["aliases"] = table#19 {
               },
               ["associated"] = table#20 {
                   ["aliases"] = table#21 {
                   },
                   ["associated"] = table#18,
                   ["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#18,
                   ["talk"] = table#20,
               },
               ["canonicalName"] = "User",
               ["hasGenderDistinction"] = true,
               ["hasSubpages"] = true,
               ["id"] = 2,
               ["isCapitalized"] = true,
               ["isContent"] = false,
               ["isIncludable"] = true,
               ["isMovable"] = true,
               ["isSubject"] = true,
               ["isTalk"] = false,
               ["name"] = "User",
               ["subject"] = table#18,
               ["talk"] = table#20,
           },
           table#20,
           table#22 {
               ["aliases"] = table#23 {
               },
               ["associated"] = table#24 {
                   ["aliases"] = table#25 {
                   },
                   ["associated"] = table#22,
                   ["canonicalName"] = "Project talk",
                   ["hasGenderDistinction"] = false,
                   ["hasSubpages"] = true,
                   ["id"] = 5,
                   ["isCapitalized"] = true,
                   ["isContent"] = false,
                   ["isIncludable"] = true,
                   ["isMovable"] = true,
                   ["isSubject"] = false,
                   ["isTalk"] = true,
                   ["name"] = "Wikimania talk",
                   ["subject"] = table#22,
                   ["talk"] = table#24,
               },
               ["canonicalName"] = "Project",
               ["hasGenderDistinction"] = false,
               ["hasSubpages"] = true,
               ["id"] = 4,
               ["isCapitalized"] = true,
               ["isContent"] = false,
               ["isIncludable"] = true,
               ["isMovable"] = true,
               ["isSubject"] = true,
               ["isTalk"] = false,
               ["name"] = "Wikimania",
               ["subject"] = table#22,
               ["talk"] = table#24,
           },
           table#24,
           table#26 {
               ["aliases"] = table#27 {
                   "Image",
               },
               ["associated"] = table#28 {
                   ["aliases"] = table#29 {
                       "Image_talk",
                   },
                   ["associated"] = table#26,
                   ["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#26,
                   ["talk"] = table#28,
               },
               ["canonicalName"] = "File",
               ["hasGenderDistinction"] = false,
               ["hasSubpages"] = false,
               ["id"] = 6,
               ["isCapitalized"] = true,
               ["isContent"] = false,
               ["isIncludable"] = true,
               ["isMovable"] = true,
               ["isSubject"] = true,
               ["isTalk"] = false,
               ["name"] = "File",
               ["subject"] = table#26,
               ["talk"] = table#28,
           },
           table#28,
           table#30 {
               ["aliases"] = table#31 {
               },
               ["associated"] = table#32 {
                   ["aliases"] = table#33 {
                   },
                   ["associated"] = table#30,
                   ["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#30,
                   ["talk"] = table#32,
               },
               ["canonicalName"] = "MediaWiki",
               ["hasGenderDistinction"] = false,
               ["hasSubpages"] = false,
               ["id"] = 8,
               ["isCapitalized"] = true,
               ["isContent"] = false,
               ["isIncludable"] = true,
               ["isMovable"] = true,
               ["isSubject"] = true,
               ["isTalk"] = false,
               ["name"] = "MediaWiki",
               ["subject"] = table#30,
               ["talk"] = table#32,
           },
           table#32,
           table#34 {
               ["aliases"] = table#35 {
               },
               ["associated"] = table#36 {
                   ["aliases"] = table#37 {
                   },
                   ["associated"] = table#34,
                   ["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#34,
                   ["talk"] = table#36,
               },
               ["canonicalName"] = "Template",
               ["hasGenderDistinction"] = false,
               ["hasSubpages"] = true,
               ["id"] = 10,
               ["isCapitalized"] = true,
               ["isContent"] = false,
               ["isIncludable"] = true,
               ["isMovable"] = true,
               ["isSubject"] = true,
               ["isTalk"] = false,
               ["name"] = "Template",
               ["subject"] = table#34,
               ["talk"] = table#36,
           },
           table#36,
           table#38 {
               ["aliases"] = table#39 {
               },
               ["associated"] = table#40 {
                   ["aliases"] = table#41 {
                   },
                   ["associated"] = table#38,
                   ["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#38,
                   ["talk"] = table#40,
               },
               ["canonicalName"] = "Help",
               ["hasGenderDistinction"] = false,
               ["hasSubpages"] = true,
               ["id"] = 12,
               ["isCapitalized"] = true,
               ["isContent"] = false,
               ["isIncludable"] = true,
               ["isMovable"] = true,
               ["isSubject"] = true,
               ["isTalk"] = false,
               ["name"] = "Help",
               ["subject"] = table#38,
               ["talk"] = table#40,
           },
           table#40,
           table#42 {
               ["aliases"] = table#43 {
               },
               ["associated"] = table#44 {
                   ["aliases"] = table#45 {
                   },
                   ["associated"] = table#42,
                   ["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#42,
                   ["talk"] = table#44,
               },
               ["canonicalName"] = "Category",
               ["hasGenderDistinction"] = false,
               ["hasSubpages"] = true,
               ["id"] = 14,
               ["isCapitalized"] = true,
               ["isContent"] = false,
               ["isIncludable"] = true,
               ["isMovable"] = true,
               ["isSubject"] = true,
               ["isTalk"] = false,
               ["name"] = "Category",
               ["subject"] = table#42,
               ["talk"] = table#44,
           },
           table#44,
           [-2] = table#46 {
               ["aliases"] = table#47 {
               },
               ["canonicalName"] = "Media",
               ["hasGenderDistinction"] = false,
               ["hasSubpages"] = false,
               ["id"] = -2,
               ["isCapitalized"] = true,
               ["isContent"] = false,
               ["isIncludable"] = true,
               ["isMovable"] = false,
               ["isSubject"] = true,
               ["isTalk"] = false,
               ["name"] = "Media",
               ["subject"] = table#46,
           },
           [-1] = table#48 {
               ["aliases"] = table#49 {
               },
               ["canonicalName"] = "Special",
               ["hasGenderDistinction"] = false,
               ["hasSubpages"] = false,
               ["id"] = -1,
               ["isCapitalized"] = true,
               ["isContent"] = false,
               ["isIncludable"] = true,
               ["isMovable"] = false,
               ["isSubject"] = true,
               ["isTalk"] = false,
               ["name"] = "Special",
               ["subject"] = table#48,
           },
           [0] = table#12,
           [100] = table#50 {
               ["aliases"] = table#51 {
               },
               ["associated"] = table#52 {
                   ["aliases"] = table#53 {
                   },
                   ["associated"] = table#50,
                   ["canonicalName"] = "Proceedings talk",
                   ["hasGenderDistinction"] = false,
                   ["hasSubpages"] = true,
                   ["id"] = 101,
                   ["isCapitalized"] = true,
                   ["isContent"] = false,
                   ["isIncludable"] = true,
                   ["isMovable"] = true,
                   ["isSubject"] = false,
                   ["isTalk"] = true,
                   ["name"] = "Proceedings talk",
                   ["subject"] = table#50,
                   ["talk"] = table#52,
               },
               ["canonicalName"] = "Proceedings",
               ["hasGenderDistinction"] = false,
               ["hasSubpages"] = true,
               ["id"] = 100,
               ["isCapitalized"] = true,
               ["isContent"] = false,
               ["isIncludable"] = true,
               ["isMovable"] = true,
               ["isSubject"] = true,
               ["isTalk"] = false,
               ["name"] = "Proceedings",
               ["subject"] = table#50,
               ["talk"] = table#52,
           },
           [101] = table#52,
           [710] = table#54 {
               ["aliases"] = table#55 {
               },
               ["associated"] = table#56 {
                   ["aliases"] = table#57 {
                   },
                   ["associated"] = table#54,
                   ["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#54,
                   ["talk"] = table#56,
               },
               ["canonicalName"] = "TimedText",
               ["hasGenderDistinction"] = false,
               ["hasSubpages"] = false,
               ["id"] = 710,
               ["isCapitalized"] = true,
               ["isContent"] = false,
               ["isIncludable"] = true,
               ["isMovable"] = true,
               ["isSubject"] = true,
               ["isTalk"] = false,
               ["name"] = "TimedText",
               ["subject"] = table#54,
               ["talk"] = table#56,
           },
           [711] = table#56,
           [828] = table#58 {
               ["aliases"] = table#59 {
               },
               ["associated"] = table#60 {
                   ["aliases"] = table#61 {
                   },
                   ["associated"] = table#58,
                   ["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#58,
                   ["talk"] = table#60,
               },
               ["canonicalName"] = "Module",
               ["hasGenderDistinction"] = false,
               ["hasSubpages"] = true,
               ["id"] = 828,
               ["isCapitalized"] = true,
               ["isContent"] = false,
               ["isIncludable"] = true,
               ["isMovable"] = true,
               ["isSubject"] = true,
               ["isTalk"] = false,
               ["name"] = "Module",
               ["subject"] = table#58,
               ["talk"] = table#60,
           },
           [829] = table#60,
           [1198] = table#62 {
               ["aliases"] = table#63 {
               },
               ["associated"] = table#64 {
                   ["aliases"] = table#65 {
                   },
                   ["associated"] = table#62,
                   ["canonicalName"] = "Translations talk",
                   ["hasGenderDistinction"] = false,
                   ["hasSubpages"] = true,
                   ["id"] = 1199,
                   ["isCapitalized"] = true,
                   ["isContent"] = false,
                   ["isIncludable"] = true,
                   ["isMovable"] = true,
                   ["isSubject"] = false,
                   ["isTalk"] = true,
                   ["name"] = "Translations talk",
                   ["subject"] = table#62,
                   ["talk"] = table#64,
               },
               ["canonicalName"] = "Translations",
               ["hasGenderDistinction"] = false,
               ["hasSubpages"] = true,
               ["id"] = 1198,
               ["isCapitalized"] = true,
               ["isContent"] = false,
               ["isIncludable"] = true,
               ["isMovable"] = true,
               ["isSubject"] = true,
               ["isTalk"] = false,
               ["name"] = "Translations",
               ["subject"] = table#62,
               ["talk"] = table#64,
           },
           [1199] = table#64,
       },
       ["scriptPath"] = "/w",
       ["server"] = "//wikimania2016.wikimedia.org",
       ["siteName"] = "Wikimania",
       ["stats"] = table#66 {
           ["activeUsers"] = 2,
           ["admins"] = 1,
           ["articles"] = 785,
           ["edits"] = 41438,
           ["files"] = 75,
           ["pages"] = 12651,
           ["pagesInCategory"] = function#35,
           ["pagesInNamespace"] = function#36,
           ["users"] = 13391,
           ["usersInGroup"] = function#37,
       },
       ["stylePath"] = "/w/skins",
       ["subjectNamespaces"] = table#67 {
           [-2] = table#46,
           [-1] = table#48,
           [0] = table#12,
           [2] = table#18,
           [4] = table#22,
           [6] = table#26,
           [8] = table#30,
           [10] = table#34,
           [12] = table#38,
           [14] = table#42,
           [100] = table#50,
           [710] = table#54,
           [828] = table#58,
           [1198] = table#62,
       },
       ["talkNamespaces"] = table#68 {
           table#14,
           [3] = table#20,
           [5] = table#24,
           [7] = table#28,
           [9] = table#32,
           [11] = table#36,
           [13] = table#40,
           [15] = table#44,
           [101] = table#52,
           [711] = table#56,
           [829] = table#60,
           [1199] = table#64,
       },
   },
   ["text"] = table#69 {
       ["JSON_PRESERVE_KEYS"] = 1,
       ["JSON_PRETTY"] = 4,
       ["JSON_TRY_FIXING"] = 2,
       ["decode"] = function#38,
       ["encode"] = function#39,
       ["gsplit"] = function#40,
       ["jsonDecode"] = function#41,
       ["jsonEncode"] = function#42,
       ["killMarkers"] = function#43,
       ["listToText"] = function#44,
       ["nowiki"] = function#45,
       ["split"] = function#46,
       ["tag"] = function#47,
       ["trim"] = function#48,
       ["truncate"] = function#49,
       ["unstrip"] = function#50,
       ["unstripNoWiki"] = function#51,
   },
   ["title"] = table#70 {
       ["compare"] = function#52,
       ["equals"] = function#53,
       ["getCurrentTitle"] = function#54,
       ["makeTitle"] = function#55,
       ["new"] = function#56,
   },
   ["uri"] = table#71 {
       ["anchorEncode"] = function#57,
       ["buildQueryString"] = function#58,
       ["canonicalUrl"] = function#59,
       ["decode"] = function#60,
       ["encode"] = function#61,
       ["fullUrl"] = function#62,
       ["localUrl"] = function#63,
       ["new"] = function#64,
       ["parseQueryString"] = function#65,
       ["validate"] = function#66,
   },
   ["ustring"] = table#72 {
       ["byte"] = function#67,
       ["byteoffset"] = function#68,
       ["char"] = function#69,
       ["codepoint"] = function#70,
       ["find"] = function#71,
       ["format"] = function#72,
       ["gcodepoint"] = function#73,
       ["gmatch"] = function#74,
       ["gsub"] = function#75,
       ["isutf8"] = function#76,
       ["len"] = function#77,
       ["lower"] = function#78,
       ["match"] = function#79,
       ["maxPatternLength"] = 10000,
       ["maxStringLength"] = 2097152,
       ["rep"] = function#80,
       ["sub"] = function#81,
       ["toNFC"] = function#82,
       ["toNFD"] = function#83,
       ["toNFKC"] = function#84,
       ["toNFKD"] = function#85,
       ["upper"] = function#86,
   },

}

Done

Gangleri also aka I18n (talk) 02:16, 3 January 2016 (UTC)Reply

main23: _G

{{#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 {
           ["ParserFunctions"] = table#6 {
               ["expr"] = function#39,
           },
           ["TitleBlacklist"] = table#7 {
               ["test"] = function#40,
           },
           ["data"] = table#8 {
               ["get"] = function#41,
           },
       },
       ["getContentLanguage"] = function#42,
       ["getCurrentFrame"] = function#43,
       ["getLanguage"] = function#44,
       ["hash"] = table#9 {
           ["hashValue"] = function#45,
           ["listAlgorithms"] = function#46,
       },
       ["html"] = table#10 {
           ["create"] = function#47,
       },
       ["incrementExpensiveFunctionCount"] = function#48,
       ["isSubsting"] = function#49,
       ["language"] = table#11 {
           ["fetchLanguageName"] = function#50,
           ["fetchLanguageNames"] = function#51,
           ["getContentLanguage"] = function#42,
           ["getFallbacksFor"] = function#52,
           ["isKnownLanguageTag"] = function#53,
           ["isSupportedLanguage"] = function#54,
           ["isValidBuiltInCode"] = function#55,
           ["isValidCode"] = function#56,
           ["new"] = function#44,
       },
       ["loadData"] = function#57,
       ["loadJsonData"] = function#58,
       ["log"] = function#59,
       ["logObject"] = function#60,
       ["message"] = table#12 {
           ["getDefaultLanguage"] = function#61,
           ["new"] = function#62,
           ["newFallbackSequence"] = function#63,
           ["newRawMessage"] = function#64,
           ["numParam"] = function#65,
           ["rawParam"] = function#66,
       },
       ["site"] = table#13 {
           ["contentNamespaces"] = table#14 {
               [0] = table#15 {
                   ["aliases"] = table#16 {
                   },
                   ["associated"] = table#17 {
                       ["aliases"] = table#18 {
                       },
                       ["associated"] = table#15,
                       ["canonicalName"] = "Talk",
                       ["hasGenderDistinction"] = false,
                       ["hasSubpages"] = true,
                       ["id"] = 1,
                       ["isCapitalized"] = true,
                       ["isContent"] = false,
                       ["isIncludable"] = true,
                       ["isMovable"] = true,
                       ["isSubject"] = false,
                       ["isTalk"] = true,
                       ["name"] = "Talk",
                       ["subject"] = table#15,
                       ["talk"] = table#17,
                   },
                   ["canonicalName"] = "",
                   ["displayName"] = "(Main)",
                   ["hasGenderDistinction"] = false,
                   ["hasSubpages"] = true,
                   ["id"] = 0,
                   ["isCapitalized"] = true,
                   ["isContent"] = true,
                   ["isIncludable"] = true,
                   ["isMovable"] = true,
                   ["isSubject"] = true,
                   ["isTalk"] = false,
                   ["name"] = "",
                   ["subject"] = table#15,
                   ["talk"] = table#17,
               },
           },
           ["currentVersion"] = "1.43.0-wmf.25 (92895a7)",
           ["interwikiMap"] = function#67,
           ["namespaces"] = table#19 {
               metatable = table#20
               table#17,
               table#21 {
                   ["aliases"] = table#22 {
                   },
                   ["associated"] = table#23 {
                       ["aliases"] = table#24 {
                       },
                       ["associated"] = table#21,
                       ["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#21,
                       ["talk"] = table#23,
                   },
                   ["canonicalName"] = "User",
                   ["hasGenderDistinction"] = true,
                   ["hasSubpages"] = true,
                   ["id"] = 2,
                   ["isCapitalized"] = true,
                   ["isContent"] = false,
                   ["isIncludable"] = true,
                   ["isMovable"] = true,
                   ["isSubject"] = true,
                   ["isTalk"] = false,
                   ["name"] = "User",
                   ["subject"] = table#21,
                   ["talk"] = table#23,
               },
               table#23,
               table#25 {
                   ["aliases"] = table#26 {
                   },
                   ["associated"] = table#27 {
                       ["aliases"] = table#28 {
                       },
                       ["associated"] = table#25,
                       ["canonicalName"] = "Project talk",
                       ["hasGenderDistinction"] = false,
                       ["hasSubpages"] = true,
                       ["id"] = 5,
                       ["isCapitalized"] = true,
                       ["isContent"] = false,
                       ["isIncludable"] = true,
                       ["isMovable"] = true,
                       ["isSubject"] = false,
                       ["isTalk"] = true,
                       ["name"] = "Wikimania talk",
                       ["subject"] = table#25,
                       ["talk"] = table#27,
                   },
                   ["canonicalName"] = "Project",
                   ["hasGenderDistinction"] = false,
                   ["hasSubpages"] = true,
                   ["id"] = 4,
                   ["isCapitalized"] = true,
                   ["isContent"] = false,
                   ["isIncludable"] = true,
                   ["isMovable"] = true,
                   ["isSubject"] = true,
                   ["isTalk"] = false,
                   ["name"] = "Wikimania",
                   ["subject"] = table#25,
                   ["talk"] = table#27,
               },
               table#27,
               table#29 {
                   ["aliases"] = table#30 {
                       "Image",
                   },
                   ["associated"] = table#31 {
                       ["aliases"] = table#32 {
                           "Image_talk",
                       },
                       ["associated"] = table#29,
                       ["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#29,
                       ["talk"] = table#31,
                   },
                   ["canonicalName"] = "File",
                   ["hasGenderDistinction"] = false,
                   ["hasSubpages"] = false,
                   ["id"] = 6,
                   ["isCapitalized"] = true,
                   ["isContent"] = false,
                   ["isIncludable"] = true,
                   ["isMovable"] = true,
                   ["isSubject"] = true,
                   ["isTalk"] = false,
                   ["name"] = "File",
                   ["subject"] = table#29,
                   ["talk"] = table#31,
               },
               table#31,
               table#33 {
                   ["aliases"] = table#34 {
                   },
                   ["associated"] = table#35 {
                       ["aliases"] = table#36 {
                       },
                       ["associated"] = table#33,
                       ["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#33,
                       ["talk"] = table#35,
                   },
                   ["canonicalName"] = "MediaWiki",
                   ["hasGenderDistinction"] = false,
                   ["hasSubpages"] = false,
                   ["id"] = 8,
                   ["isCapitalized"] = true,
                   ["isContent"] = false,
                   ["isIncludable"] = true,
                   ["isMovable"] = true,
                   ["isSubject"] = true,
                   ["isTalk"] = false,
                   ["name"] = "MediaWiki",
                   ["subject"] = table#33,
                   ["talk"] = table#35,
               },
               table#35,
               table#37 {
                   ["aliases"] = table#38 {
                   },
                   ["associated"] = table#39 {
                       ["aliases"] = table#40 {
                       },
                       ["associated"] = table#37,
                       ["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#37,
                       ["talk"] = table#39,
                   },
                   ["canonicalName"] = "Template",
                   ["hasGenderDistinction"] = false,
                   ["hasSubpages"] = true,
                   ["id"] = 10,
                   ["isCapitalized"] = true,
                   ["isContent"] = false,
                   ["isIncludable"] = true,
                   ["isMovable"] = true,
                   ["isSubject"] = true,
                   ["isTalk"] = false,
                   ["name"] = "Template",
                   ["subject"] = table#37,
                   ["talk"] = table#39,
               },
               table#39,
               table#41 {
                   ["aliases"] = table#42 {
                   },
                   ["associated"] = table#43 {
                       ["aliases"] = table#44 {
                       },
                       ["associated"] = table#41,
                       ["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#41,
                       ["talk"] = table#43,
                   },
                   ["canonicalName"] = "Help",
                   ["hasGenderDistinction"] = false,
                   ["hasSubpages"] = true,
                   ["id"] = 12,
                   ["isCapitalized"] = true,
                   ["isContent"] = false,
                   ["isIncludable"] = true,
                   ["isMovable"] = true,
                   ["isSubject"] = true,
                   ["isTalk"] = false,
                   ["name"] = "Help",
                   ["subject"] = table#41,
                   ["talk"] = table#43,
               },
               table#43,
               table#45 {
                   ["aliases"] = table#46 {
                   },
                   ["associated"] = table#47 {
                       ["aliases"] = table#48 {
                       },
                       ["associated"] = table#45,
                       ["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#45,
                       ["talk"] = table#47,
                   },
                   ["canonicalName"] = "Category",
                   ["hasGenderDistinction"] = false,
                   ["hasSubpages"] = true,
                   ["id"] = 14,
                   ["isCapitalized"] = true,
                   ["isContent"] = false,
                   ["isIncludable"] = true,
                   ["isMovable"] = true,
                   ["isSubject"] = true,
                   ["isTalk"] = false,
                   ["name"] = "Category",
                   ["subject"] = table#45,
                   ["talk"] = table#47,
               },
               table#47,
               [-2] = table#49 {
                   ["aliases"] = table#50 {
                   },
                   ["canonicalName"] = "Media",
                   ["hasGenderDistinction"] = false,
                   ["hasSubpages"] = false,
                   ["id"] = -2,
                   ["isCapitalized"] = true,
                   ["isContent"] = false,
                   ["isIncludable"] = true,
                   ["isMovable"] = false,
                   ["isSubject"] = true,
                   ["isTalk"] = false,
                   ["name"] = "Media",
                   ["subject"] = table#49,
               },
               [-1] = table#51 {
                   ["aliases"] = table#52 {
                   },
                   ["canonicalName"] = "Special",
                   ["hasGenderDistinction"] = false,
                   ["hasSubpages"] = false,
                   ["id"] = -1,
                   ["isCapitalized"] = true,
                   ["isContent"] = false,
                   ["isIncludable"] = true,
                   ["isMovable"] = false,
                   ["isSubject"] = true,
                   ["isTalk"] = false,
                   ["name"] = "Special",
                   ["subject"] = table#51,
               },
               [0] = table#15,
               [100] = table#53 {
                   ["aliases"] = table#54 {
                   },
                   ["associated"] = table#55 {
                       ["aliases"] = table#56 {
                       },
                       ["associated"] = table#53,
                       ["canonicalName"] = "Proceedings talk",
                       ["hasGenderDistinction"] = false,
                       ["hasSubpages"] = true,
                       ["id"] = 101,
                       ["isCapitalized"] = true,
                       ["isContent"] = false,
                       ["isIncludable"] = true,
                       ["isMovable"] = true,
                       ["isSubject"] = false,
                       ["isTalk"] = true,
                       ["name"] = "Proceedings talk",
                       ["subject"] = table#53,
                       ["talk"] = table#55,
                   },
                   ["canonicalName"] = "Proceedings",
                   ["hasGenderDistinction"] = false,
                   ["hasSubpages"] = true,
                   ["id"] = 100,
                   ["isCapitalized"] = true,
                   ["isContent"] = false,
                   ["isIncludable"] = true,
                   ["isMovable"] = true,
                   ["isSubject"] = true,
                   ["isTalk"] = false,
                   ["name"] = "Proceedings",
                   ["subject"] = table#53,
                   ["talk"] = table#55,
               },
               [101] = table#55,
               [710] = table#57 {
                   ["aliases"] = table#58 {
                   },
                   ["associated"] = table#59 {
                       ["aliases"] = table#60 {
                       },
                       ["associated"] = table#57,
                       ["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#57,
                       ["talk"] = table#59,
                   },
                   ["canonicalName"] = "TimedText",
                   ["hasGenderDistinction"] = false,
                   ["hasSubpages"] = false,
                   ["id"] = 710,
                   ["isCapitalized"] = true,
                   ["isContent"] = false,
                   ["isIncludable"] = true,
                   ["isMovable"] = true,
                   ["isSubject"] = true,
                   ["isTalk"] = false,
                   ["name"] = "TimedText",
                   ["subject"] = table#57,
                   ["talk"] = table#59,
               },
               [711] = table#59,
               [828] = table#61 {
                   ["aliases"] = table#62 {
                   },
                   ["associated"] = table#63 {
                       ["aliases"] = table#64 {
                       },
                       ["associated"] = table#61,
                       ["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#61,
                       ["talk"] = table#63,
                   },
                   ["canonicalName"] = "Module",
                   ["hasGenderDistinction"] = false,
                   ["hasSubpages"] = true,
                   ["id"] = 828,
                   ["isCapitalized"] = true,
                   ["isContent"] = false,
                   ["isIncludable"] = true,
                   ["isMovable"] = true,
                   ["isSubject"] = true,
                   ["isTalk"] = false,
                   ["name"] = "Module",
                   ["subject"] = table#61,
                   ["talk"] = table#63,
               },
               [829] = table#63,
               [1198] = table#65 {
                   ["aliases"] = table#66 {
                   },
                   ["associated"] = table#67 {
                       ["aliases"] = table#68 {
                       },
                       ["associated"] = table#65,
                       ["canonicalName"] = "Translations talk",
                       ["hasGenderDistinction"] = false,
                       ["hasSubpages"] = true,
                       ["id"] = 1199,
                       ["isCapitalized"] = true,
                       ["isContent"] = false,
                       ["isIncludable"] = true,
                       ["isMovable"] = true,
                       ["isSubject"] = false,
                       ["isTalk"] = true,
                       ["name"] = "Translations talk",
                       ["subject"] = table#65,
                       ["talk"] = table#67,
                   },
                   ["canonicalName"] = "Translations",
                   ["hasGenderDistinction"] = false,
                   ["hasSubpages"] = true,
                   ["id"] = 1198,
                   ["isCapitalized"] = true,
                   ["isContent"] = false,
                   ["isIncludable"] = true,
                   ["isMovable"] = true,
                   ["isSubject"] = true,
                   ["isTalk"] = false,
                   ["name"] = "Translations",
                   ["subject"] = table#65,
                   ["talk"] = table#67,
               },
               [1199] = table#67,
           },
           ["scriptPath"] = "/w",
           ["server"] = "//wikimania2016.wikimedia.org",
           ["siteName"] = "Wikimania",
           ["stats"] = table#69 {
               ["activeUsers"] = 2,
               ["admins"] = 1,
               ["articles"] = 785,
               ["edits"] = 41438,
               ["files"] = 75,
               ["pages"] = 12651,
               ["pagesInCategory"] = function#68,
               ["pagesInNamespace"] = function#69,
               ["users"] = 13391,
               ["usersInGroup"] = function#70,
           },
           ["stylePath"] = "/w/skins",
           ["subjectNamespaces"] = table#70 {
               [-2] = table#49,
               [-1] = table#51,
               [0] = table#15,
               [2] = table#21,
               [4] = table#25,
               [6] = table#29,
               [8] = table#33,
               [10] = table#37,
               [12] = table#41,
               [14] = table#45,
               [100] = table#53,
               [710] = table#57,
               [828] = table#61,
               [1198] = table#65,
           },
           ["talkNamespaces"] = table#71 {
               table#17,
               [3] = table#23,
               [5] = table#27,
               [7] = table#31,
               [9] = table#35,
               [11] = table#39,
               [13] = table#43,
               [15] = table#47,
               [101] = table#55,
               [711] = table#59,
               [829] = table#63,
               [1199] = table#67,
           },
       },
       ["text"] = table#72 {
           ["JSON_PRESERVE_KEYS"] = 1,
           ["JSON_PRETTY"] = 4,
           ["JSON_TRY_FIXING"] = 2,
           ["decode"] = function#71,
           ["encode"] = function#72,
           ["gsplit"] = function#73,
           ["jsonDecode"] = function#74,
           ["jsonEncode"] = function#75,
           ["killMarkers"] = function#76,
           ["listToText"] = function#77,
           ["nowiki"] = function#78,
           ["split"] = function#79,
           ["tag"] = function#80,
           ["trim"] = function#81,
           ["truncate"] = function#82,
           ["unstrip"] = function#83,
           ["unstripNoWiki"] = function#84,
       },
       ["title"] = table#73 {
           ["compare"] = function#85,
           ["equals"] = function#86,
           ["getCurrentTitle"] = function#87,
           ["makeTitle"] = function#88,
           ["new"] = function#89,
       },
       ["uri"] = table#74 {
           ["anchorEncode"] = function#90,
           ["buildQueryString"] = function#91,
           ["canonicalUrl"] = function#92,
           ["decode"] = function#93,
           ["encode"] = function#94,
           ["fullUrl"] = function#95,
           ["localUrl"] = function#96,
           ["new"] = function#97,
           ["parseQueryString"] = function#98,
           ["validate"] = function#99,
       },
       ["ustring"] = table#75 {
           ["byte"] = function#100,
           ["byteoffset"] = function#101,
           ["char"] = function#102,
           ["codepoint"] = function#103,
           ["find"] = function#104,
           ["format"] = function#105,
           ["gcodepoint"] = function#106,
           ["gmatch"] = function#107,
           ["gsub"] = function#108,
           ["isutf8"] = function#109,
           ["len"] = function#110,
           ["lower"] = function#111,
           ["match"] = function#112,
           ["maxPatternLength"] = 10000,
           ["maxStringLength"] = 2097152,
           ["rep"] = function#113,
           ["sub"] = function#114,
           ["toNFC"] = function#115,
           ["toNFD"] = function#116,
           ["toNFKC"] = function#117,
           ["toNFKD"] = function#118,
           ["upper"] = function#119,
       },
   },
   ["next"] = function#120,
   ["os"] = table#76 {
       ["clock"] = function#121,
       ["date"] = function#122,
       ["difftime"] = function#123,
       ["time"] = function#124,
   },
   ["package"] = table#77 {
       ["loaded"] = table#78 {
           ["Module:TableTools"] = table#79 {
               ["affixNums"] = function#125,
               ["compressSparseArray"] = function#126,
               ["isNan"] = function#127,
               ["isPositiveInteger"] = function#128,
               ["numData"] = function#129,
               ["numKeys"] = function#130,
               ["removeDuplicates"] = function#131,
               ["shallowClone"] = function#132,
               ["size"] = function#133,
               ["sparseIpairs"] = function#134,
           },
           ["_G"] = table#1,
           ["debug"] = table#2,
           ["libraryUtil"] = table#80 {
               ["checkType"] = function#135,
               ["checkTypeForIndex"] = function#136,
               ["checkTypeForNamedArg"] = function#137,
               ["checkTypeMulti"] = function#138,
               ["makeCheckSelfFunction"] = function#139,
           },
           ["math"] = table#3,
           ["mw"] = table#4,
           ["mw.ext.ParserFunctions"] = table#6,
           ["mw.ext.TitleBlacklist"] = table#7,
           ["mw.ext.data"] = table#8,
           ["mw.hash"] = table#9,
           ["mw.html"] = table#10,
           ["mw.language"] = table#11,
           ["mw.message"] = table#12,
           ["mw.site"] = table#13,
           ["mw.text"] = table#72,
           ["mw.title"] = table#73,
           ["mw.uri"] = table#74,
           ["mw.ustring"] = table#75,
           ["os"] = table#76,
           ["package"] = table#77,
           ["string"] = table#81 {
               ["byte"] = function#100,
               ["char"] = function#140,
               ["find"] = function#141,
               ["format"] = function#105,
               ["gfind"] = function#142,
               ["gmatch"] = function#142,
               ["gsub"] = function#143,
               ["len"] = function#144,
               ["lower"] = function#145,
               ["match"] = function#146,
               ["rep"] = function#113,
               ["reverse"] = function#147,
               ["sub"] = function#148,
               ["ulower"] = function#111,
               ["upper"] = function#149,
               ["uupper"] = function#119,
           },
           ["table"] = table#82 {
               ["concat"] = function#150,
               ["foreach"] = function#151,
               ["foreachi"] = function#152,
               ["getn"] = function#153,
               ["insert"] = function#154,
               ["maxn"] = function#155,
               ["remove"] = function#156,
               ["setn"] = function#157,
               ["sort"] = function#158,
           },
       },
       ["loaders"] = table#83 {
           function#159,
           function#160,
       },
       ["preload"] = table#84 {
       },
       ["seeall"] = function#161,
   },
   ["pairs"] = function#162,
   ["pcall"] = function#163,
   ["rawequal"] = function#164,
   ["rawget"] = function#165,
   ["rawset"] = function#166,
   ["require"] = function#167,
   ["select"] = function#168,
   ["setmetatable"] = function#169,
   ["string"] = table#81,
   ["table"] = table#82,
   ["tonumber"] = function#170,
   ["tostring"] = function#171,
   ["type"] = function#172,
   ["unpack"] = function#173,
   ["xpcall"] = function#174,

}

Done

Gangleri also aka I18n (talk) 02:16, 3 January 2016 (UTC)Reply

more examples

#top Template:Purge

soon

unfinished

#top Template:Purge

tbc

{{#invoke:module|function|args}}
generates:
{{#invoke:module|function|args}}

comments

Best regards Gangleri also aka I18n (talk) 03:31, 28 December 2015 (UTC)Reply
end of page #top