On Sat, Sep 3, 2011 at 8:45 PM, Jeroen De Dauw <jeroendedauw(a)gmail.com>wrote;wrote:
$sqlx =
substr( $commentedSql, 0, 500 );
What's the reason for this line? Why truncate after 500 chars?
Now that's a good question! I did some digging and finally found the
revision in which that line was added:
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/1914 by Tim, dating
back to November 2003. Tim might know why that limitation is there, although
the code is ooooooold -- I don't think anyone has objections to making the
limit configurable at least (but correct me if I'm wrong).
Thanks and regards,
--
Jack Phoenix
MediaWiki developer