]> git.wincent.com - wikitext.git/commit
Refactor _Wikitext_rollback_failed_link function and friends
authorWincent Colaiuta <win@wincent.com>
Fri, 8 May 2009 11:31:01 +0000 (13:31 +0200)
committerWincent Colaiuta <win@wincent.com>
Fri, 8 May 2009 11:31:01 +0000 (13:31 +0200)
commit12af29824ba129b23aeb8c030adc16576abd4948
tree3325fc97bc87eb56fede0979e4a8a57a884e3ac5
parent923e4f7d03345781160ad69fa364d0bd88e029bb
Refactor _Wikitext_rollback_failed_link function and friends

The _Wikitext_rollback_failed_link function now encapsulates the
common pattern of trying to roll back failed internal and external
links in a single function call.

On those occasions when we want to roll back only one type of link
we must instead use the _Wikitext_rollback_failed_internal_link or
_Wikitext_rollback_failed_external_link functions.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
ext/parser.c