<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pt-BR">
	<id>https://wiki.tokusatsus.com/index.php?action=history&amp;feed=atom&amp;title=M%C3%B3dulo%3AFootnotes%2Fanchor_id_list%2Fdata</id>
	<title>Módulo:Footnotes/anchor id list/data - Histórico de revisão</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tokusatsus.com/index.php?action=history&amp;feed=atom&amp;title=M%C3%B3dulo%3AFootnotes%2Fanchor_id_list%2Fdata"/>
	<link rel="alternate" type="text/html" href="https://wiki.tokusatsus.com/index.php?title=M%C3%B3dulo:Footnotes/anchor_id_list/data&amp;action=history"/>
	<updated>2026-07-05T13:01:32Z</updated>
	<subtitle>Histórico de revisões para esta página neste wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.tokusatsus.com/index.php?title=M%C3%B3dulo:Footnotes/anchor_id_list/data&amp;diff=2612&amp;oldid=prev</id>
		<title>Tavoraadmin: Importando predefinição/módulo da Wikipédia em português para manter layout</title>
		<link rel="alternate" type="text/html" href="https://wiki.tokusatsus.com/index.php?title=M%C3%B3dulo:Footnotes/anchor_id_list/data&amp;diff=2612&amp;oldid=prev"/>
		<updated>2026-07-05T06:50:25Z</updated>

		<summary type="html">&lt;p&gt;Importando predefinição/módulo da Wikipédia em português para manter layout&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- copied from Module:Ref info/data - maybe overkill here?&lt;br /&gt;
