login failure (XML not well-formed) using MediaWiki.el 2.2.2

Bug #757263 reported by Jesper Eskilson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mediawiki-el
Invalid
Undecided
Unassigned

Bug Description

I tried to use MediaWiki.el 2.2.2 to edit our internal wiki, but get the following error when attempting to login:

Posting to: http://wiki.iar.se/iarwiki/api.php
Contacting host: wiki.iar.se:80
xml-parse-tag: XML: (Not Well-Formed) Invalid end tag (expecting br) at pos 4481

Revision history for this message
Mark A. Hershberger (hexmode) wrote :

What happens when you go to http://wiki.iar.se/iarwiki/api.php in your browser? And what is the value of mediawiki-site-alist?

Revision history for this message
Jesper Eskilson (jesper-eskilson) wrote :

I get

"There is currently no text in this page, you can search for this page title in other pages or edit this page."

Maybe that's the problem?

The value of of mediawiki-site-alist is:

(("Wikipedia" "http://en.wikipedia.org/w/" "username" "password" "Main Page")
 ("IAR Wiki" "http://wiki.iar.se/iarwiki/" "JesperE" "" "Main Page"))

Revision history for this message
Mark A. Hershberger (hexmode) wrote :

When you edit a page, what is the URL? For example, go to http://en.wikipedia.org/wiki/Api.php and then go to the edit tab. You'll see that it uses {{SCRIPTPATH}} to replace /wiki/ with /w/. You want to point mediawiki.el to whatever is the SCRIPTPATH of your wiki.

Revision history for this message
Jesper Eskilson (jesper-eskilson) wrote : Re: [Bug 757263] Re: login failure (XML not well-formed) using MediaWiki.el 2.2.2

Ok, so {{SCRIPTPATH}} seems to be /wiki, so setting the wiki URL to
wiki.iar.se/wiki gets me the following:

Posting to: http://wiki.iar.se/wiki/api.php
Contacting host: wiki.iar.se:80
Reading [text/xml; charset=utf-8]... 170 bytes of 155 bytes (110%)
Reading... done.
Posting to: http://wiki.iar.se/wiki/api.php
let*: The server encountered an error: (rvunknown_rvprop) Unrecognised
values for parameter 'rvprop'

--
/Jesper

Revision history for this message
Mark A. Hershberger (hexmode) wrote :

Jesper Eskilson <email address hidden> writes:

> let*: The server encountered an error: (rvunknown_rvprop) Unrecognised
> values for parameter 'rvprop'

Better… I suspect the MediaWiki version: What version does
Special:Version say you are running?

Revision history for this message
Jesper Eskilson (jesper-eskilson) wrote :

MediaWiki: 1.9.3
PHP: 5.2.6-2ubuntu4.6 (apache2handler)
MySQL: 5.0.67-0ubuntu6-log

Revision history for this message
Mark A. Hershberger (hexmode) wrote :

A version of MediaWiki that old may not support the API in the way we expect. Also, just checked the URL and found it didn't resolve.

Reopen if you have more information.

Changed in mediawiki-el:
status: New → Invalid
Revision history for this message
Jesper Eskilson (jesper-eskilson) wrote :

The server is on our internal network, so I would be very surprised if you managed to resolve it. Anyway, thanks. I'll push for a mediawiki upgrade here, then.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.