Duplicate entities should not happen but any unforeseen process termination may accidental collide with a rollback transaction and leaves an update process hanging and can therefore cause an ID request to be unsuccessful and hereby creates an new ID for an already existing entity.
Semantic MediaWiki's update transactions are atomic and should prevent those scenarios but on some rare occasions above events can still unfold and to minimize a potential impact on queries or data consistency different features 12 are provided.
How to resolve a duplicate entry?
- A simple save (or purge) action should be enough for the system to detect and mark 1 duplicate entries.
- special page "SemanticMediaWiki"Provides functions for wiki administrators that assist in doing their administration work provides a tool 2 to monitor the entity table on possible duplicate entries (it can take a moment before data are fetched and returned from a request). To avoid any excessive use of the tool, retrieved data are cached
api.taskand may not reflect the most recent status especially when listed entities have been recently (within the cacheTTL) processed.
- Help page on maintenance script
rebuildData.phpAllows to rebuild all the semantic data for a selected data backend/store
- Help page on outdated entities
- Help page on purging