Fixed mediawiki ordered list parsing.

Closes #1122.