Page MenuHomePhabricator

MW after 1.19 treats "news:" differently in on-wiki links
Open, LowPublic

Description

See, for example, http://wiki121.countingopinions.com/ vs http://wiki.countingopinions.com/ -- especially the Template:Announcements page on that wiki. On 1.19 it is rendered as http://wiki.countingopinions.com/index.php/News:Announcements and on the 1.21 installation it is rendered as news:Announcements%7CAnnouncements.

I'm going to posit that most people use "News:" as a prefix more often for their articles (as MW allowed in the past) and are not even aware that it could be used as a schema for a url.


Version: 1.20.x
Severity: minor
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=41960

Details

Reference
bz47878

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:23 AM
bzimport set Reference to bz47878.
bzimport added a subscriber: Unknown Object (MLST).

Originally brought up here: https://www.mediawiki.org/wiki/Project:Support_desk#x.5BRESOLVED.5D_Upgrading_beyond_1.19_is_causing_errors_with_links_to_the_News:_namespace_26094

Workaround:

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

at the bottom of LocalSettings.php

Per bug 41960, maybe we should just remove it anyway..