merging upstream changes from [[com:regex]]. Fixing bug in edit summary creation
merging upstream bug fixes for wiki.java