This is not an exact answer to your question, but rather a simple and powerful alternative.
If you are thinking about using Semantic-MediaWiki (which would be very applicable for a Wiki about resources), you should have a look at: http://www.mediawiki.org/wiki/Extension:SemanticTitle
The SemanticTitle extension seems to be currently unmaintained but just yesterday there has been a talk at SMW-Con here in Berlin which revealed plans by MITRE to soon commit their recent changes on the extension and perhaps even maintain it in the future.
More information about the talk: http://semantic-mediawiki.org/wiki/SMWCon_Fall_2013/Revolutionizing_page_nam... The slides of the talk are already available on that page, a video recording should follow soon.
Cheers, Daniel Werner
2013/10/24 Élie Roux elie.roux@telecom-bretagne.eu:
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, and sometimes too long for Mediawiki, for instance the title of
http://www.tbrc.org/?locale=bo#library_work_ViewByOutline-O01DG1049094951%7C...
, 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
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l