Wikibase uses "magic" edit summaries that can later be parsed and localized for display. This is done via the Format-Autocomment hook, handled by Summary::onFormat. Below are examples of the magic summaries currently used. Note that the block between the /* and the */ (the "auto-comment") specify a system message and the parameters for that message (the "comment arguments"). By convention, the first comment argument is a count, used to trigger the plural version of the message when needed. The second argument, if present, is a language code. /* wbsetsitelink-add:1|site */ linktitle /* wbsetsitelink-set:1|site */ linktitle /* wbsetsitelink-remove:1|site */ /* wbsetlabel-add:1|lang */ value /* wbsetlabel-set:1|lang */ value /* wbsetlabel-remove:1|lang */ value /* wbsetdescription-add:1|lang */ value /* wbsetdescription-set:1|lang */ value /* wbsetdescription-remove:1|lang */ value /* wbeditentity-update: */ /* wbeditentity-override: */ /* wbeditentity-create: */ /* wbsetaliases-set:1|lang */ values... /* wbsetaliases-remove:1|lang */ values... /* wbsetaliases-add:1|lang */ values... /* wblinktitles-create:2| */ fromSite:fromPage, toSite:toPage /* wblinktitles-connect:2| */ fromSite:fromPage, toSite:toPage /* wbsetclaimvalue:1 */ p123 /* wbremoveclaims:n */ props... /* wbremoveclaims-remove:1 */ props... /* wbcreateclaim-value: */ p123 /* wbcreateclaim-novalue: */ p123 /* wbcreateclaim-somevalue: */ p123 /* wbsetclaim-update: */ p123 /* wbsetclaim-create: */ p123 /* wbsetclaim-update-qualifiers: */ p123 (claim)|p4 (qualifier) /* wbsetclaim-update-references: */ p123 (claim)|p4 (reference) /* wbsetclaim-update-rank: */ p123 The following summaries are not yet fully implemented and just included for reference: /* wbsetclaim:1 */ p123 /* wbremovereferences:n */ p123 /* wbsetreference:1 */ p123 /* wbremovequalifiers:n */ p123 /* wbsetqualifier:1 */ p123(claim)|p567(qualifier) /* wbsetstatementrank-deprecated:1 */ p123 /* wbsetstatementrank-normal:1 */ p123 /* wbsetstatementrank-preferred:1 */ p123