Page history
20 January 2014
make 'string' the default message type in the message function to avoid having 'string' all over the place
−638
remove the err function, as it's not being used any more
−210
19 January 2014
17 January 2014
simplify the start box code and attempt to get some more output if the env table contains errors
−70
use "ugsub" rather than "gsub" as the abbreviation for mw.ustring.gsub, to make it clearer that it isn't the regular string.gsub
+2
16 January 2014
oops, looks like I issued a command that put everything in lower case somewhere along the line
only generate the URL for the compare link in the env table - the rest is now done elsewhere so that the display can be different in different places
+228
fix subjectSpace var in makeSubpagesBlurb
+59
clean up the env table functions and the comments
+369
fix revision id code
−4
sandbox notice - separate test cases blurb with a line break rather than a space
+5
convert the sandbox notice code to Lua
+1,199
move diff link to the env table
+262
p.makeStartBoxLinksData - fix title objects that weren't being passed through
+46
get rid of the env:grab function
−1,099
use the err function for all the errors
−8
finish moving end box code into sub-functions
−216
simplify the content function
−108
need to check type as well
+88
control for blank values of linksData
+27
replace another argument name with a hardcoded value
−54
hardcode "off" in "link box=off" as well, for the benefit of other modules/templates
−26
don't use messages for args either - would be a pain for other modules that have to use this module
−218
15 January 2014
don't use messages for fmbox parameter names
−194
use messages for the err function instead of hard-coded values
−7
add a categories blurb function
+378
add a templateTitle object to the env functions, and reformat the experimentBlurb function to make it fit on the page
+1,469
allow for nil values of makeDocPageBlurb
+8
split out docpage blurb code
+1,123
fix the docpage thing again
m+14
split out experiment blurb code
+897
use docTitle.prefixedText instead of docpage
+14
finish splitting the _startBox function into smaller functions
−1,530
add functions for rendering start box links and for making the start box link data
+2,385
14 January 2014
13 January 2014
fix typo
madd local subjectSpace variable to _startBox
+39
make all the helper functions available in the p table
+129
12 January 2014
6 January 2014
3 January 2014
finish converting existing values to use env table
+66
start conversion to a p.getEnv function rather than using globals; I've only got as far as the start box, so the module currently won't run
+2,493
2 January 2014
rename formatMessage --> message, as it is no longer just doing formatting; tweak the function's comment as well
−463
found it - fix misspelled message name
−34
test otherNamespaceHeading
+35
add some newlines to make the html slightly more readable
+55
check for type of cfg messages rather than just for nil
+871
check existence of all cfg messages - this should help avoid hard-to-track-down bugs and silent failures if translators make a coding mistake
+1,110
1 January 2014
set the proper error level for formatMessage, although it looks like it doesn't work because of the upvalues
use the cfg key only with formatMessage in order to generate more descriptive error messages
+156