Modul diskusija:Prěnje kroki

Letzter Kommentar: před 8 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 wobdźěłać

#top Předłoha:Purge

inspect_mw: MW 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 {
       ["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.43.0-wmf.2 (ce9d259)",
       ["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,
       },
       ["scriptPath"] = "/w",
       ["server"] = "//hsb.wikipedia.org",
       ["siteName"] = "Wikipedija",
       ["stats"] = table#58 {
           ["activeUsers"] = 25,
           ["admins"] = 4,
           ["articles"] = 13934,
           ["edits"] = 383099,
           ["files"] = 129,
           ["pages"] = 35624,
           ["pagesInCategory"] = function#35,
           ["pagesInNamespace"] = function#36,
           ["users"] = 25309,
           ["usersInGroup"] = function#37,
       },
       ["stylePath"] = "/w/skins",
       ["subjectNamespaces"] = table#59 {
           [-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,
       },
       ["talkNamespaces"] = table#60 {
           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,
       },
   },
   ["text"] = table#61 {
       ["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#62 {
       ["compare"] = function#52,
       ["equals"] = function#53,
       ["getCurrentTitle"] = function#54,
       ["makeTitle"] = function#55,
       ["new"] = function#56,
   },
   ["uri"] = table#63 {
       ["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#64 {
       ["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,
   },
   ["wikibase"] = table#65 {
       ["description"] = function#87,
       ["entity"] = table#66 {
           ["claimRanks"] = table#67 {
               ["RANK_DEPRECATED"] = 0,
               ["RANK_NORMAL"] = 1,
               ["RANK_PREFERRED"] = 2,
               ["RANK_TRUTH"] = 3,
           },
           ["create"] = function#88,
       },
       ["entityExists"] = function#89,
       ["formatValue"] = function#90,
       ["formatValues"] = function#91,
       ["getAllStatements"] = function#92,
       ["getBadges"] = function#93,
       ["getBestStatements"] = function#94,
       ["getDescription"] = function#87,
       ["getDescriptionByLang"] = function#95,
       ["getDescriptionWithLang"] = function#96,
       ["getEntity"] = function#97,
       ["getEntityIdForCurrentPage"] = function#98,
       ["getEntityIdForTitle"] = function#99,
       ["getEntityObject"] = function#97,
       ["getEntityUrl"] = function#100,
       ["getGlobalSiteId"] = function#101,
       ["getLabel"] = function#102,
       ["getLabelByLang"] = function#103,
       ["getLabelWithLang"] = function#104,
       ["getPropertyOrder"] = function#105,
       ["getReferencedEntityId"] = function#106,
       ["getSitelink"] = function#107,
       ["isValidEntityId"] = function#108,
       ["label"] = function#102,
       ["lexeme"] = table#68 {
           ["splitLexemeId"] = function#109,
       },
       ["orderProperties"] = function#110,
       ["renderSnak"] = function#111,
       ["renderSnaks"] = function#112,
       ["resolvePropertyId"] = function#113,
       ["sitelink"] = function#107,
   },

}

 sčinjene

Gangleri also aka ‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 1. januara 2016, 18:34 (CET)Wotmołwić

inspect__G: _G wobdźěłać

{{#invoke:Prěnje kroki|inspect__G}}
generates:
 pokazać / schować 
Skriptowy zmylk: Tajki modul "اPrěnje kroki" njeje.
 sčinjene

Gangleri also aka ‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 1. januara 2016, 18:34 (CET)Wotmołwić

more examples wobdźěłać

#top Předłoha:Purge

soon wobdźěłać

unfinished wobdźěłać

#top Předłoha:Purge

tbc wobdźěłać

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

comments wobdźěłać

"First steps" (meaning figuratively speaking "starting to walk") has here also me meaning of "introduction"
Best regards Gangleri also aka ‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 1. januara 2016, 18:34 (CET)Wotmołwić

to do's 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)Wotmołwić
end of page #top
Z Wikipedije, swobodneje encyklopedije
Wróćo k stronje "Prěnje kroki".