Modul diskusija:Prěnje kroki
Temu přidaćNapohlad
Letzter Kommentar: před 10 lětami von לערי ריינהארט in Abschnitt to do's

ns:829 · PAGEID: 30281 · links here · purge ↺ · section=0 ·#footer · REVISIONID: 329179 · 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 · 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:bar: 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:he: module · w:hsb: module · w:is: module · w:it: module · w:ko: module · w:pl: module · w:pt: module · w:mi: module · w:no: module · w:rmy: module · w:ro: module · w:ru: module · w:sv: module · w:sr: module · w:tn: module · w:tr: module · w:uk: module · w:yi: module · wm2016: module · wikt:ca: module · wikt:en: module · #kavehoyz · #lua · #mediawiki · #mediawiki-i18n · #wikimania
- →→ c:Module:TableTools talk · c:Module:TableTools/doc talk
- →→ betawiki:special:Translations/MediaWiki:Firststeps
simple example
[žórłowy tekst wobdźěłać]inspect_mw: MW
[žórłowy tekst wobdźěłać]{{#invoke:اPrěnje kroki|inspect_mw}}- generates:
pokazać / schować
- 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 {
["FALLBACK_MESSAGES"] = "FALLBACK_MESSAGES",
["FALLBACK_STRICT"] = "FALLBACK_STRICT",
["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"] = "Diskusija",
["subject"] = table#12,
["talk"] = table#14,
},
["canonicalName"] = "",
["displayName"] = "(Nastawki)",
["hasGenderDistinction"] = false,
["hasSubpages"] = false,
["id"] = 0,
["isCapitalized"] = true,
["isContent"] = true,
["isIncludable"] = true,
["isMovable"] = true,
["isSubject"] = true,
["isTalk"] = false,
["name"] = "",
["subject"] = table#12,
["talk"] = table#14,
},
},
["currentVersion"] = "1.46.0-wmf.7 (a35f889)",
["interwikiMap"] = function#34,
["namespaces"] = table#16 {
metatable = table#17
table#14,
table#18 {
["aliases"] = table#19 {
"Wužiwarka",
},
["associated"] = table#20 {
["aliases"] = table#21 {
"Diskusija_z_wužiwarku",
},
["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"] = "Diskusija z wužiwarjom",
["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"] = "Wužiwar",
["subject"] = table#18,
["talk"] = table#20,
},
table#20,
table#22 {
["aliases"] = table#23 {
"Wikipedia",
"WP",
},
["associated"] = table#24 {
["aliases"] = table#25 {
"Wikipedia_talk",
},
["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"] = "Wikipedija diskusija",
["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"] = "Wikipedija",
["subject"] = table#22,
["talk"] = table#24,
},
table#24,
table#26 {
["aliases"] = table#27 {
"Wobraz",
"Bild",
"Image",
},
["associated"] = table#28 {
["aliases"] = table#29 {
"Diskusija_k_wobrazej",
"Diskusija_wó_wobrazu",
"Bild_Diskussion",
"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"] = "Diskusija k dataji",
["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"] = "Dataja",
["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 diskusija",
["subject"] = table#30,
["talk"] = table#32,
},
["canonicalName"] = "MediaWiki",
["hasGenderDistinction"] = false,
["hasSubpages"] = true,
["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"] = "Diskusija k předłoze",
["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"] = "Předłoha",
["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"] = "Pomoc diskusija",
["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"] = "Pomoc",
["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"] = "Diskusija ke kategoriji",
["subject"] = table#42,
["talk"] = table#44,
},
["canonicalName"] = "Category",
["hasGenderDistinction"] = false,
["hasSubpages"] = false,
["id"] = 14,
["isCapitalized"] = true,
["isContent"] = false,
["isIncludable"] = true,
["isMovable"] = true,
["isSubject"] = true,
["isTalk"] = false,
["name"] = "Kategorija",
["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"] = "Specialnje",
["subject"] = table#48,
},
[0] = table#12,
[710] = table#50 {
["aliases"] = table#51 {
},
["associated"] = table#52 {
["aliases"] = table#53 {
},
["associated"] = table#50,
["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#50,
["talk"] = table#52,
},
["canonicalName"] = "TimedText",
["hasGenderDistinction"] = false,
["hasSubpages"] = false,
["id"] = 710,
["isCapitalized"] = true,
["isContent"] = false,
["isIncludable"] = true,
["isMovable"] = true,
["isSubject"] = true,
["isTalk"] = false,
["name"] = "TimedText",
["subject"] = table#50,
["talk"] = table#52,
},
[711] = table#52,
[828] = table#54 {
["aliases"] = table#55 {
},
["associated"] = table#56 {
["aliases"] = table#57 {
},
["associated"] = table#54,
["canonicalName"] = "Module talk",
["hasGenderDistinction"] = false,
["hasSubpages"] = true,
["id"] = 829,
["isCapitalized"] = true,
["isContent"] = false,
["isIncludable"] = true,
["isMovable"] = true,
["isSubject"] = false,
["isTalk"] = true,
["name"] = "Modul diskusija",
["subject"] = table#54,
["talk"] = table#56,
},
["canonicalName"] = "Module",
["hasGenderDistinction"] = false,
["hasSubpages"] = true,
["id"] = 828,
["isCapitalized"] = true,
["isContent"] = false,
["isIncludable"] = true,
["isMovable"] = true,
["isSubject"] = true,
["isTalk"] = false,
["name"] = "Modul",
["subject"] = table#54,
["talk"] = table#56,
},
[829] = table#56,
[1728] = table#58 {
["aliases"] = table#59 {
},
["associated"] = table#60 {
["aliases"] = table#61 {
},
["associated"] = table#58,
["canonicalName"] = "Event talk",
["hasGenderDistinction"] = false,
["hasSubpages"] = true,
["id"] = 1729,
["isCapitalized"] = true,
["isContent"] = false,
["isIncludable"] = true,
["isMovable"] = true,
["isSubject"] = false,
["isTalk"] = true,
["name"] = "Event talk",
["subject"] = table#58,
["talk"] = table#60,
},
["canonicalName"] = "Event",
["hasGenderDistinction"] = false,
["hasSubpages"] = true,
["id"] = 1728,
["isCapitalized"] = true,
["isContent"] = false,
["isIncludable"] = true,
["isMovable"] = true,
["isSubject"] = true,
["isTalk"] = false,
["name"] = "Event",
["subject"] = table#58,
["talk"] = table#60,
},
[1729] = table#60,
},
["scriptPath"] = "/w",
["server"] = "//hsb.wikipedia.org",
["siteName"] = "Wikipedija",
["stats"] = table#62 {
["activeUsers"] = 39,
["admins"] = 4,
["articles"] = 14217,
["edits"] = 388607,
["files"] = 126,
["pages"] = 36390,
["pagesInCategory"] = function#35,
["pagesInNamespace"] = function#36,
["users"] = 27561,
["usersInGroup"] = function#37,
},
["stylePath"] = "/w/skins",
["subjectNamespaces"] = table#63 {
[-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,
[710] = table#50,
[828] = table#54,
[1728] = table#58,
},
["talkNamespaces"] = table#64 {
table#14,
[3] = table#20,
[5] = table#24,
[7] = table#28,
[9] = table#32,
[11] = table#36,
[13] = table#40,
[15] = table#44,
[711] = table#52,
[829] = table#56,
[1729] = table#60,
},
},
["svg"] = table#65 {
["new"] = function#38,
},
["text"] = table#66 {
["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#67 {
["compare"] = function#53,
["equals"] = function#54,
["getCurrentTitle"] = function#55,
["makeTitle"] = function#56,
["new"] = function#57,
["newBatch"] = function#58,
},
["uri"] = table#68 {
["anchorEncode"] = function#59,
["buildQueryString"] = function#60,
["canonicalUrl"] = function#61,
["decode"] = function#62,
["encode"] = function#63,
["fullUrl"] = function#64,
["localUrl"] = function#65,
["new"] = function#66,
["parseQueryString"] = function#67,
["validate"] = function#68,
},
["ustring"] = table#69 {
["byte"] = function#69,
["byteoffset"] = function#70,
["char"] = function#71,
["codepoint"] = function#72,
["find"] = function#73,
["format"] = function#74,
["gcodepoint"] = function#75,
["gmatch"] = function#76,
["gsub"] = function#77,
["isutf8"] = function#78,
["len"] = function#79,
["lower"] = function#80,
["match"] = function#81,
["maxPatternLength"] = 10000,
["maxStringLength"] = 2097152,
["rep"] = function#82,
["sub"] = function#83,
["toNFC"] = function#84,
["toNFD"] = function#85,
["toNFKC"] = function#86,
["toNFKD"] = function#87,
["upper"] = function#88,
},
["wikibase"] = table#70 {
["description"] = function#89,
["entity"] = table#71 {
["claimRanks"] = table#72 {
["RANK_DEPRECATED"] = 0,
["RANK_NORMAL"] = 1,
["RANK_PREFERRED"] = 2,
["RANK_TRUTH"] = 3,
},
["create"] = function#90,
},
["entityExists"] = function#91,
["formatValue"] = function#92,
["formatValues"] = function#93,
["getAllStatements"] = function#94,
["getBadges"] = function#95,
["getBestStatements"] = function#96,
["getDescription"] = function#89,
["getDescriptionByLang"] = function#97,
["getDescriptionWithLang"] = function#98,
["getEntity"] = function#99,
["getEntityIdForCurrentPage"] = function#100,
["getEntityIdForTitle"] = function#101,
["getEntityObject"] = function#99,
["getEntityUrl"] = function#102,
["getGlobalSiteId"] = function#103,
["getLabel"] = function#104,
["getLabelByLang"] = function#105,
["getLabelWithLang"] = function#106,
["getPropertyOrder"] = function#107,
["getReferencedEntityId"] = function#108,
["getSitelink"] = function#109,
["isValidEntityId"] = function#110,
["label"] = function#104,
["lexeme"] = table#73 {
["splitLexemeId"] = function#111,
},
["orderProperties"] = function#112,
["renderSnak"] = function#113,
["renderSnaks"] = function#114,
["resolvePropertyId"] = function#115,
["setupInterface"] = function#116,
["sitelink"] = function#109,
},
}
- Gangleri also aka ·לערי ריינהארט·T·m:Th·T·email me· 1. januara 2016, 18:34 (CET)
inspect__G: _G
[žórłowy tekst wobdźěłać]{{#invoke:Prěnje kroki|inspect__G}}- generates:
pokazać / schować
- Skriptowy zmylk: Tajki modul "اPrěnje kroki" njeje.
- Gangleri also aka ·לערי ריינהארט·T·m:Th·T·email me· 1. januara 2016, 18:34 (CET)
more examples
[žórłowy tekst wobdźěłać]soon
[žórłowy tekst wobdźěłać]unfinished
[žórłowy tekst wobdźěłać]{{#invoke:module|function|args}}- generates:
{{#invoke:module|function|args}}
comments
[žórłowy tekst wobdźěłać]- "First steps" (meaning figuratively speaking "starting to walk") has here also me meaning of "introduction"
- Modul diskusija:Prěnje kroki#MW lists the tables and functions of the global "mw" library
- Modul diskusija:Prěnje kroki#_G lists the tables and functions of the global "_G" library
- Best regards Gangleri also aka ·לערי ריינהארט·T·m:Th·T·email me· 1. januara 2016, 18:34 (CET)
to do's
[žórłowy tekst wobdźěłać]- {{done|1=function "main01" should be changet to function "inspect_mw" and function "main23" should be changet to function "inspect__G"
- {{not done|1=Přełožić: Please translate the comment lines and the small text snippets used for paragraph names, "generates" etc. Thanks in advance!
- ·לערי ריינהארט·T·m:Th·T·email me· 1. januara 2016, 18:34 (CET)
- end of page #top