On Thu, Oct 24, 2013 at 1:01 PM, Élie Roux elie.roux@telecom-bretagne.euwrote:
Dear MediaWiki developers,
I'm responsible for the development of a new Wiki that will contain many Tibetan resources. Traditionnaly, Tibetan titles of books or even parts of books are extremely long, as you can see for instance here : http://www.tbrc.org/#!rid=**W23922 http://www.tbrc.org/#!rid=W23922, and sometimes too long for Mediawiki, for instance the title of
http://www.tbrc.org/?locale=**bo#library_work_ViewByOutline-** O01DG1049094951|W23922http://www.tbrc.org/?locale=bo#library_work_ViewByOutline-O01DG1049094951%7CW23922
, which is
ཤངས་པ་བཀའ་བརྒྱུད་ཀྱི་གཞུང་བཀའ་**ཕྱི་མ་རྣམས་ཕྱོགས་གཅིག་ཏུ་བསྒྲི** ལ་བའི་ཕྱག་ལེན་བདེ་ཆེན་སྙེ་མའི་**ཆུན་པོ་
. This title is around 90 Tibetan characters, but each caracter being 3 bytes, it exceeds the limit for title length of 256 bytes that MediaWiki has.
So I have two questions:
- If I change this limit to 1023 in the structure of the database
('page_title' field of the 'page' base), will other things (such as search engine) break? Is there a way to change it more cleanly?
- Could I propose you to make this limit 1023 instead of 255 (or to make
it configurable easily)? This would allow at least 256 characters (even for asian languages) instead of 256 bytes, which seems more consistant with the fact that MediaWiki is well internationalized.
Thank you in advance,
Elie
Wouldn't ar.title, log_title, rc_title, and so on also need to have their sizes increased? I didn't see any bug report proposing an increase in page title size, although there was this one about comment size. https://bugzilla.wikimedia.org/show_bug.cgi?id=4715