class WikidataPositionHistory::Check::MissingPredecessor

Is there a 'replaces' but no previous item in the list?

Public Instance Methods

headline() click to toggle source
# File lib/wikidata_position_history/checks.rb, line 114
def headline
  'Inconsistent predecessor'
end
possible_explanation() click to toggle source
# File lib/wikidata_position_history/checks.rb, line 118
def possible_explanation
  "#{current.officeholder.qlink} has a {{P|1365}} of #{predecessor_qlink}, but does not follow anyone here"
end
problem?() click to toggle source
# File lib/wikidata_position_history/checks.rb, line 110
def problem?
  predecessor_qlink && !earlier_holder?
end