Chanukah from the Perspective of Sefer HaMitzvos

When the Gemara asks מאי חנוכה, it quotes a short excerpt from מגילת תענית including the miracle of the oil. Does the gemara (and the Rambam) deliberately omit the rest of what is written including the re-dedication of the Beit HaMikdash?