[Bug 59578] DRTRIGON-25 F41 (copied from wiki, priority 4)

2014-01-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=59578

Bugzilla Bug Importer (valhallasw) wmf.bugconver...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Bugzilla Bug Importer (valhallasw) 
wmf.bugconver...@gmail.com ---

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.tri...@surfeu.ch
CC list: dr.tri...@surfeu.ch

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 59578] DRTRIGON-25 F41 (copied from wiki, priority 4)

2014-01-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=59578

--- Comment #5 from Bugzilla Bug Importer (valhallasw) 
wmf.bugconver...@gmail.com ---
---
From: drtrigon dr.tri...@surfeu.ch
Date: Mon, 20 Sep 2010 18:41:19
---

(switch close - resolve management)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 59578] DRTRIGON-25 F41 (copied from wiki, priority 4)

2014-01-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=59578

--- Comment #1 from Bugzilla Bug Importer (valhallasw) 
wmf.bugconver...@gmail.com ---
---
From: drtrigon dr.tri...@surfeu.ch
Date: Sat, 04 Sep 2010 00:14:00
---

http://de.wikipedia.org/w/api.php?action=parsetext=%7B%7BBenutzer:DrTrigon%7D%7Dprop=sections

as visible 'byteoffset' is now available BUT empty... ?!?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 59578] DRTRIGON-25 F41 (copied from wiki, priority 4)

2014-01-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=59578

--- Comment #4 from Bugzilla Bug Importer (valhallasw) 
wmf.bugconver...@gmail.com ---
---
From: drtrigon dr.tri...@surfeu.ch
Date: Fri, 17 Sep 2010 00:23:08
---

There is also the 'noreferences.py' and 'reflinks.py' scripts/bot to handle the
last issue (if it appears again).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 59578] DRTRIGON-25 F41 (copied from wiki, priority 4)

2014-01-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=59578

--- Comment #2 from Bugzilla Bug Importer (valhallasw) 
wmf.bugconver...@gmail.com ---
---
From: drtrigon dr.tri...@surfeu.ch
Date: Sun, 12 Sep 2010 00:04:20
---

Look at
http://de.wikipedia.org/w/index.php?title=Benutzer_Diskussion:Umherirrenderoldid=79001496#MediaWiki_API_und_byteoffset

as stated there
http://de.wikipedia.org/w/api.php?action=parsepage=Benutzer:DrTrigonprop=sections
does work!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 59578] DRTRIGON-25 F41 (copied from wiki, priority 4)

2014-01-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=59578

--- Comment #3 from Bugzilla Bug Importer (valhallasw) 
wmf.bugconver...@gmail.com ---
---
From: drtrigon dr.tri...@surfeu.ch
Date: Tue, 14 Sep 2010 16:53:25
---

Solved in r18: https://fisheye.toolserver.org/changelog/drtrigon/?cs=18

This solution is based on 'action=parse', its 'anchor' and 'byteoffset' values.
The 'anchor' value is critical since it cannot be generated (except by
emulating the wiki parser) local and HAS TO BE REQUESTED. In cases this is not
possible (e.g. because the request fails) a page cannot be separated into
sections and thus has to be processed IN ONE PIECE.

In case the 'byteoffset' is missing or wrong (look e.g. [1]) it will be
generated with help of 'line' and difflib [2]. In rare cases when this does not
work or has problems action=queryprop=revisions with 'rvsection' can be used
for support (this is not implemented yet). The drawback is this will be VERY
SLOW and HIGH TRAFFIC.

It should be obvious that the content of the page (and thus the get) is always
critical.

If any unsolvable problems occur, the page cannot be separated into sections
and thus has to be processed IN ONE PIECE. This cases should be very rare
anyway.

Side note: the issues with references tags do not exist anymore.

[1]
http://de.wikipedia.org/w/api.php?action=parsepage=Wikipedia:Testseiteprop=sections
 
[2] http://docs.python.org/library/difflib.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l