On Fri, Oct 25, 2013 at 8:19 AM, Daniel Barrett <danb(a)vistaprint.com> wrote:
Search around
for '255' appearing in .php, .inc, or .js files and change
the checks to
1023. [...]
Should someone maybe define a constant Title::MAX_LENGTH instead of
hard-coding 255 in many PHP files?
Yes, such a thing should be done. :)
We'll also have to find a way to export the value to JavaScript and to SQL.
JS can probably use a global config var or such; SQL can probably use a
magic comment+token replacement like the db type and prefix magic.
-- brion