[Wikitech-l] page title

2014-04-05 Thread Mattia Rial
I think it would be useful an alternative way to label pages with the same title, without using brackets, with smart disambiguation pages. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] page title

2014-04-05 Thread Gerard Meijssen
Hoi Did you try Wikidata for this ? It works really well... http://tools.wmflabs.org/reasonator/?find=John+Doe show you the result for a search for Sonoma.. This is not an exact match but the point is that Wikidata CAN have multiple instances of the same name. With sufficient attention to

Re: [Wikitech-l] Page title length

2013-10-31 Thread Daniel Werner
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

Re: [Wikitech-l] Page title length

2013-10-25 Thread Élie Roux
Reposted to https://www.mediawiki.org/wiki/Page_title_size_limitations . Thank you very much Nathan, Brion and Daniel for your research and good advices! It seems indeed more complex that I naively thought, but I'll try to make the changes you advised soon, keeping track of everything so

Re: [Wikitech-l] Page title length

2013-10-25 Thread Daniel Barrett
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? DanB ___ Wikitech-l mailing list

Re: [Wikitech-l] Page title length

2013-10-25 Thread Brion Vibber
On Fri, Oct 25, 2013 at 8:19 AM, Daniel Barrett d...@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

[Wikitech-l] Page title length

2013-10-24 Thread Élie Roux
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

Re: [Wikitech-l] Page title length

2013-10-24 Thread Nathan Larson
On Thu, Oct 24, 2013 at 1:01 PM, Élie Roux elie.r...@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

Re: [Wikitech-l] Page title length

2013-10-24 Thread Daniel Friesen
On 2013-10-24 10:01 AM, Élie Roux wrote: 1. 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? Other things won't break. But the limit is hardcoded

Re: [Wikitech-l] Page title length

2013-10-24 Thread Brion Vibber
On Thu, Oct 24, 2013 at 10:01 AM, Élie Roux elie.r...@telecom-bretagne.euwrote: 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: 1. If I change this limit to 1023 in

Re: [Wikitech-l] Page title length

2013-10-24 Thread Daniel Friesen
On 2013-10-24 3:00 PM, Brion Vibber wrote: 2) Search around for '255' appearing in .php, .inc, or .js files and change the checks to 1023. You might be able to get away with mostly changing just this bit in includes/Title.php: # Limit the size of titles to 255 bytes. This is

Re: [Wikitech-l] Page title length

2013-10-24 Thread Nathan Larson
Changing the maximum length of a title will require a huge number of changes and is not easy to make configurable so we should do this only one time changing the maximum length of title to the maximum we can feasibly make it. ~Daniel Friesen (Dantman, Nadir-Seen-Fire)

Re: [Wikitech-l] Page title length

2013-10-24 Thread Daniel Friesen
On 2013-10-24 5:05 PM, Nathan Larson wrote: Reposted to https://www.mediawiki.org/wiki/Page_title_size_limitations . I cleaned up and cited it. Though in this instance writing up an RFC quoting the research I did on what needs changing and what kind of limits we need to understand to pick the