On Thu, 20 Dec 2012 17:59:24 +0100, Al Johnson <[email protected]> wrote:
My wiki's page titles may be very long.  Can I adjust the maximum length 
allowed for page titles?

Unfortunately the maximum length is currently hardcoded at 255 bytes[1], 
because that's the length of the database field.

You could be able to achieve something by making that field a blob (or simply 
increasing its size) and then grepping MW's source code for '255' or '256' and 
adjusting accordingly. (But beware, some other things are also hardcoded at 255 
bytes, e.g. edit summaries.)

[1] https://www.mediawiki.org/wiki/Manual:Page_table#page_title

--
Matma Rex

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to