I found some vars in the code that aren't in the database. I've just made a patch to add them, with descriptions and sensible defaults (namely, whatever the code uses if the var doesn't exist).
There are some interesting vars hidden away in the code. Like hide_story_navbar, which gets rid of that rather useless next/previous story navbar at the bottom of stories. I've never been able to tell what it considers "next" and "previous" stories...
Anyhow, can somebody explain to me what the "old" scoring and the "new" scoring are that the (hidden) var use_new_scoring switches between?
Also, there's a "hidden" pref as well, that allows the user to set the time before his cookie expires. Since the pref isn't settable, and the var is hidden, the cookie always uses the default of 30 days.
What exactly does hide_disabled_comments do? As near as I can tell, it excludes comment search results from stories whose commentstatus is -1, ie, comments disabled. Can you disable comments to a story after a whole bunch have been posted or something?
real_initial_rating appears to be used only if a variable is 1, and it's hardcoded to 0 only a few lines above. Was this supposed to eventually be something useful?
--
Discuss the art and craft of writing