Last modified: 2010-05-15 15:28:09 UTC
In a wonderful case of "the multiduplicitousness of life", within a couple of hours I had cause to edit two sections which contained an equals sign ('='), and noticed that the automatic summary was truncated at the '='. This appears to be because of the regular expression used in EditPage.php, which terminates on any number of '='s. Patch to follow shortly.
Created attachment 142 [details] patch to change auto-summary regex This changes the regex from "non-greedily look for at least one equals sign" to "greedily look for a matching number of equals signs". This is more analagous to what the parser does when it actually renders the headings, and means that the heading is whatever is within the outermost matching pair of equals signs on the line. Oh, and $sectitle wasn't used anywhere else in the file, so I got rid of it.
Fixed in 1.4