Topic on Project:Support desk

Jump to navigation Jump to search

Problem with a colon in long pagenames

4
SBachenberg (talkcontribs)

Hi, we have a Problem in our wiki with long page name's with a Colon in it. It seems that, if you have a page name with a colon after 230bytes of string you get an Error.

Here are 2 Examples

This makes an error: http://sofis.gesis.org/sofiswiki/This_is_an_ultra_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_long_string_with_a_colon_at_the_end_Look_here_this_one:_doesnt_work

and this works: http://sofis.gesis.org/sofiswiki/This_is_an_ultra_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_very_long_string_with_a_colon_at_the_end_Look_here_this_on:e_works_very_well

I have reported the bug here: https://bugzilla.wikimedia.org/show_bug.cgi?id=52781 but they said I should ask here for help.

88.130.64.41 (talkcontribs)

Hi Simon,

just to make that clear: You only get the error, when the colon comes exactly after 230 bytes? Not after 229 or less and not after 231 or more?

I am not sure, where the problem comes from, but your page names are so long; maybe they are longer than allowed for URLs and this somehow causes the problem?

193.175.238.244 (talkcontribs)

Hi, the Problem occurs when a page name has a colon after 230 bytes and more. We have many long page names in our wiki, that dont make any errors and many are even longer.

I think, the mediawiki thinks somehow that this could be a namespace and that causes the error. Because if you have colon earlier in the name and another one at the end, than nothing happens and everything is fine. The pages dont even have to exist to cause this error.

MarkAHershberger (talkcontribs)

Followed up on the bug, but I think the problem you're running into is the total length of the title -- it has nothing to do with the namespace itself.

Reply to "Problem with a colon in long pagenames"