Versionen
19. Januar 2023
13. Januar 2023
16 Versionen von wpen:Module:Namespace_detect/data importiert
K3 Versionen von skanwiki:Modul:Namespace_detect/data importiert
K
21. Oktober 2021
2. Juni 2020
1. April 2020
14. Februar 2019
4. April 2017
5. April 2014
bug fix - use the demospace parameter as both key and value in the argKeys table
+43
use "demopage" instead of "page" as the default page parameter - needed to fix bug on en.wikisource where "Page" is a namespace name
+4
24. März 2014
Protected Module:Namespace detect/data: High-risk Lua module ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
Kfound it - mappings[nsname] was getting an upper-case key
−42
Undid revision 601018314 by Mr. Stradivarius (talk) looks like that broke something
+42
avoid using local variables to save table lookups per Jackmcbarn's suggestion, and because this will be cached with mw.loadData so performance of this function is not such a worry
−42
22. März 2014
give the argKeys table global scope so that getParamMappings can access it without having to process the cfg table again
−54
add a getArgKeys function, so that we can have multiple keys for each argument (helpful for localisation) and so that we only have to create that table once per page
+1.003
21. März 2014
Undid revision 600634263 by Jackmcbarn (talk): Oh, this seems to have been for performance. Still not sure if it's a good idea, but will leave for now
+95
IMO, aliasing variables like that makes readability worse
−95
use a dedicated config page - Module:Namespace detect/config - for configuration data, and try and reduce unnecessary table lookups in the getParamMappings function
−1.166