pediapress / mwlib

mediawiki parser library
103 stars 35 forks source link

use redirect aliases #43

Closed murawaki closed 10 years ago

murawaki commented 10 years ago

I replaced the hard-coded redirect directive with various aliases obtained from siteinfo. Non-English Wikipedia projects generally have customized redirect directives. The previous version fails to recognize them.

schmir commented 10 years ago

I've added a simple test in 7392774968090b042718fb1329e85ce.

Thanks!