11 Commits

Author SHA1 Message Date
James Lu
b79ddf2f7e Wikifetch: update URL for commons.wikimedia.org test, as the old one has been removed 2017-06-03 17:47:06 -07:00
James Lu
394158bea5 Wikifetch: fix Wikipedia test 2017-04-16 16:53:37 -07:00
James Lu
d5f498bfcb Wikifetch: switch to a different article for testMediaWiki 2017-03-18 23:52:38 -07:00
James Lu
18493a5e23 Wikifetch: revamp tests to be more complete
This now tests different combinations of --site, and tries to parse some other common wikis.
2017-01-27 18:01:13 -08:00
James Lu
5bf0bd6fd5 Wikifetch: bump copyright years 2017-01-27 17:32:20 -08:00
James Lu
eb96578e91 Wikifetch: remove another broken test 2016-09-18 12:19:39 -07:00
James Lu
9db9f000ed Wikifetch: remove long-broken test 2016-09-18 11:16:46 -07:00
James Lu
facd42da12 Wikifetch: add test for 'random' 2015-10-25 17:44:17 -07:00
James Lu
7f5cea73ad Wikifetch: fallback to '' instead of "None" for bold text, w/ combinations of <a> tags inside <b> tags
Example for this is the article for "Fallstreak hole", where the old behavior would create incorrect results when an <a> tag is nested at the beginning of a <b> tag.

Bad:
<Lily> A Nonefallstreak hole, also known as a hole punch cloud, punch hole cloud, skypunch, canal cloud or cloud hole, is a large circular or elliptical gap that can appear in cirrocumulus or altocumulus clouds. Such holes are formed when the water temperature in the clouds is below freezing but the water has not frozen yet due to the lack of ice nucleation (see supercooled water). When ice crystals do form it will set off a (1 more message)

Better:
<Lily> A fallstreak hole, also known as a hole punch cloud, punch hole cloud, skypunch, canal cloud or cloud hole, is a large circular or elliptical gap that can appear in cirrocumulus or altocumulus clouds. Such holes are formed when the water temperature in the clouds is below freezing but the water has not frozen yet due to the lack of ice nucleation (see supercooled water). When ice crystals do form it will set off a (1 more message)
2015-10-11 17:26:31 -07:00
James Lu
be34ec21f1 Wikifetch: strip spaces in disambiguation output, preventing output corruption 2015-09-25 20:06:25 -07:00
James Lu
f6118edd74 New Wikifetch plugin, forked from GLolol/ProgVal-Supybot-plugins@efba93e28e 2015-05-17 21:43:34 -07:00