-- for this application make lists from the redirect lists and force all template names first character uppercase&lt;br /&gt;
&lt;br /&gt;
require(&amp;#039;strict&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; C S 1 _ T E M P L A T E _ P A T T E R N S &amp;gt;------------------------------------&lt;br /&gt;
&lt;br /&gt;
These are patterns for cs1 templates and their redirects.  These patterns exclude redirects that are vcite-like&lt;br /&gt;
which redirects should be deleted because vcite is not cs1.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local cs1_template_patterns = {                                                    -- lua patterns of the cannonical names and redirects&lt;br /&gt;
    &amp;#039;[Cc]itar ar[Xx]iv&amp;#039;,                                                            -- arXiv is the canonical name&lt;br /&gt;
        &amp;#039;[Cc]itar ArXiv&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;[Cc]itar vídeo&amp;#039;,                                                            -- canonical&lt;br /&gt;
        &amp;#039;[Cc]itar AV media&amp;#039;, &amp;#039;[Cc]ite AV media&amp;#039;, &amp;#039;[Cc]ita vídeo&amp;#039;, &amp;#039;[Cc]itar video&amp;#039;,&lt;br /&gt;
--        &amp;#039;[Cc]ite cd&amp;#039;, &amp;#039;[Cc]ite DVD&amp;#039;, &amp;#039;[Cc]ite dvd&amp;#039;, &amp;#039;[Cc]ite film&amp;#039;,&lt;br /&gt;
--        &amp;#039;[Cc]ite image&amp;#039;, &amp;#039;[Cc]ite media&amp;#039;, &amp;#039;[Cc]ite movie&amp;#039;,&lt;br /&gt;
--        &amp;#039;[Cc]ite music video&amp;#039;, &amp;#039;[Cc]ite radio&amp;#039;, &amp;#039;[Cc]ite song&amp;#039;,&lt;br /&gt;
--        &amp;#039;[Cc]ite video&amp;#039;, &amp;#039;[Cc]ite visual&amp;#039;, &amp;#039;[Cc]ite You[Tt]ube&amp;#039;,&lt;br /&gt;
--        &amp;#039;[Cc]ita vídeo&amp;#039;,                                                        -- non-English redirect; TODO: tally separately?&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;[Cc]itar vídeo notas&amp;#039;,                                                    -- canonical&lt;br /&gt;
        &amp;#039;[Cc]ite AV media notes&amp;#039;, &amp;#039;[Cc]itar DVD notas&amp;#039;,&lt;br /&gt;
        &amp;#039;[Cc]itar DVD[ %-]notes&amp;#039;, &amp;#039;[Cc]ite av media&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
--    &amp;#039;[Cc]ite bio[Rr]xiv&amp;#039;,                                                        -- bioRxiv is the canonical form&lt;br /&gt;
    &amp;#039;[Cc]itar [Ll]ivro&amp;#039;,                                                            -- book is the canonical form&lt;br /&gt;
        &amp;#039;[Rr]ef[ %-]livro&amp;#039;, &amp;#039;[Cc]ita libro&amp;#039;,&lt;br /&gt;
        &amp;#039;[Rr]eferência a livro&amp;#039;, &amp;#039;[Ll]iteratur&amp;#039;, &amp;#039;[Oo]uvrage&amp;#039;, &amp;#039;[Cc]itarlivro&amp;#039;,&lt;br /&gt;
--        &amp;#039;[Cc]ite chapter&amp;#039;, &amp;#039;[Cc]ite manual&amp;#039;,&lt;br /&gt;
--        &amp;#039;[Bb]okref&amp;#039;, &amp;#039;[Cc]itace monografie&amp;#039;, &amp;#039;[Cc]ite book&amp;#039;,                    -- non-English redirects; TODO: tally separately?&lt;br /&gt;
--        &amp;#039;[Cc]iteer boek&amp;#039;, &amp;#039;[Oo]uvrage&amp;#039;, &amp;#039;[Rr]ef%-llibre&amp;#039;, &amp;#039;서적 인용&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
--    &amp;#039;[Cc]ite citeseerx&amp;#039;,                                                        -- canonical&lt;br /&gt;
    &amp;#039;[Cc]itar conferência&amp;#039;,                                                        -- canonical&lt;br /&gt;
        &amp;#039;[Cc]ite conference&amp;#039;,                                                    -- cita conferenza is non-English; TODO: tally separately?&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;[Cc]itar enciclopédia&amp;#039;,                                                    -- cite encyclopedia is the canonical name&lt;br /&gt;
        &amp;#039;[Cc]ite enciclopaedia&amp;#039;, &amp;#039;[Cc]ita enciclopedia&amp;#039;, &amp;#039;[Cc]ite dictionary&amp;#039;,&lt;br /&gt;
        &amp;#039;[Cc]ite encyclopedia&amp;#039;, &amp;#039;OEDsub&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;[Cc]ite [Ee]pisódio&amp;#039;,                                                        -- episode is the canonical form&lt;br /&gt;
        &amp;#039;[Cc]ite episode&amp;#039;, &amp;#039;[Cc]ita tv&amp;#039;, &amp;#039;[Cc]itar? episodio&amp;#039;,&lt;br /&gt;
        &amp;#039;[Cc]itation épisode&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
        &amp;#039;[Cc]itar entrevista&amp;#039;,&lt;br /&gt;
        &amp;#039;[Cc]ite interview&amp;#039;,                                                        -- canonical&lt;br /&gt;
    &amp;#039;[Cc]itar periódico&amp;#039;,                                                            -- cite journal is the canonical form&lt;br /&gt;
        &amp;#039;[Cc]ite journal&amp;#039;, &amp;#039;[Cc]ite paper&amp;#039;, &amp;#039;[Cc]ite document&amp;#039;,&lt;br /&gt;
        &amp;#039;[Aa]rticle&amp;#039;, &amp;#039;[Cc]ita publicación periódica&amp;#039;,&lt;br /&gt;
--        &amp;#039;[Cc]ite ?paper&amp;#039;, &amp;#039;[Vv]cite2 journal&amp;#039;,&lt;br /&gt;
--        &amp;#039;[Cc]ita pubblicazione&amp;#039;, &amp;#039;[Cc]itace periodika&amp;#039;, &amp;#039;[Cc]itar jornal&amp;#039;,        -- non-English redirects; TODO: tally separately?&lt;br /&gt;
--        &amp;#039;[Cc]itar publicació&amp;#039;, &amp;#039;[Cc]ytuj pismo&amp;#039;, &amp;#039;[Tt]idskriftsref&amp;#039;,&lt;br /&gt;
--        &amp;#039;Навод из стручног часописа&amp;#039;, &amp;#039;저널 인용&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;[Cc]itar revista&amp;#039;,                                                        -- magazine is the canonical form&lt;br /&gt;
        &amp;#039;[Cc]ite magazine&amp;#039;, &amp;#039;[Cc]itar publicação&amp;#039;, &amp;#039;[Cc]ite periodical&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;[Cc]itar lista de discussão&amp;#039;,                                            -- mailing list is the canonical form&lt;br /&gt;
        &amp;#039;[Cc]ite mailing ?list&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;[Cc]itar mapa&amp;#039;,                                                            -- map is the canonical form&lt;br /&gt;
    &amp;#039;[Cc]ite map&amp;#039;,&lt;br /&gt;
    &amp;#039;[Cc]ita jornal&amp;#039;,                                                        -- cite news is the canonical form&lt;br /&gt;
        &amp;#039;[Cc]ite[ %-]?news&amp;#039;, &amp;#039;[Cc]itar not[íi]cias?&amp;#039;, &amp;#039;[Cc]itenews&amp;#039;, &amp;#039;[Cc]ite[%-]news&amp;#039;, &amp;#039;[Cc]ita noticia&amp;#039;,&lt;br /&gt;
        &amp;#039;[Cc]ita news&amp;#039;, &amp;#039;[Cc]ite article&amp;#039;, &amp;#039;[Rr]ef[%-]notícia&amp;#039;, &amp;#039;[Rr]ef[%-]publicació&amp;#039;,&lt;br /&gt;
        &amp;#039;[Cc]ite newspaper&amp;#039;, &amp;#039;[Cc]ita novas&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;[Cc]itar grupo de notícias&amp;#039;,                                                        -- canonical&lt;br /&gt;
        &amp;#039;[Cc]ite newsgroup&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;[Cc]itar podcast&amp;#039;,                                                            -- canonical&lt;br /&gt;
        &amp;#039;[Cc]ite podcast&amp;#039;,&lt;br /&gt;
    &amp;#039;[Cc]itar comunicado de imprensa&amp;#039;,                                                -- press release is the canonical form&lt;br /&gt;
        &amp;#039;[Cc]ite press release&amp;#039;, &amp;#039;[Cc]itar comunicados de imprensa&amp;#039;, &amp;#039;[Cc]ite pr&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;[Cc]itar relatório&amp;#039;,                                                        -- canonical&lt;br /&gt;
        &amp;#039;[Cc]ite report&amp;#039;,&lt;br /&gt;
    &amp;#039;[Cc]itar série&amp;#039;,                                                            -- canonical&lt;br /&gt;
    &amp;#039;[Cc]itar sinal&amp;#039;,                                                            -- canonical&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;[Cc]itar discurso&amp;#039;,                                                        -- canonical&lt;br /&gt;
        &amp;#039;[Cc]ite speech&amp;#039;,&lt;br /&gt;
    &amp;#039;[Cc]ite ssrn&amp;#039;,                                                                -- canonical&lt;br /&gt;
        &amp;#039;[Cc]ite SSRN&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;[Cc]itar relatório técnico&amp;#039;,                                                -- techreport is the canonical form&lt;br /&gt;
        &amp;#039;[Cc]ite techreport&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;[Cc]itar tese&amp;#039;,                                                            -- canonical&lt;br /&gt;
        &amp;#039;[Cc]ite thesis&amp;#039;, &amp;#039;[Cc]itar dissertação&amp;#039;, &amp;#039;[Cc]ite dissertation&amp;#039;,&lt;br /&gt;
        &amp;#039;[Cc]itar monografia&amp;#039;,                                                    -- non-English redirect; TODO: tally separately?&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;[Cc]itar [Ww]eb&amp;#039;,                                                            -- web is the canonical form&lt;br /&gt;
        &amp;#039;[Cc]ite ?web&amp;#039;, &amp;#039;[Cc]iteer web&amp;#039;, &amp;#039;[Cc]ita web&amp;#039;, &amp;#039;[Ll]ien web&amp;#039;, &amp;#039;[Cc]itar página&amp;#039;,&lt;br /&gt;
        &amp;#039;[Rr]ef%-web&amp;#039;, &amp;#039;[Ww]ebref&amp;#039;,&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; C S 2 _ T E M P L A T E _ P A T T E R N S &amp;gt;------------------------------------&lt;br /&gt;
&lt;br /&gt;
These are patterns for cs2 templates redirects.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local cs2_template_patterns = {                                                    -- lua patterns of the cannonical names and redirects&lt;br /&gt;
    &amp;#039;[Cc]itation&amp;#039;,&lt;br /&gt;
        &amp;#039;[Cc]ite&amp;#039;, &amp;#039;[Cc]itar&amp;#039;, &amp;#039;[Cc]ite citation&amp;#039;, &amp;#039;[Cc]ite study&amp;#039;,&lt;br /&gt;
        &amp;#039;[Cc]ite [Tt]echnical standard&amp;#039;,&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; V C I T E _ T E M P L A T E _ P A T T E R N S &amp;gt;--------------------------------&lt;br /&gt;
&lt;br /&gt;
These are patterns for Vcite-family templates and their redirects.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local vcite_template_patterns = {&lt;br /&gt;
    &amp;#039;[Vv]citar livro&amp;#039;,                                                            -- canonical&lt;br /&gt;
        &amp;#039;[Vv]ancite book&amp;#039;, &amp;#039;[Vv]ancite report&amp;#039;, &amp;#039;[Vv]cite encyclopedia&amp;#039;,&lt;br /&gt;
        &amp;#039;[Vv]cite report&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;[Vv]citar periódico&amp;#039;,                                                            -- canonical&lt;br /&gt;
        &amp;#039;[Cc]it journal&amp;#039;, &amp;#039;[Cc]it paper&amp;#039;, &amp;#039;[Vv]ancite journal&amp;#039;, &amp;#039;[Vv]cite paper&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;[Vv]citar jornal&amp;#039;,                                                            -- canonical&lt;br /&gt;
        &amp;#039;[Vv]ancite news&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;[Vv]citar web&amp;#039;,                                                                -- canonical&lt;br /&gt;
        &amp;#039;[Vv]ancite web&amp;#039;,&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; H A R V C _ T E M P L A T E _ P A T T E R N S &amp;gt;--------------------------------&lt;br /&gt;
&lt;br /&gt;
These are patterns for the harvc template and its redirects.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local harvc_template_patterns = {&lt;br /&gt;
    &amp;#039;[Hh]arvc&amp;#039;,                                                                    -- canonical&lt;br /&gt;
        &amp;#039;[Cc]itec&amp;#039;,&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; C S 1 _ L I K E _ T E M P L A T E _ P A T T E R N S &amp;gt;--------------------------&lt;br /&gt;
&lt;br /&gt;
These are patterns for miscellaneous templates and their redirects that &amp;#039;look like&amp;#039; cs1 templates (begin with cite ...)&lt;br /&gt;
&lt;br /&gt;
Because they &amp;#039;look like&amp;#039; cs1 templates they are handled as if they were cs1 templates.  These templates are NOT&lt;br /&gt;
wrapper templates; names and dates are always to be extracted from the article instantiation of the template.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local cs1_like_template_patterns = {&lt;br /&gt;
    &amp;#039;[Cc]ite LSA&amp;#039;,                                                                -- canonical&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; W I K I C I T E _ T E M P L A T E _ P A T T E R N S &amp;gt;--------------------------&lt;br /&gt;
&lt;br /&gt;
These are patterns for the wikicite template and its redirects.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local wikicite_template_patterns = {&lt;br /&gt;
    &amp;#039;[Ww]ikicite&amp;#039;,                                                                -- canonical&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; A N C H O R _ T E M P L A T E _ P A T T E R N S &amp;gt;------------------------------&lt;br /&gt;
&lt;br /&gt;
These are patterns for the anchor template and its redirects.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local anchor_template_patterns = {&lt;br /&gt;
    &amp;#039;[Aa]nchors?&amp;#039;,                                                                -- anchor is canonical form&lt;br /&gt;
    &amp;#039;[Aa]nchor for redirect&amp;#039;,&lt;br /&gt;
    &amp;#039;[Aa]nchro&amp;#039;,&lt;br /&gt;
    &amp;#039;[Aa]ncor&amp;#039;,&lt;br /&gt;
    &amp;#039;[Ââ]ncora&amp;#039;,&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; S F N _ W H I T E L I S T _ P A T T E R N S &amp;gt;----------------------------------&lt;br /&gt;
&lt;br /&gt;
These are patterns for the anchor template and its redirects.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local sfn_whitelist_patterns = {&lt;br /&gt;
    &amp;#039;[Ss]fn whitelist&amp;#039;,                                                            -- canonical&lt;br /&gt;
        &amp;#039;[Hh]arv whitelist&amp;#039;,&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; K N O W N _ T E M P L A T E S &amp;gt;------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
These tables are created from the *_template_patterns tables.  To make these tables, entries in the source tables&lt;br /&gt;
are evaluated to replace lua patterns with the appropriate characters to create names for the output tables.&lt;br /&gt;
&lt;br /&gt;
First charqacter is always uppercase&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
    [Cc]ite ar[Xx]iv&lt;br /&gt;
becomes&lt;br /&gt;
    Cite arXiv&lt;br /&gt;
    Cite arxiv&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local known_templates_cs12 = {};                                                -- the exported tables&lt;br /&gt;
local known_templates_vcite = {};&lt;br /&gt;
local known_templates_harvc = {};&lt;br /&gt;
local known_templates_wikicite = {};&lt;br /&gt;
local known_templates_anchor = {};&lt;br /&gt;
local known_templates_sfn_whitelist = {};&lt;br /&gt;
&lt;br /&gt;
    local function add_stripped (list, name)&lt;br /&gt;
        if not list[name] then&lt;br /&gt;
            list[name] = true;&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    local function pattern_convert (pattern, list)&lt;br /&gt;
        local lead, tail, c, l, name;&lt;br /&gt;
        local first_char_patterns = {&lt;br /&gt;
            &amp;#039;^%[(%a)%a%]&amp;#039;,                                                        -- leading character (usually uppercase)&lt;br /&gt;
            &amp;#039;^%[%a(%a)%]&amp;#039;,                                                        -- leading character (usually lowercase)&lt;br /&gt;
            }&lt;br /&gt;
&lt;br /&gt;
        c = tostring (pattern:match (&amp;#039;%u&amp;#039;));                                    -- tostring() required because I don&amp;#039;t know why; lua chokes complaining that c is not a string&lt;br /&gt;
        name = pattern:gsub (&amp;#039;^%[%a%a%]&amp;#039;, c);                                    -- replace bracketed first character [Xx] with selected character from the match&lt;br /&gt;
&lt;br /&gt;
        if name:match (&amp;#039;(.-)%[(%a)(%a)%](.*)&amp;#039;) then                                -- mixed case optional letters&lt;br /&gt;
            lead, c, l, tail = name:match (&amp;#039;(.-)%[(%a)(%a)%](.*)&amp;#039;);&lt;br /&gt;
            add_stripped (list, lead .. c .. tail);                                -- uppercase&lt;br /&gt;
            add_stripped (list, lead .. l .. tail);                                -- lowercase&lt;br /&gt;
&lt;br /&gt;
        elseif name:match (&amp;#039;^([^%[]+)(%[ %%%-%]%?)(.+)$&amp;#039;) then                    -- [ %-]?&lt;br /&gt;
            lead, c, tail = name:match (&amp;#039;^([^%[]+)(%[ %%%-%]%?)(.+)$&amp;#039;);&lt;br /&gt;
            add_stripped (list, lead .. tail);                                    -- neither char&lt;br /&gt;
            add_stripped (list, lead .. &amp;#039; &amp;#039; .. tail);                            -- space&lt;br /&gt;
            add_stripped (list, lead .. &amp;#039;-&amp;#039; .. tail);                            -- hyphen&lt;br /&gt;
&lt;br /&gt;
        elseif name:match (&amp;#039;^([^%[]+)(%[%%%-%]%?)(.+)$&amp;#039;) then                    -- [%-]?&lt;br /&gt;
            lead, c, tail = name:match (&amp;#039;^([^%[]+)(%[%%%-%]%?)(.+)$&amp;#039;);&lt;br /&gt;
            add_stripped (list, lead .. tail);                                    -- no hyphen&lt;br /&gt;
            add_stripped (list, lead .. &amp;#039;-&amp;#039; .. tail);                            -- hyphen&lt;br /&gt;
&lt;br /&gt;
        elseif name:match (&amp;#039;^([^%[]+)(%[ %%%-%])(.+)$&amp;#039;) then                    -- [ %-]&lt;br /&gt;
            lead, c, tail = name:match (&amp;#039;^([^%[]+)(%[ %%%-%])(.+)$&amp;#039;);&lt;br /&gt;
            add_stripped (list, lead .. &amp;#039; &amp;#039; .. tail);                            -- space&lt;br /&gt;
            add_stripped (list, lead .. &amp;#039;-&amp;#039; .. tail);                            -- hyphen&lt;br /&gt;
&lt;br /&gt;
        elseif name:match (&amp;#039;^([^%?]+)(%%%-%?)(.+)$&amp;#039;) then                        -- %-?&lt;br /&gt;
            lead, c, tail = name:match (&amp;#039;^([^%?]+)(%%%-%?)(.+)$&amp;#039;);&lt;br /&gt;
            add_stripped (list, lead .. tail);                                    -- no hyphen&lt;br /&gt;
            add_stripped (list, lead .. &amp;#039;-&amp;#039; .. tail);                            -- hyphen&lt;br /&gt;
&lt;br /&gt;
        elseif name:match (&amp;#039;^(.-)(%%%-)(.+)$&amp;#039;) then                                -- %-&lt;br /&gt;
            lead, c, tail = name:match (&amp;#039;^(.-)(%%%-)(.+)$&amp;#039;);&lt;br /&gt;
            add_stripped (list, lead .. &amp;#039;-&amp;#039; .. tail);                            -- hyphen&lt;br /&gt;
&lt;br /&gt;
        elseif name:match (&amp;#039;^(.-)(.)%?(.*)$&amp;#039;) then                                -- .?&lt;br /&gt;
            lead, c, tail = name:match (&amp;#039;^(.-)(.)%?(.*)$&amp;#039;);&lt;br /&gt;
            add_stripped (list, lead .. tail);                                    -- no character&lt;br /&gt;
            add_stripped (list, lead .. c .. tail);                                -- character&lt;br /&gt;
&lt;br /&gt;
        else&lt;br /&gt;
            add_stripped (list, name);                                            -- no patterns so save as is&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    for _, t in ipairs ({&lt;br /&gt;
        {cs1_template_patterns, known_templates_cs12},&lt;br /&gt;
        {cs2_template_patterns, known_templates_cs12},&lt;br /&gt;
        {cs1_like_template_patterns, known_templates_cs12},&lt;br /&gt;
        {vcite_template_patterns, known_templates_vcite},&lt;br /&gt;
        {harvc_template_patterns, known_templates_harvc},&lt;br /&gt;
        {wikicite_template_patterns, known_templates_wikicite},&lt;br /&gt;
        {anchor_template_patterns, known_templates_anchor},&lt;br /&gt;
        {sfn_whitelist_patterns, known_templates_sfn_whitelist},&lt;br /&gt;
        }) do&lt;br /&gt;
            for _, pattern in ipairs (t[1]) do                                    -- for each patern in *_template_patterns&lt;br /&gt;
                pattern_convert (pattern, t[2])                                    -- convert and store in known_templates_*&lt;br /&gt;
            end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[--------------------------&amp;lt; E X P O R T S &amp;gt;----------------------------------------------------------------&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
return&lt;br /&gt;
    {&lt;br /&gt;
    known_templates_anchor = known_templates_anchor,&lt;br /&gt;
    known_templates_cs12 = known_templates_cs12,&lt;br /&gt;
    known_templates_harvc = known_templates_harvc,&lt;br /&gt;
    known_templates_vcite = known_templates_vcite,&lt;br /&gt;
    known_templates_wikicite = known_templates_wikicite,&lt;br /&gt;
    known_templates_sfn_whitelist = known_templates_sfn_whitelist,&lt;br /&gt;
    }&lt;/div&gt;</summary>
		<author><name>Tavoraadmin</name></author>
	</entry>
</feed>