Modul:NewsArtikel: Unterschied zwischen den Versionen
Neu: Umbenennung von Modul:News → Modul:NewsArtikel (fix Scribunto-Namensraum-Konflikt NS 3000) (via create-page on MediaWiki MCP Server) |
schlüssel-Trennzeichen: | → , (Pipe ist MediaWiki-Parametertrennzeichen) (via update-page on MediaWiki MCP Server) |
||
| Zeile 117: | Zeile 117: | ||
end | end | ||
-- 3. Schlagwort-Kategorien | -- 3. Schlagwort-Kategorien (Trennzeichen: Komma) | ||
for keyword in schluesselliste:gmatch('[^ | for keyword in schluesselliste:gmatch('[^,]+') do | ||
keyword = trim(keyword) | keyword = trim(keyword) | ||
if keyword ~= '' then | if keyword ~= '' then | ||
| Zeile 128: | Zeile 128: | ||
if (status == 'veröffentlicht' or status == 'veroeffentlicht') and datum ~= '' then | if (status == 'veröffentlicht' or status == 'veroeffentlicht') and datum ~= '' then | ||
local kwList = {} | local kwList = {} | ||
for keyword in schluesselliste:gmatch('[^ | for keyword in schluesselliste:gmatch('[^,]+') do | ||
keyword = trim(keyword) | keyword = trim(keyword) | ||
if keyword ~= '' then table.insert(kwList, keyword) end | if keyword ~= '' then table.insert(kwList, keyword) end | ||