Project:Wiktionary module modifications
Modules from Wiktionary are usually copied whole-cloth from Wiktionary. However, some modifications have had to been made to work for this site. Review these modifications when upgrading these scripts from Wiktionary.
Modifications
Module:Headword
Changed all references to the "Wiktionary" namespace to "Project".
Changed non_categorizable(data)
to flag Main Page as non-categorizable. This is to prevent head words that appear on the Main page (through {{WOTD}}
) from adding categories to the page.
Module:Families
Module:Families/data
Modified beginning of file to include language families defined in Module:Families/data/djp in the script list. Unlike with Module:Languages/data, this page will need to be re-modified after a recopy from Wiktionary since the page itself had to be changed to support this.
Module:Families/data/djp
Added this page as a repository for language families in this wiki, so if other Module:Families/data subpages are updated, no config from this language family is lost. Note, as mentioned about, the updater must ensure the changes to Module:Families/data are maintained or re-added for this file to be read.
Module:Languages
Updated function export.getDataModuleName(code)
to support four-letter language codes and specifically look for them in Module:Languages/data/djp. This is to separate the DJP language codes from the standard codes.
Module:Languages/canonical names
Adding languages to this wiki requires this file to be changed. If it needs to be refreshed from Wiktionary, ensure that the changes for this wiki are retained or re-added.
Module:Languages/code to canonical name
Adding languages to this wiki requires this file to be changed. If it needs to be refreshed from Wiktionary, ensure that the changes for this wiki are retained or re-added.
Module:Languages/data/djp
Added this page as a repository for languages in this wiki, so if other Module:Languages/data subpages are updated, no config from this language is lost.
Module:Languages/data/djp/extra
Added to support Module:Languages/data/djp
Module:Scripts
Module:Scripts/data
Modified beginning of file to include scripts defined in Module:Scripts/data/djp in the script list. Unlike with Module:Languages/data, this page will need to be re-modified after a recopy from Wiktionary since the page itself had to be changed to support this.
Module:Scripts/data/djp
Added this page as a repository for scripts in this wiki, so if other Module:Scripts/data subpages are updated, no config from this script is lost. Note, as mentioned about, the updater must ensure the changes to Module:Scripts/data are maintained or re-added for this file to be read.