Last modified: 2012-04-19 21:22:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33542, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31542 - RSD in 1.18 includes an incorrect xmlns
RSD in 1.18 includes an incorrect xmlns
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.18.x
All All
: Normal blocker (vote)
: 1.18.0 release
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-08 21:37 UTC by Daniel Friesen
Modified: 2012-04-19 21:22 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Friesen 2011-10-08 21:37:11 UTC
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.
Comment 1 Bryan Tong Minh 2011-10-08 21:55:10 UTC
r99135 requires merging.
Comment 2 Daniel Friesen 2011-10-08 21:57:53 UTC
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>
Comment 3 Brion Vibber 2011-10-10 18:36:16 UTC
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.
Comment 4 Brion Vibber 2011-11-03 23:17:43 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links