Topic on Project:Support desk

Jump to navigation Jump to search

Problem with a colon in long pagenames

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:

and this works:

I have reported the bug here: but they said I should ask here for help. (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? (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"