Page history - Wikipedia
Page history
Namespace detect/data
1 April 2020
MusikAnimal
1 revision imported
m
06:12
14 February 2019
w>MusikAnimal
Protected "Module:Namespace detect/data": High-risk Lua module ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
m
01:37
5 April 2014
Mr. Stradivarius
bug fix - use the demospace parameter as both key and value in the argKeys table
17:02
+43
Mr. Stradivarius
use "demopage" instead of "page" as the default page parameter - needed to fix bug on en.wikisource where "Page" is a namespace name
05:40
+4
24 March 2014
Mr. Stradivarius
Protected Module:Namespace detect/data: High-risk Lua module ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
m
11:45
Mr. Stradivarius
found it - mappings[nsname] was getting an upper-case key
11:43
−42
Mr. Stradivarius
Undid revision 601018314 by Mr. Stradivarius (talk) looks like that broke something
11:37
+42
Mr. Stradivarius
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
11:36
−42
22 March 2014
Mr. Stradivarius
give the argKeys table global scope so that getParamMappings can access it without having to process the cfg table again
07:03
−54
Mr. Stradivarius
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
06:41
+1,003
21 March 2014
Jackmcbarn
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
19:06
+95
Jackmcbarn
IMO, aliasing variables like that makes readability worse
19:04
−95
Mr. Stradivarius
use a dedicated config page - Module:Namespace detect/config - for configuration data, and try and reduce unnecessary table lookups in the getParamMappings function
03:13
−1,166
20 March 2014
Jackmcbarn
name return values
16:02
+17
Jackmcbarn
okay, it needs wrapping after all
15:52
+4
Jackmcbarn
no sense wrapping this
15:49
−26
Jackmcbarn
←Created page with '---------------------------------------------------------------------------------------------------- -- Configuration da...'
15:47
+2,786
Content is available under CC BY-SA 3.0 unless otherwise noted.
Privacy policy
Terms of Use
Desktop
 Home Random  Nearby  Log in  Settings  Donate  About Wikipedia  Disclaimers