Page MenuHomePhabricator

RSD in 1.18 includes an incorrect xmlns
Closed, ResolvedPublic

Description

REL1_17: <rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd">
REL1_18: <rsd xmlns="http://www.mediawiki.org/xml/api/" version="1.0">
trunk: <rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd">

1.18 is using an incorrect MW api xmlns for ?action=rsd instead of the standard srd xmlns that rsd parsers are supposed to use.


Version: 1.18.x
Severity: blocker

Details

Reference
bz31542

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:47 PM
bzimport set Reference to bz31542.
bzimport added a subscriber: Unknown Object (MLST).

Bryan.TongMinh wrote:

r99135 requires merging.

We should probably add in code so that even if you do specify includexmlnamespace then action=rsd ALWAYS uses a proper rsd namespace.

<rsd xmlns="the mw api"> is completely wrong no matter what parameter you specify because <rsd> is not <api>

Merged to REL1_18 in r99415.

It should indeed *not* clobber other namespaces when in use though...

bug 24781 was the original request for a namespace.

The general clobbering issue was moved out to bug 31878, fixed in r101912 by changing the order of things so the existing xmlns takes precedence.