User "Reedy" posted a comment on MediaWiki.r97919. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97919#c23086 Commit summary:
Mostly revert r97328 Swap substring to be done on smaller (more correct) values Comment: 0 based indexing? The first one is appending a newline, the target value is max 65507, so if it's longer than 65506 (66507 with newline), we cropping it from 0-65505 (which equals 65506), add a newlne, gives 65507 In the second case if it's longer than the target of 65507, we trim it from 0-65506 (65507) which is the target value _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
