Page MenuHomePhabricator

WikiArticleFeed extension doesnt work on 1.16alpha (r58824)
Closed, ResolvedPublic

Description

Author: buzz

Description:
The regular expressions to match section headings no longer works. Seems as though it used to get some parsed wiki to html as

<a name="blah"><h3>something</h3></a>

and now it gets

<h3><span class="blah" id="blah"></span></h3>

the following patch makes it work on my r58824 version.


Version: unspecified
Severity: normal

Details

Reference
bz21496

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:54 PM
bzimport added a project: WikiArticleFeeds.
bzimport set Reference to bz21496.
bzimport added a subscriber: Unknown Object (MLST).

buzz wrote:

patch to bring compatibility to 1.16 alpha (r58824)

Attached:

buzz wrote:

patch to make extension work on 1.16

An updated patch. I have simplified many of the regular expressions, although they should be enough to match only what they are supposed to. This patch includes making the extraction of the author/date/time work, with a simple --~~~~ or ~~~~ signature.

Attached:

Ehr: applied in r60868, that is.