Module:sortkeys/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for Module:sortkeys. [edit]
This page contains usage information, categories, interwiki links and other content describing the module.

A data module that creates all sortkeys for a page at once so they don't have to be regenerated for every template that adds a category. Unfortunately, using it in Module:languages causes memory to go up, not down, in memory-heavy pages like a. This may be because of the way mw.loadData works. It creates a bunch of new tables and functions every time it's called. (See the source code on the GitHub mirror.) Oh well.