MyWikiBiz, Author Your Legacy — Tuesday October 28, 2025
Jump to navigationJump to search
1,518 bytes added
, 21:46, 15 July 2021
== Usage ==
This module reads [[Module:Footnotes/whitelist]] as a text document, and then:
*normalizes whitespace in each citeref entry
*removes duplicate entries
*moves citerefs from 'UNSORTED' into the correct section
*sorts the entries in each section
*:lua comments will sort to the top of the section and will be alpha sorted which may make original multi-line comments non-sensical
*reconstructs the whole table
The result is presented in §[[#whitelist|whitelist]] below. Because Lua modules cannot make changes to the source document, editors must do that:
#[https://en.wikipedia.org/w/index.php?title=Module:Footnotes/whitelist/sort&action=purge purge this page] to refresh the whitelist
#copy the content of §[[#whitelist|whitelist]] to your clipboard
#[https://en.wikipedia.org/w/index.php?title=Module:Footnotes/whitelist&action=edit edit Module:Footnotes/whitelist]
#paste the new <code>whitelist{}</code> over the existing table
#click Show changes to make sure nothing untoward occurred
#click Publish changes to save
There are known limitations:
*this tool is not clever enough to move citerefs from the UNSORTED section to the ODNB section so citerefs in UNSORTED intended for ODNB must be manually placed in ODNB else the tool will place them according to first character following 'CITEREF'
==whitelist==
{{#invoke:Footnotes/whitelist/sort|whitelist_sort}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
}}</includeonly>