Difference between revisions of Module:Footnotes/anchor id list

NottNott (talk | contribs)
m 1 revision imported
Viceroy Sam (talk | contribs)
m →top: Typo fixing, typos fixed: etc → etc., supress → suppress
 
Line 607: Line 607:
if item then -- if there was an item
if item then -- if there was an item
if encode then -- for anchor IDs ...
if encode then -- for anchor IDs ...
item = mw.uri.anchorEncode (item); -- encode to remove wikimarkup, convert spaces to underscores etc
item = mw.uri.anchorEncode (item); -- encode to remove wikimarkup, convert spaces to underscores etc.
end
end
Line 683: Line 683:
these parameters are not available in the article's wikisource so {{harv}}, {{sfn}}, and {{harvc}} templates that
these parameters are not available in the article's wikisource so {{harv}}, {{sfn}}, and {{harvc}} templates that
link correctly to those wrapper templates will incorrectly show error messages.  Use |ignore-err=yes in the {{harv}},
link correctly to those wrapper templates will incorrectly show error messages.  Use |ignore-err=yes in the {{harv}},
{{sfn}}, and {{harvc}} templates to supress the error message.
{{sfn}}, and {{harvc}} templates to suppress the error message.


creates a list of templates used in the article for use with the whitelist
creates a list of templates used in the article for use with the whitelist