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
143
144
145
|
# File 'lib/wikidata_position_history/checks.rb', line 143
def headline
'Inconsistent successor'
end
|
#possible_explanation ⇒ Object
147
148
149
|
# File 'lib/wikidata_position_history/checks.rb', line 147
def possible_explanation
"#{current.item} has a {{P|1366}} of #{successor}, but is not followed by anyone here"
end
|
#problem? ⇒ Boolean
139
140
141
|
# File 'lib/wikidata_position_history/checks.rb', line 139
def problem?
successor && !later_holder?
end
|