- A cluster of bugs found in #81 fixed:
- Empty comment (
<!---->
) now processed properly; - Templates that are implicitly inside tables (put on a separate row) now always create
an implicit
<TableCell>
- Heading after non-closed table closes the table implicitly instead of being inserted into the last cell.
- Empty comment (
- Drop Ruby < 2.6, and support 3.0 instead.
PS: Yeah, year-and-almost-half is much better than 2 years between releases, I guess.. And let's call it non-patch version then.
- Fixed table captions handling (thanks @robfors for reporting)
PS: Funny that this small bugfix release is exactly two years after the previous one :(
- Updated MediaWiktory to finally turn on gzip encoding of responses;
- Utility methods to expose some internals (
MediaWiki#api
,Infoboxer#url_for(:wikipedia)
,Page#namespaces
,Template#named_variables
and so on); - Fix parsing of lowercase
file:
links in<gallery>
.
- (Experimental) new representation of templates, much more readable;
- More access to querying process and underlying
MediaWiktory::Wikipedia::Query
; - Finally,
limit
parameter for multi-page queries (category, search, prefixsearch).
- Introduce interwiki links following (and proper handling of interwikis, in general);
- Add
<gallery>
tag support; - Introduce
Navigation::Selector#===
; - Much more
Enumerable
's methods supported byNodes
; - Lot of small simplifications, cleanups and bugfixes.
TBH, it should be 0.4.0 or more, but it would be a shame to change versions so fast :) So, at least
until it is -pre
, let it be 0.3.1.
- Change logic of navigation through templates; now templates contents aren't hidden from global lookups. While sometimes leading to less impressive demos, this approach proved itself to be more useful for production.
- Introduce WikiPath query language as an alternative to series of lookups.
- Switch to MediaWiktory 0.1.0 + some subsequent cleanup of internal logic;
- Additional
prop:
param forMediaWiki#get
,#get_h
, and#raw
, allowing to fetch arbitrary page properties.
- Fix
Math
node rendering to text (#68); - Fix consequtive apostrophes problem (#69);
- Fix math parsing in templates (#70).
0.2.5 was erroneously released without any changes.
- Fix of
<math>
tags parsing (#66)
MediaWiki#get_h
works correctly with several synonymous pages now;get
andget_h
work better when some of required titles are downcase;- Travis compatibility check restored.
New and enchanced features:
- more useful templates (quick-n-dirty sometimes, but prettier output for typical cases);
- Caching of wikiobjects, so for several calls to
Infoboxer.wp
it would be only one API call for wiki metainformation; MediaWiki#get
now preserves order of pages (page list would be in the same order as requested titles);MediaWiki#get_h
to receive hash oftitle => page object
(useful to know which titles have been no pages for and better control on redirects).
Fixes:
Image
node equality fixed.
Fixes:
- more sophisticated table parsing;
- empty
<nowiki/>
is parsed properly; - inline unclosed markup inside wikilinks works;
MediaWiki::Traits
can now be continued in several places.
infoboxer
binary properly registered.
- MediaWiki backend changed to (our own handcrafted) mediawiktory;
- Added page lists fetching like
MediaWiki#category(categoryname)
,MediaWiki#search(search_phrase)
; MediaWiki#get
now can fetch any number of pages at once (it was only 50 in previous versions);bin/infoboxer
console added for quick experimenting;Template#to_h
added for quick information extraction;- many small bugfixes and enchancements.
- Small bug with newlines in templates fixed.
Aaaaand, rrrrrelease it into the wilde!
ImageCaption
class added;- Smallest refactorings;
- More documentation fixes.
Basically, preparing for wider release!
- Small refactorings;
- Documentation fixes.
Initial (ok, I know it's typically called 0.0.1, but here's work of three monthes, numerous documentations and examples and so on... so, let it be 0.1.0).