@Pastek
Why do you think Quran narrates the story of past Prophets for the Muslims so much?
I think it is because there is lesson to learn from them. So, when we learn why for example Jesus is not acceptable to Jews, and why Muhammad is not explicitly mentioned in Bible, perhaps, we learn about ways of Allah, and how He possibly describes a future prophet in Scriptures, such as Quran.
The Mahdi is not a Prophet. Honestly, I'm proving here the Shiite Twelver concept of the Mahdi as spoken about in the hadiths and Quran.
The Mahdi itself is almost a meaningless title unless you realize that it implies there will come a time that Islam is hidden, non-existent, and the Quran is hidden, non-existent, and the people of the Quran hidden without an outward community.
When the period occurred between Jesus and Mohammad, Elyas was the hidden witness and guide, but his community were not known.
With regards to Quran, although God's Sunnah never changes, there is some notable differences then the past nations.
(1) Quran is divinely protected, it is not lost.
(2) Quran is build over 23 years, which people who study linguistics, deny Mohammad ever existed or know he is a Prophet. There is no well maybe it was revealed over 23 years and Mohammad is historically correct and Quran can be linguistically possible. Those who know linguistics very well, know it's impossible. This is why now people who aware of this but don't know want to submit to Mohammad's Authority to submit to God, will go to lengths to say there is alternative history, and Saudi Arabia is destroying a lot of historical sites and old evidence of items we have, to show history, for this reason as well. The Gog/Dajjal/Pharoah and his followers (Magog) due to the science of linguistics are preparing people and getting rid of evidence so as to put doubt on Mohammad's existence.
(3) Contrary to the theory that those in power made up Quran, the Quran negates the false idol and it's supposed authority and delegates it the leaders of the oppressed, Mohammad and his family, and so this goes against the thesis above, that rulers of Arabia made up the Quran!
(4) Due to 3, there is a constant war to separate the Quran from the family of Mohammad, but as they know this will eventually fail, they want to make alternate paths - so Bohras and Ismailis are heavily close with Freemasons for a reason. They wish to eventually make us doubt the actual Ahlulbayt and follow a false Ahlulbayt.
(5) But if Quran is a complete guidance and clarification of the path and way, it must clarify the kin who are designated to the path of God (42:23, 25:57) and hence the number of Successors, it's incumbent upon God to clarify.
(6) The translations with regard to the Twelve and the words therein, the spell is being broken, so panic mode will happen to Iblis and his forces.
(7) The final plan will be to delegate a whole new religion acknowledging Ahlulbayt and replace it with a new Prophet and new set of leaders. This is being tested with Ahmedis, Bahais, Maiterya followers, etc, and the Shiite 24vers (I nick name followers of Ahmad Hassan that). It's seen if people have enough mental clarity to refute the arguments made by these people. The problem that occurs, is God has made Prophets falsifiable. They must provide miracles and proofs for example in form of power that only God can directly delegate and sustain.
(8) The plan seems to make miracles into just symbolic meanings, I've seen in my life time a person called MacIsaac on Shiachat.com who was a convert to Shiism, that has left Shiism now, but appeared to be a pious helper of Shiism and devout follower, always emphasize that miracles are not literal, there is no Barzakh life, no spiritual help from Imams etc, can't talk to dead Imams, etc, and some people followed him and he wasn't easy to refute.
(9) A lot of Quran was devoted to the issue of miracles as proofs vs sorcery, because, it's important.
(10) The final desperate plan, is to become like Jews, who put more conditions then miracles as proofs. That the teachings themselves must be verified, and miracles are not enough. This will be to deny the Mahdi, and the purpose of attributing the Dajjal all sorts of signs and miracles only Prophets can do, was to test the minds of Muslims in this regard. They failed to refute those hadiths and still to this day believe in them.
(11) As for 10, the degree Quran goes on to show why miracles are proofs and warns in this regard to the whole world, it's obvious, these signs are coming.
(12) Why God didn't send such signs at any period in time, whenever such signs are not in the open by a Mursal (one sent by God with either the message or a revelation) is clear in Quran, the first ones denied them, as they denied them, they must have become hostile towards the followers of truth or the miracles themselves no longer have their strong place in being a proof. This way of denying miracles as proofs or in the case of Sunnis, simply, not even go the Imams and say Shiites are just making up all these miracles about them, results in miracles no longer effecting people.
(13) The miracle periods when they are at a new - is known as noon, the midday, sunlight as bright day, type time and they are days of God where he destroyed oppressors.
(14) The light then begins to set and hostility towards proofs and signs begins to take place either on the very chosen doing them or their followers are accused of being liars, and as such the moon light to stars in the night phases happen.
(15) The total dark night, is such when there is no longer any such guide with miracles in the open, this darkness is so we seek the day again. The day is not so we seek the night, but to avoid it, but God alternates cycle, so that he doesn't literally destroy all humans. He made the day so we seek brightness and light and made the night in this respect so have rest from the bright Sun and even when the moon to stars become too much, the Quran talks about the stars when they hide themselves and then appear. According to hadiths, this is a prophecy of the Mahdi going in Ghayba and coming back. See the hadiths from Imam Baqir (as) concerning that verse.
Put this together, and we can see wisdom in 33:40. That God putting an end to revelations with Mohammad we can see now is reaching a climax wisdom. Where as it was hard to tell in the past, the world community and the Mahdi being a universal one to bring justice literally to the east and west, one way or the other, is manifestly becoming true.
And the warnings of Quran warning the destruction to the people of Mohammad are anything but dead verses of the past. They've become prophecies of the future with the Mahdi and which one of these prophecies will happen, not even God knows!
And the warnings in this regard the Mahdi is even a greater warning then Mohammad was to his people, because the destruction and application is to the whole world with the Mahdi. While in the past, destruction was localized, the Quran says "not a town or city (if rejects) but we will destroy it or rather punish it a terrible punishment"