Document two methods that are useful for site-specific tweaks

We implemented these functions in 139f5da1 to allow for clean extension
overrides but didn't provide any docs for extension writers.
Merge branch '4.2/doc-extractparseticketid' into 4.2-trunk