Page MenuHomePhabricator

One custom namespace broken after update (rendered as broken external links)
Closed, InvalidPublic

Description

Author: redekopmark

Description:
I upgraded from 1.18.5 today to 1.20.0 after the update script finished I noticed that the links of one of my custom namespaces was broken. All links to it are now rendered as broken external links, transclusion and links to the talk pages however still work. This problem also only effects one of the custom namespace that i have on my wiki, the others are all completely fine. I've also tried removing all of the extensions that i have installed but this did not help.

Here's a link to my wiki that demonstrates the problem http://www.aiowiki.com/wiki/User:Reddo/1.20/namespace


Version: 1.20.x
Severity: major

Details

Reference
bz41874

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 12:48 AM
bzimport set Reference to bz41874.
bzimport added a subscriber: Unknown Object (MLST).

The namespace is called news:, so it's recognized as one of the protocols accepted for external links. [[mw:Help:Links]]
I don't remember if this is something which changed recently, in any case configuring [[mw:Manual:$wgUrlProtocols]] should be enough to disable it and make internal links work.

redekopmark wrote:

thanks for the help nemo, that was the problem, adding

$wgUrlProtocols = array_diff($wgUrlProtocols, array('news:'));

fixed it for me.