Wikipedia pdcwiki https://pdc.wikipedia.org/wiki/Haaptblatt MediaWiki 1.47.0-wmf.18 first-letter Medium Spezial Dischbedutt Yuuser Yuuser Dischbedutt Wikipedia Wikipedia Dischbedutt Feil Feil Dischbedutt MediaWiki MediaWiki Dischbedutt Moddel Moddel Dischbedutt Hilf Hilf Dischbedutt Abdeeling Abdeeling Dischbedutt TimedText TimedText talk Modul Modul Diskussion Veranstaltung Veranstaltung Diskussion Hauptblaett 0 62 108204 108079 2026-09-04T09:36:21Z Jcb 39830 108204 wikitext text/x-wiki {| bgcolor="#FFFFFF" cellspacing="6" | width="50%" style="border: 1px solid #114488; vertical-align: top;" bgcolor="#F7F5D3" | {| cellspacing="0" cellpadding="6" style="font-size: 1.0em;" |- | align="left" bgcolor="#f8f8ff"| '''Vilkum zu 's Wikipedeli in <span style="color:blue;">Deitsh!</span>''' Des Wikipedeli do is en project fa en uffgukkbichli uffbaua in [[Pennsilfaanisch-Hochdeitsch|<span style="color:blue;">Pennsylvania Deitsh</span>]]. Du bisht eiglawda fa helfa mit. Siddah em Tshoolei 2005 sin miah do, un nau hen miah '''{{NUMBEROFARTICLES}} ardikkela''' in di do deitsh enseiklopaydeeya. {{Hauptblaett}}<br /> |} {| cellspacing="0" cellpadding="6" style="font-size: 1.0em;" | style="text-align: center; background: #114488; color: #ffffff;" | |- | | == Vas vitt uffgooka? == {{Haaptblatt/vSumm}} |} | bgcolor="#a4e8fe" rowspan="2" style="border: 1px solid #006699; vertical-align: top;" | {| cellspacing="0" cellpadding="6" style="font-size: 1.0em;" |- | style="font-size: 0.9em;" bgcolor="#ccffff" | '''Ardikkela fa 's freeyoah''' {{vArdickel_fer_die_Woch}} |} {| cellspacing="0" cellpadding="6" style="font-size: 0.9em;" | style="text-align: center; background: #114488; color: #ffffff;" | |- | bgcolor="#fff3f3" | '''Vadda-Scheiyah''' {{vKDLS-kadro}} |} {| cellspacing="0" cellpadding="6" style="font-size: 0.9em;" | style="text-align: center; background: #114488; color: #ffffff;" | |- |style="font-size: 1.0em;" bgcolor="#a4e8fe" | '''Feddahbortsh Neiichkayda''' {{Haaptblatt/Vedderbortsch Neiichkeede}}<br /> |} |} {| bgcolor="#FFFFFF" valign="top" cellspacing="6" | bgcolor="#CCEEE7" width="50%" style="border: thin solid #006699; vertical-align: top;" | {| cellspacing="0" cellpadding="6" |- | style="font-size: 0.9em; text-align: left; vertical-align: top;" width="45%" bgcolor="#CCEEE7" | |} | bgcolor="#CCEEE7" style="border: thin solid #006699; vertical-align: top;" | {| cellspacing="0" cellpadding="6" |- | style="font-size: 0.9em; vertical-align: top;" bgcolor="#CCEEE7" | |} |- | colspan="2" height="24" style="border: thin solid #006699;" | {| cellspacing="3" bgcolor="#FFFFFF" width="100%" align="center" class="noprint MainPageBG" style="border-bottom: medium double #AAAAAA; border-top: medium double #AAAAAA;" |- valign="center" |style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small; color: #666666; text-align: center;"| Cause miah sin all drei deitshe bleddah, di deitsh enseiklopaydeeya unnahshtitzt [http://www.hiwwe-wie-driwwe.de <span style="color:blue;">Hivva vee Drivva</span>] di deitsh zeiding, un unnahshtitzt di [https://web.archive.org/web/20201105232135/http://www.pgs.org/ <span style="color:blue;">Pennsylvania Deitsh ksellshaft </span>]. Hoff du bsuchsht. |} |} <!--fine interlink --> <div style="margin: 0; margin-top:10px; margin-right:10px; border: 1px solid #F2F3F5; padding: 0em 1em 1em 1em; background-color:#ffffff "> '''Pennsylvania Deitsh'''<br /> Pennsylvania Deitsh, es aw Pennsylvania German, Pennsylvania Dutch odder Pennsilfaanisch genennt vatt, is en shprohch, vo kshvetzt vatt bei fleicht 300,000 leit in may vee 20 shtayts in di USA un in Ontario (Canada). Di maynshta shvetsah sin heit amisha un Fuahramennishda, vo deitsh aw heit noch shvetsa zu iahra kinnah, avvah's gebt aw en latt luthrisha un reformierda, vo di muddahshprohch noch kshvetzt hen, vee si en kind voahra. <div align="right"><span style="font-size:90%;">'''veidah laysa: [[Pennsilfaanisch-Hochdeitsch]]'''</span></div> </div> <div style="margin: 0; margin-top:10px; margin-right:10px; border: 1px solid #95733a; padding: 0em 1em 1em 1em; background-color:#000000 "> <br /> </div> {{Haaptblatt/vSchprooche}} <div align="center"><span style="font-size:90%;">''Unsah shtori in unsah alda shprohch''</span></div> __NOTOC__ __NOEDITSECTION__ [[Abdeeling:!Haaptabdeeling]] fd5xsy2kzduui2u37yl8itzll9a7dt5 Denemarrick 0 1815 108207 107932 2026-09-04T09:39:53Z Jcb 39830 108207 wikitext text/x-wiki {| border="1" width="275" cellspacing="0" cellpadding="0" style="background: #f3fff3; border: 1px solid #C6C9FF; float: right; margin: 0em 0em 0em 0.5em;" ! style="background: #CCCCFF; border: 1px solid #C6C9FF;" | Kongeriget Danmark |- | {| border="0" width="100%" cellspacing="0" cellpadding="4" |- align="center" | [[Feil:Flag of Denmark.svg|125px|Faahne]] | [[Feil:National coat of arms of Denmark.svg|75px|Coat of Arms]] |- align="center" | Official Faahne | Official Coat of Arms |} |- ! style="background: #CCCCFF; border: 1px solid #C6C9FF;" | National Information |- | {| border="0" width="100%" cellspacing="0" cellpadding="4" style="background: #f3fff3;" |- | style="border: 1px solid #C6C9FF;" | National [[Saages]]: | style="border: 1px solid #C6C9FF;" | |- | style="border: 1px solid #C6C9FF; white-space: nowrap;" | [[National]]:<br />([[Korgesang]]) | style="border: 1px solid #C6C9FF;" | Der er et yndigt land |} |- ! style="background: #CCCCFF; border: 1px solid #C6C9FF;" | Baut die [[Leit]] |- | {| border="0" width="100%" cellspacing="0" cellpadding="4" style="background: #f3fff3;" |- | style="border: 1px solid #C6C9FF;" | Official Schprooche: | style="border: 1px solid #C6C9FF;" | {{{Official Schprooche|}}} |- valign="top" | style="border: 1px solid #C6C9FF;" | [[Eiwuhner]]:<br /> | style="border: 1px solid #C6C9FF;" | * Total: 5,447,084 <br />(ranked #{{{populationrank}}}) * Density: {{{populationdensity}}} per [[Square kilometre|km²]] |} |- ! style="background: #CCCCFF; border: 1px solid #C6C9FF;" | [[Tschieyaagrafie]] / [[Blatz|Bletz]] |- | {| border="0" width="100%" cellspacing="0" cellpadding="4" style="background: #f3fff3;" |- | colspan="2" align="center" style="border: 1px solid #C6C9FF;" | [[Feil:EU_location_DEN.png|250px|ohne|country map]] Do iss es Land uff me Landkord. |- | style="border: 1px solid #C6C9FF;" | [[Haaptschtadt]]: | style="border: 1px solid #C6C9FF;" | [[Kopenhagen]] |- | style="border: 1px solid #C6C9FF;" | Greeschde [[Schtadt]]: | style="border: 1px solid #C6C9FF;" | Kopenhagen |- valign="top" | style="border: 1px solid #C6C9FF;" | [[Grees]] | style="border: 1px solid #C6C9FF;" | * Total: 43,094<br />(ranked #{{{arearank}}}) * [[Wasser]]: {{{areawater}}} [[Square kilometre|km²]] ({{{areawaterpercent}}}%) |} |- ! style="background: #CCCCFF; border: 1px solid #C6C9FF;" | [[Ballidix]] / [[Owwerichkeit]] |- | {| border="0" width="100%" cellspacing="0" cellpadding="4" style="background: #f3fff3;" |- | style="border: 1px solid #C6C9FF;" | [[Establishment|Established]]: | style="border: 1px solid #C6C9FF;" | {{{establishedin}}} |- | style="border: 1px solid #C6C9FF;" | [[Leader]]s: | style="border: 1px solid #C6C9FF;" | {{{leadertitlename}}} |} |- ! style="background: #CCCCFF; border: 1px solid #C6C9FF;" | [[Economy]] / [[Geld]] |- | {| border="0" width="100%" cellspacing="0" cellpadding="4" style="background: #f3fff3;" |- | style="border: 1px solid #C6C9FF;" | [[Currency]]:<br />(Naame fer ihre [[Geld]]) | style="border: 1px solid #C6C9FF;" | Krone |} |- ! style="background: #CCCCFF; border: 1px solid #C6C9FF;" | [[International]] [[Auskunft]] |- | {| border="0" width="100%" cellspacing="0" cellpadding="4" style="background: #f3fff3;" |- | style="border: 1px solid #C6C9FF;" | [[Time zone]]: | style="border: 1px solid #C6C9FF;" | [[UTC]]+01:00 |- | style="border: 1px solid #C6C9FF;" | [[Telephone]] [[List of country calling codes|dialing code]]: | style="border: 1px solid #C6C9FF;" | 45 |- | style="border: 1px solid #C6C9FF;" | [[List of Internet top-level domains|Internet]] domain: | style="border: 1px solid #C6C9FF;" | .dk |} |} '''Denemarrick''' iss en Land in [[Eiropaa]]. {{Commonscat|Denmark}} {{Eiropaa}} [[Abdeeling:Lenner in Eiropaa]] 1wkwopidrk890jvlsma2eafjbobltj4 Donald Trump 0 2693 108200 107817 2026-09-04T05:57:15Z ~2026-45327-13 40092 108200 wikitext text/x-wiki {{SORTIERUNG:Trump, Donald}} [[Abdeeling:Gebore 1946]] [[Abdeeling:Mann]] [[Abdeeling:Ballidischeners]] 5xodgyltyckr86t6mnxf4mpuly9f7bg 108201 108200 2026-09-04T05:57:26Z NDG 37306 Änderung von [[Special:Contributions/~2026-45327-13|~2026-45327-13]] ([[User talk:~2026-45327-13|Diskussion]]) wurde auf die letzte Version von [[User:Dostojewskij|Dostojewskij]] zurückgesetzt 107817 wikitext text/x-wiki [[Feil:TRUST IN TRUMP - The White House (portrait cropped).jpg|thumb|Donald Trump (2026)]] De '''Donald John Trump''' (* 14. Juni 1946 in [[Nei Yarrick Schtadt]] ([[Amerikaa|Schteets]])) iss en amerikaanischer [[Unnernähmer]]. Sitter Yenner 2017 isch er de President vun de [[Schteets]]. Donald Trump hod deitsche Voreldre, sei Groosfadder zum Beischpiel iss vun [[Kallschdadt]]. {{Commonscat}} {{SORTIERUNG:Trump, Donald}} [[Abdeeling:Gebore 1946]] [[Abdeeling:Mann]] [[Abdeeling:Ballidischeners]] n7mlvy6hbqv9g0c6rb8u0j315op6fi7 Haaptblatt 0 3600 108202 108080 2026-09-04T09:32:57Z Jcb 39830 108202 wikitext text/x-wiki {{nobots}} <div class="plainlinks"> <!-- Velkommen --> {{Haaptblatt/Introtext}} {{Forside Kategorilinje}} {| bgcolor="#FFFFFF" cellspacing="6" | width="50%" style="border: 1px solid #114488; vertical-align: top;" bgcolor="#F7F5D3" | {| cellspacing="0" cellpadding="6" style="font-size: 1.0em;" |- | align="left" bgcolor="#f8f8ff"| '''<span style="color:blue;">Wilkum</span> zu der Wikipedia in Deitsch!''' [[Datei:Pennsylvania German Sticker.svg|left|150px|Mer schwetze noch die Mudderschprooch]] Des Wikipedelche do iss en Project fer en Uffguckbichli uffbaue in [[Pennsilfaanisch Deitsch|<span style="color:blue;">Pennsilfaanisch Deitsch</span>]]. Du bischt eiglaade fer mithelfe. Sidder em Tschulei 2005 sinn mir do, unn nau henn mir '''[[Special:PrefixIndex|{{NUMBEROFARTICLES}}]] Ardickele''' in dem do deitsche Uffguckbichli. {{Haaptblatt/Wilkum}}<br /> |} {| cellspacing="0" cellpadding="6" style="font-size: 1.0em;" | style="text-align: center; background: #114488; color: #ffffff;" | |- | | '''Was wittscht uffgucke?''' {{Haaptblatt/Summ}} |} | bgcolor="#a4e8fe" rowspan="2" style="border: 1px solid #006699; vertical-align: top;" | {| cellspacing="0" cellpadding="6" style="font-size: 1.0em;" |- | style="font-size: 0.9em;" bgcolor="#ccffff" | <p style="font-size: 1.1em">'''Ardickel fer de Munet'''</p> {{Haaptblaat/Ardickel fer de Munet}} |} {| cellspacing="0" cellpadding="6" style="font-size: 0.9em;" | style="text-align: center; background: #114488; color: #ffffff;" | |- | bgcolor="#fff3f3" | <p style="font-size: 1.1em">'''Wadde-Scheier'''</p> {{Haaptblatt/Wadde-Scheier}} |} {| cellspacing="0" cellpadding="6" style="font-size: 0.9em;" | style="text-align: center; background: #114488; color: #ffffff;" | |- |style="font-size: 1.0em;" bgcolor="#a4e8fe" | <p style="font-size: 1.1em">'''Vedderbortsch Neiichkeede''' </p>{{Haaptblatt/Vedderbortsch Neiichkeede}}<br/> ­ |} |} {| bgcolor="#FFFFFF" valign="top" cellspacing="6" |- | colspan="2" height="24" style="border: thin solid #006699;" | {| cellspacing="3" bgcolor="#FFFFFF" width="100%" align="center" class="noprint MainPageBG" style="border-bottom: medium double #AAAAAA; border-top: medium double #AAAAAA;" |- valign="center" |style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small; color: #666666; text-align: center;"| Cause mir sinn all deitsche Bledder, es pennsilfaanisch-deitsch Uffguckbichli "pdc.wikipedia.org" watt unnerschtitzt bei 'm [http://www.pennsylvanien.de <span style="color:blue;">Deutsch-Pennsylvanischer Arbeitskreis e.V.</span>]; die pennsylvaanisch-deitsch Zeiding [http://www.hiwwe-wie-driwwe.de/ <span style="color:blue;">Hiwwe wie Driwwe</span>]; es Blatt [http://midatlantic.rootsweb.com/padutch/ <span style="color:blue;">P.A. Dutch Family History</span>]; der deitsch Wandel [http://www.deitscherei.org/ <span style="color:blue;">deitscherei.org</span>]; [http://home.ptd.net/~tconrad1/dutch_main.html <span style="color:blue;">PA Dutch Dialect Project</span>] un endlich [http://www.amisch.de/ <span style="color:blue;">das Pennsylvaniadeitsch Board</span>]. Hoff du bsuchscht. |} |} <div align="center"> [[Datei:Deitscherei-Schild.PNG|750px|Deitscherei]] </div> {{PAD}} <div style="margin: 0; margin-top:10px; margin-right:10px; border: 1px solid #95733a; padding: 0em 1em 1em 1em; background-color:#000000 "> <br /> </div> == Schweschder Projects == {{Haaptblatt/Schweschder Projects}} __NOTOC__ __NOEDITSECTION__ [[Kategorie:!Haaptabdeeling| ]] i0x46fu2iehsc1iax7i4wvanusk5rv1 108203 108202 2026-09-04T09:34:49Z Jcb 39830 108203 wikitext text/x-wiki {{nobots}} <div class="plainlinks"> <!-- Velkommen --> {{Haaptblatt/Introtext}} {{Forside Kategorilinje}} {| bgcolor="#FFFFFF" cellspacing="6" | width="50%" style="border: 1px solid #114488; vertical-align: top;" bgcolor="#F7F5D3" | {| cellspacing="0" cellpadding="6" style="font-size: 1.0em;" |- | align="left" bgcolor="#f8f8ff"| '''<span style="color:blue;">Wilkum</span> zu der Wikipedia in Deitsch!''' [[Datei:Pennsylvania German Sticker.svg|left|150px|Mer schwetze noch die Mudderschprooch]] Des Wikipedelche do iss en Project fer en Uffguckbichli uffbaue in [[Pennsilfaanisch Deitsch|<span style="color:blue;">Pennsilfaanisch Deitsch</span>]]. Du bischt eiglaade fer mithelfe. Sidder em Tschulei 2005 sinn mir do, unn nau henn mir '''[[Special:PrefixIndex|{{NUMBEROFARTICLES}}]] Ardickele''' in dem do deitsche Uffguckbichli. {{Haaptblatt/Wilkum}}<br /> |} {| cellspacing="0" cellpadding="6" style="font-size: 1.0em;" | style="text-align: center; background: #114488; color: #ffffff;" | |- | | '''Was wittscht uffgucke?''' {{Haaptblatt/Summ}} |} | bgcolor="#a4e8fe" rowspan="2" style="border: 1px solid #006699; vertical-align: top;" | {| cellspacing="0" cellpadding="6" style="font-size: 1.0em;" |- | style="font-size: 0.9em;" bgcolor="#ccffff" | '''Ardickel fer de Munet''' {{Haaptblaat/Ardickel fer de Munet}} |} {| cellspacing="0" cellpadding="6" style="font-size: 0.9em;" | style="text-align: center; background: #114488; color: #ffffff;" | |- | bgcolor="#fff3f3" | '''Wadde-Scheier''' {{Haaptblatt/Wadde-Scheier}} |} {| cellspacing="0" cellpadding="6" style="font-size: 0.9em;" | style="text-align: center; background: #114488; color: #ffffff;" | |- |style="font-size: 1.0em;" bgcolor="#a4e8fe" | '''Vedderbortsch Neiichkeede''' {{Haaptblatt/Vedderbortsch Neiichkeede}}<br/> ­ |} |} {| bgcolor="#FFFFFF" valign="top" cellspacing="6" |- | colspan="2" height="24" style="border: thin solid #006699;" | {| cellspacing="3" bgcolor="#FFFFFF" width="100%" align="center" class="noprint MainPageBG" style="border-bottom: medium double #AAAAAA; border-top: medium double #AAAAAA;" |- valign="center" |style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: small; color: #666666; text-align: center;"| Cause mir sinn all deitsche Bledder, es pennsilfaanisch-deitsch Uffguckbichli "pdc.wikipedia.org" watt unnerschtitzt bei 'm [http://www.pennsylvanien.de <span style="color:blue;">Deutsch-Pennsylvanischer Arbeitskreis e.V.</span>]; die pennsylvaanisch-deitsch Zeiding [http://www.hiwwe-wie-driwwe.de/ <span style="color:blue;">Hiwwe wie Driwwe</span>]; es Blatt [http://midatlantic.rootsweb.com/padutch/ <span style="color:blue;">P.A. Dutch Family History</span>]; der deitsch Wandel [http://www.deitscherei.org/ <span style="color:blue;">deitscherei.org</span>]; [http://home.ptd.net/~tconrad1/dutch_main.html <span style="color:blue;">PA Dutch Dialect Project</span>] un endlich [http://www.amisch.de/ <span style="color:blue;">das Pennsylvaniadeitsch Board</span>]. Hoff du bsuchscht. |} |} <div align="center"> [[Datei:Deitscherei-Schild.PNG|750px|Deitscherei]] </div> {{PAD}} <div style="margin: 0; margin-top:10px; margin-right:10px; border: 1px solid #95733a; padding: 0em 1em 1em 1em; background-color:#000000 "> <br /> </div> == Schweschder Projects == {{Haaptblatt/Schweschder Projects}} __NOTOC__ __NOEDITSECTION__ [[Kategorie:!Haaptabdeeling| ]] 48a01433bk7r6b5fcxvumjyy229dp6o Concepción (Province) 0 7755 108206 108034 2026-09-04T09:38:57Z Jcb 39830 108206 wikitext text/x-wiki [[Feil:Txu-oclc-224571178-sj18-04.jpg|thumb|250px|right|Concepción (Province)]] [[Feil:Provincia de Concepción.svg|240px|thumb|right|Concepción (Province)]] '''Concepción''' iss en Province in [[Biobío Region]], in [[Chile]], mit baut 967.757 Eiwuhner in [[2012]]. [[Concepción]] iss die [[Haaptschtadt]] vun de Province. == Gewebbgleecher == {{Commons|Category:Concepción Province, Chile|Concepción (Province)}} [[Abdeeling:Province vun Chile|Biobío]] 9ubsi8b5yi90qzihuej01rxqg0qfun8 Modul:TableTools 828 9058 108198 102953 2026-09-03T13:05:07Z Hamish 26151 Update from [[d:Special:GoToLinkedPage/enwiki/Q15408619|master]] using [[mw:Synchronizer| #Synchronizer]] 108198 Scribunto text/plain ------------------------------------------------------------------------------------ -- TableTools -- -- -- -- This module includes a number of functions for dealing with Lua tables. -- -- It is a meta-module, meant to be called from other Lua modules, and should not -- -- be called directly from #invoke. -- ------------------------------------------------------------------------------------ local libraryUtil = require('libraryUtil') local p = {} -- Define often-used variables and functions. local floor = math.floor local infinity = math.huge local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti ------------------------------------------------------------------------------------ -- isPositiveInteger -- -- This function returns true if the given value is a positive integer, and false -- if not. Although it doesn't operate on tables, it is included here as it is -- useful for determining whether a given table key is in the array part or the -- hash part of a table. ------------------------------------------------------------------------------------ function p.isPositiveInteger(v) return type(v) == 'number' and v >= 1 and floor(v) == v and v < infinity end ------------------------------------------------------------------------------------ -- isNan -- -- This function returns true if the given number is a NaN value, and false if -- not. Although it doesn't operate on tables, it is included here as it is useful -- for determining whether a value can be a valid table key. Lua will generate an -- error if a NaN is used as a table key. ------------------------------------------------------------------------------------ function p.isNan(v) return type(v) == 'number' and v ~= v end ------------------------------------------------------------------------------------ -- shallowClone -- -- This returns a clone of a table. The value returned is a new table, but all -- subtables and functions are shared. Metamethods are respected, but the returned -- table will have no metatable of its own. ------------------------------------------------------------------------------------ function p.shallowClone(t) checkType('shallowClone', 1, t, 'table') local ret = {} for k, v in pairs(t) do ret[k] = v end return ret end ------------------------------------------------------------------------------------ -- removeDuplicates -- -- This removes duplicate values from an array. Non-positive-integer keys are -- ignored. The earliest value is kept, and all subsequent duplicate values are -- removed, but otherwise the array order is unchanged. ------------------------------------------------------------------------------------ function p.removeDuplicates(arr) checkType('removeDuplicates', 1, arr, 'table') local isNan = p.isNan local ret, exists = {}, {} for _, v in ipairs(arr) do if isNan(v) then -- NaNs can't be table keys, and they are also unique, so we don't need to check existence. ret[#ret + 1] = v elseif not exists[v] then ret[#ret + 1] = v exists[v] = true end end return ret end ------------------------------------------------------------------------------------ -- numKeys -- -- This takes a table and returns an array containing the numbers of any numerical -- keys that have non-nil values, sorted in numerical order. ------------------------------------------------------------------------------------ function p.numKeys(t) checkType('numKeys', 1, t, 'table') local isPositiveInteger = p.isPositiveInteger local nums = {} for k in pairs(t) do if isPositiveInteger(k) then nums[#nums + 1] = k end end table.sort(nums) return nums end ------------------------------------------------------------------------------------ -- affixNums -- -- This takes a table and returns an array containing the numbers of keys with the -- specified prefix and suffix. For example, for the table -- {a1 = 'foo', a3 = 'bar', a6 = 'baz'} and the prefix "a", affixNums will return -- {1, 3, 6}. ------------------------------------------------------------------------------------ function p.affixNums(t, prefix, suffix) checkType('affixNums', 1, t, 'table') checkType('affixNums', 2, prefix, 'string', true) checkType('affixNums', 3, suffix, 'string', true) local function cleanPattern(s) -- Cleans a pattern so that the magic characters ()%.[]*+-?^$ are interpreted literally. return s:gsub('([%(%)%%%.%[%]%*%+%-%?%^%$])', '%%%1') end prefix = prefix or '' suffix = suffix or '' prefix = cleanPattern(prefix) suffix = cleanPattern(suffix) local pattern = '^' .. prefix .. '([1-9]%d*)' .. suffix .. '$' local nums = {} for k in pairs(t) do if type(k) == 'string' then local num = mw.ustring.match(k, pattern) if num then nums[#nums + 1] = tonumber(num) end end end table.sort(nums) return nums end ------------------------------------------------------------------------------------ -- numData -- -- Given a table with keys like {"foo1", "bar1", "foo2", "baz2"}, returns a table -- of subtables in the format -- {[1] = {foo = 'text', bar = 'text'}, [2] = {foo = 'text', baz = 'text'}}. -- Keys that don't end with an integer are stored in a subtable named "other". The -- compress option compresses the table so that it can be iterated over with -- ipairs. ------------------------------------------------------------------------------------ function p.numData(t, compress) checkType('numData', 1, t, 'table') checkType('numData', 2, compress, 'boolean', true) local ret = {} for k, v in pairs(t) do local prefix, num = mw.ustring.match(tostring(k), '^([^0-9]*)([1-9][0-9]*)$') if num then num = tonumber(num) local subtable = ret[num] or {} if prefix == '' then -- Positional parameters match the blank string; put them at the start of the subtable instead. prefix = 1 end subtable[prefix] = v ret[num] = subtable else local subtable = ret.other or {} subtable[k] = v ret.other = subtable end end if compress then local other = ret.other ret = p.compressSparseArray(ret) ret.other = other end return ret end ------------------------------------------------------------------------------------ -- compressSparseArray -- -- This takes an array with one or more nil values, and removes the nil values -- while preserving the order, so that the array can be safely traversed with -- ipairs. ------------------------------------------------------------------------------------ function p.compressSparseArray(t) checkType('compressSparseArray', 1, t, 'table') local ret = {} local nums = p.numKeys(t) for _, num in ipairs(nums) do ret[#ret + 1] = t[num] end return ret end ------------------------------------------------------------------------------------ -- sparseIpairs -- -- This is an iterator for sparse arrays. It can be used like ipairs, but can -- handle nil values. ------------------------------------------------------------------------------------ function p.sparseIpairs(t) checkType('sparseIpairs', 1, t, 'table') local nums = p.numKeys(t) local i = 0 local lim = #nums return function () i = i + 1 if i <= lim then local key = nums[i] return key, t[key] else return nil, nil end end end ------------------------------------------------------------------------------------ -- size -- -- This returns the size of a key/value pair table. It will also work on arrays, -- but for arrays it is more efficient to use the # operator. ------------------------------------------------------------------------------------ function p.size(t) checkType('size', 1, t, 'table') local i = 0 for _ in pairs(t) do i = i + 1 end return i end local function defaultKeySort(item1, item2) -- "number" < "string", so numbers will be sorted before strings. local type1, type2 = type(item1), type(item2) if type1 ~= type2 then return type1 < type2 elseif type1 == 'table' or type1 == 'boolean' or type1 == 'function' then return tostring(item1) < tostring(item2) else return item1 < item2 end end ------------------------------------------------------------------------------------ -- keysToList -- -- Returns an array of the keys in a table, sorted using either a default -- comparison function or a custom keySort function. ------------------------------------------------------------------------------------ function p.keysToList(t, keySort, checked) if not checked then checkType('keysToList', 1, t, 'table') checkTypeMulti('keysToList', 2, keySort, {'function', 'boolean', 'nil'}) end local arr = {} local index = 1 for k in pairs(t) do arr[index] = k index = index + 1 end if keySort ~= false then keySort = type(keySort) == 'function' and keySort or defaultKeySort table.sort(arr, keySort) end return arr end ------------------------------------------------------------------------------------ -- sortedPairs -- -- Iterates through a table, with the keys sorted using the keysToList function. -- If there are only numerical keys, sparseIpairs is probably more efficient. ------------------------------------------------------------------------------------ function p.sortedPairs(t, keySort) checkType('sortedPairs', 1, t, 'table') checkType('sortedPairs', 2, keySort, 'function', true) local arr = p.keysToList(t, keySort, true) local i = 0 return function () i = i + 1 local key = arr[i] if key ~= nil then return key, t[key] else return nil, nil end end end ------------------------------------------------------------------------------------ -- isArray -- -- Returns true if the given value is a table and all keys are consecutive -- integers starting at 1. ------------------------------------------------------------------------------------ function p.isArray(v) if type(v) ~= 'table' then return false end local i = 0 for _ in pairs(v) do i = i + 1 if v[i] == nil then return false end end return true end ------------------------------------------------------------------------------------ -- isArrayLike -- -- Returns true if the given value is iterable and all keys are consecutive -- integers starting at 1. ------------------------------------------------------------------------------------ function p.isArrayLike(v) if not pcall(pairs, v) then return false end local i = 0 for _ in pairs(v) do i = i + 1 if v[i] == nil then return false end end return true end ------------------------------------------------------------------------------------ -- invert -- -- Transposes the keys and values in an array. For example, {"a", "b", "c"} -> -- {a = 1, b = 2, c = 3}. Duplicates are not supported (result values refer to -- the index of the last duplicate) and NaN values are ignored. ------------------------------------------------------------------------------------ function p.invert(arr) checkType("invert", 1, arr, "table") local isNan = p.isNan local map = {} for i, v in ipairs(arr) do if not isNan(v) then map[v] = i end end return map end ------------------------------------------------------------------------------------ -- listToSet -- -- Creates a set from the array part of the table. Indexing the set by any of the -- values of the array returns true. For example, {"a", "b", "c"} -> -- {a = true, b = true, c = true}. NaN values are ignored as Lua considers them -- never equal to any value (including other NaNs or even themselves). ------------------------------------------------------------------------------------ function p.listToSet(arr) checkType("listToSet", 1, arr, "table") local isNan = p.isNan local set = {} for _, v in ipairs(arr) do if not isNan(v) then set[v] = true end end return set end ------------------------------------------------------------------------------------ -- deepCopy -- -- Recursive deep copy function. Preserves identities of subtables. ------------------------------------------------------------------------------------ local function _deepCopy(orig, includeMetatable, already_seen) if type(orig) ~= "table" then return orig end -- already_seen stores copies of tables indexed by the original table. local copy = already_seen[orig] if copy ~= nil then return copy end copy = {} already_seen[orig] = copy -- memoize before any recursion, to avoid infinite loops for orig_key, orig_value in pairs(orig) do copy[_deepCopy(orig_key, includeMetatable, already_seen)] = _deepCopy(orig_value, includeMetatable, already_seen) end if includeMetatable then local mt = getmetatable(orig) if mt ~= nil then setmetatable(copy, _deepCopy(mt, true, already_seen)) end end return copy end function p.deepCopy(orig, noMetatable, already_seen) checkType("deepCopy", 3, already_seen, "table", true) return _deepCopy(orig, not noMetatable, already_seen or {}) end ------------------------------------------------------------------------------------ -- sparseConcat -- -- Concatenates all values in the table that are indexed by a number, in order. -- sparseConcat{a, nil, c, d} => "acd" -- sparseConcat{nil, b, c, d} => "bcd" ------------------------------------------------------------------------------------ function p.sparseConcat(t, sep, i, j) local arr = {} local arr_i = 0 for _, v in p.sparseIpairs(t) do arr_i = arr_i + 1 arr[arr_i] = v end return table.concat(arr, sep, i, j) end ------------------------------------------------------------------------------------ -- length -- -- Finds the length of an array, or of a quasi-array with keys such as "data1", -- "data2", etc., using an exponential search algorithm. It is similar to the -- operator #, but may return a different value when there are gaps in the array -- portion of the table. Intended to be used on data loaded with mw.loadData. For -- other tables, use #. -- Note: #frame.args in frame object always be set to 0, regardless of the number -- of unnamed template parameters, so use this function for frame.args. ------------------------------------------------------------------------------------ function p.length(t, prefix) -- requiring module inline so that [[Module:Exponential search]] which is -- only needed by this one function doesn't get millions of transclusions local expSearch = require("Module:Exponential search") checkType('length', 1, t, 'table') checkType('length', 2, prefix, 'string', true) return expSearch(function (i) local key if prefix then key = prefix .. tostring(i) else key = i end return t[key] ~= nil end) or 0 end ------------------------------------------------------------------------------------ -- inArray -- -- Returns true if searchElement is a member of the array, and false otherwise. -- Equivalent to JavaScript array.includes(searchElement) or -- array.includes(searchElement, fromIndex), except fromIndex is 1 indexed ------------------------------------------------------------------------------------ function p.inArray(array, searchElement, fromIndex) checkType("inArray", 1, array, "table") -- if searchElement is nil, error? fromIndex = tonumber(fromIndex) if fromIndex then if (fromIndex < 0) then fromIndex = #array + fromIndex + 1 end if fromIndex < 1 then fromIndex = 1 end for _, v in ipairs({unpack(array, fromIndex)}) do if v == searchElement then return true end end else for _, v in pairs(array) do if v == searchElement then return true end end end return false end ------------------------------------------------------------------------------------ -- merge -- -- Given the arrays, returns an array containing the elements of each input array -- in sequence. ------------------------------------------------------------------------------------ function p.merge(...) local arrays = {...} local ret = {} for i, arr in ipairs(arrays) do checkType('merge', i, arr, 'table') for _, v in ipairs(arr) do ret[#ret + 1] = v end end return ret end ------------------------------------------------------------------------------------ -- extend -- -- Extends the first array in place by appending all elements from the second -- array. ------------------------------------------------------------------------------------ function p.extend(arr1, arr2) checkType('extend', 1, arr1, 'table') checkType('extend', 2, arr2, 'table') for _, v in ipairs(arr2) do arr1[#arr1 + 1] = v end end return p 4n03zk6kcoeg4gz82mieeh94c1szcjy Hambarig, Pennsilfaani 0 10693 108205 108173 2026-09-04T09:37:15Z Jcb 39830 108205 wikitext text/x-wiki {{Schtettel|schtettel=Hambarig<br>''Hamburg''<br><small>Hambarrig</small>|faahne=|coat_of_arms=|image=Hamburg PA aerial.jpg|text=En Luft-guck vun Hambarig|land=[[Amerikaa]]|kaundi=[[Barricks Kaundi|Barricks]]|schtaat=[[Pennsilfaani]]|grees=1.96 sq mi (5.08 km2)|eiwuhner=4,270 (2000)|map=Hamburg Berks County.png}}'''Hambarig''' ([[Englische Schprooch|Englisch]]: ''Hamburg''), odder '''Hambarrig''', iss en [[Schtettel]] in [[Barricks Kaundi]], [[Pennsilfaani]], [[Vereenichde Schtaade|de Verenichde Schtaate]]. Die Populaschen waar 4,270 in de 2020 Zehlung. Mer glaabt, ass des Schtedtli nooch [[Hamburg]] in [[Deitschland]] gnennt waar; awwer es is meeglicher, ass der Noome darrich en verdrehte Form vun [[Bad Homburg]] kummt. == Gschicht == Im Yaahr 1779 hot der Martin Kaercher Jr. 250 Acker Land (1.0 km²) vun seim Vater kriegt un hot es in Bau-Lots opgedeelt un de Gegend "Kaercher Stadt" gnennt. Hambarig iss offiziell gschtafft warre in 1787. Im Yaahr 1837 iss Hambarig offiziell als en Borough eingericht warre. == Geography == Hambarig leit im nardliche Deel vun Barricks Kaundi an 40°33′0″N 75°59′0″W (40.556271, −75.982667), uff de oscht-seit vum Schkuulkill Revwer. Es Grenzt an de nard-, oscht-, un sied-seit an [[Windsor Taunschip]] un an de wescht-seit, iwwer de revwer naus, an [[Wescht-Hambarig, Pennsilfaani|Wescht-Hambarig]] in [[Tilden Taunschip]]. == Nummere == Noch de Nummere vun der 2020 Census: * Weiss : 90.9% * African-Amerikaanisch : 1.5% * [[Insching]] : 0.1% * Asian : 0.6% * Multiracial : 5.0% * Other : 1.8% * Mesoamerikaanisch, Sautamerikaanisch : 5.9% {{Barricks Kaundi}} fqv7m2qrk2xaoarkt8fe9mb88h8nhfk Modul:Exponential search 828 10763 108199 2026-09-03T22:01:54Z Hamish 26151 [IPE-NEXT] Quick edit imported from [[:w:en:Module:Exponential search]] 108199 Scribunto text/plain -- This module provides a generic exponential search algorithm. require[[strict]] local checkType = require('libraryUtil').checkType local floor = math.floor local function midPoint(lower, upper) return floor(lower + (upper - lower) / 2) end local function search(testFunc, i, lower, upper) if testFunc(i) then if i + 1 == upper then return i end lower = i if upper then i = midPoint(lower, upper) else i = i * 2 end return search(testFunc, i, lower, upper) else upper = i i = midPoint(lower, upper) return search(testFunc, i, lower, upper) end end return function (testFunc, init) checkType('Exponential search', 1, testFunc, 'function') checkType('Exponential search', 2, init, 'number', true) if init and (init < 1 or init ~= floor(init) or init == math.huge) then error(string.format( "invalid init value '%s' detected in argument #2 to " .. "'Exponential search' (init value must be a positive integer)", tostring(init) ), 2) end init = init or 2 if not testFunc(1) then return nil end return search(testFunc, init, 1, nil) end jqqi8l27tb73lglksbukg2g3bzt3fmv