Module talk:glossary/data
Add topicAppearance
Latest comment: 6 years ago by Jberkel in topic Slow
Slow
[edit]@Erutuon great idea, but isn't reading the whole page content quite slow? Not sure what sort of caching is done behind the scenes. – Jberkel 22:58, 20 January 2018 (UTC)
- @Jberkel: It is cached, because this module is loaded by Module:glossary using
mw.loadData
, which when it first loads a module creates a virtual copy of the table that is shared by all subsequent loadings of the module withmw.loadData
. — Eru·tuon 23:00, 20 January 2018 (UTC)- Ok, cool. So this will autolink labels to the glossary even if there's no corresponding entry in
{{Module:labels/data}}
? Nifty. – Jberkel 10:57, 21 January 2018 (UTC)
- Ok, cool. So this will autolink labels to the glossary even if there's no corresponding entry in