Modul:Shortcuts/config

Die Dokumentation für dieses Modul kann unter Modul:Shortcuts/config/Doku erstellt werden

--[=[
Shortcuts/config
mw.loadData() table, Anpassung der Shortcuts für das lokale Projekt
]=]
return {
   locally           = true,
   patternSuitable   = "§äöüÄÖÜ߀",
   rooms             = { 4, 8, 10, 12, 14, 100 },
   rules             = {  [2] = { { locally = true, styling = false } },
                          [3] = { { locally = true, styling = false } },
                          [4] = { { sub = "^Importwünsche",         styling = "simpleDivTopClear" },
                                  { sub = "^Technik$",              styling = false },
                                  { sub = "^Technik/",              styling = false },
                                  { sub = "^Technik/Labs/Tools/",   styling = "simpleDivTop" },
                                  { sub = "^Technik/Linkbox$",      locally = false },
                                  { sub = "^Technik/Skin/Gadgets/", locally = false, 
                                                                    styling = "stickRight" } },
                          [5] = { { sub = "^Technik$",            styling = "simpleDivTop" },
                                  { sub = "^Technik/",            styling = "simpleDivTop" } },
                         [10] = { { locally = true, styling = "simpleDivTop" } },
                         [11] = { { locally = true, styling = "simpleDivTop" } },
                         [12] = { { styling = false } },
                         [13] = { { styling = "simpleDivTop" } },
                         [14] = { { locally = true, styling = "simpleDivTop" } },
                         [15] = { { locally = true, styling = "simpleDivTop" } }
                       -- 100
                       -- 101
                       },
   sayBadLink        = "Ungültiger Seitenname im Wikilink",
   sayDuplicated     = "wiederholt",
   sayInvalidChar    = "Shortcut mit untippbarem Zeichen",
   sayMissing        = "fehlt",
   sayNamespaceOff   = "Namensraum nicht konfiguriert",
   sayNoLocals       = "'1=' nicht erlaubt",
   sayNoNamespace    = "Kein Namensraum für Zielseiten angegeben",
   sayNoPage         = "Keine Zielseite angegeben",
   sayRegular        = "keine Weiterleitung",
   sayNoShortcuts    = "Keine Shortcuts",
   sayTarget         = "zielt nicht auf diese Seite",
   sayUnknown        = "[[Vorlage:Shortcut]]: keine Shortcuts registriert, 1= nicht angegeben",
   sayUnregistered   = "keine Shortcuts registriert",
   scream            = "Wikipedia:Wartung/Shortcuts",
   show              = "[[Wikipedia:Shortcuts|Abkürzung]]: %s",
   signal            = "Kategorie 'Wikipedia:Abkürzungen' nicht gefunden",
   signature         = "%[%[Kategorie:Wikipedia:Abkürzungen[|%]]",
   skip              = "Vorlage:Shortcut",
   stalk             = "{{Shortcut[|}]",
   style             = "<div id='shortcut' class='shortcut noprint searchaux' data-shortcut='###'>%s</div>",
   simpleDiv         = "<div id='shortcut-ca' class='shortcut floatright noprint searchaux' style='font-size: x-small;' data-shortcut='###'>%s</div>",
   simpleDivTop      = "<div id='shortcut-ca' class='shortcut floatright noprint searchaux' style='font-size: x-small; -shortcut:top;' role='navigation' data-shortcut='###'>%s</div>",
   simpleDivTopClear = "<div id='shortcut-ca' class='shortcut floatright noprint searchaux' style='font-size: x-small; -shortcut:top;' role='navigation' data-shortcut='###'>%s</div><div style='clear:right; height;0;'></div>",
   simpleSpan        = "<span id='shortcut-ca' class='shortcut noprint searchaux' style='font-size: x-small;' data-shortcut='###'>%s</span>",
    stickRight       = "<div id='shortcut-ca' class='shortcut' style='font-size: x-small; float: right; margin-bottom: 0.5em;' data-shortcut='###'>%s</div>",
   suppress          = "<span class='Wartung-Shortcuts' style='display:none'>%s</span>",
   talks             = { WP = "WD", H = "HD", P = "PD" }
}