Class: WikidataPositionHistory::Check::MissingSuccessor
Overview
Is there a ‘replaced by’ but no next item in the list?
Instance Method Summary
collapse
#explanation, #initialize
Instance Method Details
#headline ⇒ Object
144
145
146
|
# File 'lib/wikidata_position_history/checks.rb', line 144
def headline
'Inconsistent successor'
end
|
#possible_explanation ⇒ Object
148
149
150
|
# File 'lib/wikidata_position_history/checks.rb', line 148
def possible_explanation
"#{current.officeholder.qlink} has a {{P|1366}} of #{successor_qlink}, but is not followed by anyone here"
end
|
#problem? ⇒ Boolean
140
141
142
|
# File 'lib/wikidata_position_history/checks.rb', line 140
def problem?
successor_qlink && !later_holder?
end
|