Page MenuHomePhabricator

DRTRIGON-64 Wrong byteoffset given by action=parse
Closed, ResolvedPublic

Description

This issue was converted from https://jira.toolserver.org/browse/DRTRIGON-64.
Summary: Wrong byteoffset given by action=parse
Issue type: Support request -
Priority: Major
Status: Resolved
Assignee: drtrigon <dr.trigon@surfeu.ch>


From: drtrigon <dr.trigon@surfeu.ch>

Date: Mon, 20 Sep 2010 19:45:17

The mediawiki API for wikipedia:de gives for some pages wrong byteoffset data. This was discussed on [1].

[1] http://de.wikipedia.org/w/index.php?title=Benutzer_Diskussion:Umherirrender&oldid=79265890#MediaWiki_API_und_byteoffset


Version: unspecified
Severity: major

Details

Reference
bz59543

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:38 AM
bzimport set Reference to bz59543.

From: drtrigon <dr.trigon@surfeu.ch>

Date: Thu, 30 Sep 2010 07:16:03

Another issue with action=parse is the fact that sometimes it does return empty 'item' fields. At the moment this is taken as a sign for parsing problems in the API itself and those sections are merged with the previous one. Without 'item' field the re-try of receiving section data can not be performed (since the number is missing), too.


From: drtrigon <dr.trigon@surfeu.ch>

Date: Sat, 02 Oct 2010 17:04:24

The actual sum_disc and dtbext framework code is able to handle such problematic requests. In the rare cases where not valid section data can be retrieved it either processes multiple headers as one or the whole page as one.

This has the drawback that if a user participates in a discussion which is followed by another one, the user's contributions may be marked as irrelevant and not reported by the bot.

This problem has to be solved in mediawiki software and will cause the bot operate correctly if solved. There is no need to further adapt the bot code, if no major changes are made.


From: drtrigon <dr.trigon@surfeu.ch>

Date: Tue, 30 Aug 2011 16:14:15

fixed version missing

This bug was imported as RESOLVED. The original assignee has therefore not been
set, and the original reporters/responders have not been added as CC, to
prevent bugspam.

If you re-open this bug, please consider adding these people to the CC list:
Original assignee: dr.trigon@surfeu.ch
CC list: dr.trigon@surfeu.ch