thilp / vlb-rb

IRC bot for #vikidia
https://thilp.github.io/vlb-rb/
GNU General Public License v2.0
1 stars 2 forks source link

Occasional misplacement of page status indicators after wikilink expansion #18

Closed thilp closed 8 years ago

thilp commented 9 years ago

vlb is sometimes confused about which page status indicator goes with which URL:

13:45 <Bob> [...] [[User:Lucas0231]] [[User:Exbar]]
13:45 <VikiLinkBot> ∄ https://fr.vikidia.org/wiki/User:Lucas0231 · ∃ https://fr.vikidia.org/wiki/User:Exbar

In the example above, [[User:Lucas0231]] exists, [[User:Exbar]] doesn't, and vlb says the opposite.

This is probably due to some sorting that is performed on one set and not the other.

thilp commented 8 years ago

Today I tried the same input and it has actually become even worse:

/home/thib/git/vlb-rb/lib/vlb/wikilink_resolver.rb:13:in `execute': undefined method `key?' for nil:NilClass (NoMethodError)

Great followup! :+1: