PESHAWAR - Thousands of Pakistanis flocked to a school in the northwestern city of Peshawar on Sunday to mourn the 149 people - mainly children - massacred by the Taliban and demand action against the militants.

Men, women and children from Peshawar and other cities visited the Army-run institution to offer prayers for those killed in the country’s deadliest-ever terror attack.

Pakistan has described Tuesday’s bloody rampage as its own “mini 9/11”, calling it a game-changer in the fight against extremism.

Mourners placed flowers, bouquets, placards and lighted candles in front of photos of murdered students. Masons laid bricks and poured cement to raise the height of the wall around the Army Public School as mourners chanted slogans such as “Death to terrorists”, “Long live Pakistan Army”, “The blood of martyrs will not go waste” and “Taliban are savages”.

“What kind of a person can kill a child?” asked local resident Imdad Hussain, who came to pray for the children.

“What kind of justice is this, what kind of Islam is this?” he asked, urging the government swiftly to wipe out terrorists.

A local woman, her face covered with a shawl, said parents had thought their sons and daughters would be safe in school. But now they believed their children were not safe anywhere, she said.

“First they attacked mosques, then markets and now they have started attacking schools. We cannot tolerate this. We can die, but we will not let our children be killed,” she said.

Shugufta Bibi, 28, told AFP her friend lost his son in Tuesday’s attack and she had come to pay respects to his memory.

“I demand that the government close in on the terrorists and hang them in public,” Bibi said.

Tributes and condolences poured in on social media websites Facebook and Twitter.

The City’s Christian community will cancel Christmas celebrations and will just hold a service on December 25, said the Rev Patrick John of All Saints Church.

The school massacre has been condemned even by the Afghan Taliban, who are loosely affiliated with the Taliban in Pakistan.

In a statement on Sunday, the regional al Qaeda chapter also expressed grief at the killings and urged fellow militants to target only security forces.

“Our hearts are bursting with pain and grief over this incident,” said Osama Mehmood, spokesman for al Qaeda’s South Asia chapter.

After the school attack Prime Minister Nawaz Sharif ended a six-year moratorium on the death penalty, reinstating its use for terrorism-related cases.

Two militants convicted of separate offences were the first to face the noose.

Human Rights Watch termed the executions “a craven politicised reaction to the Peshawar killings” and demanded that no further hangings be carried out.

The two militants hanged on Friday in the central province of Punjab were Aqil, convicted of an attack on Army headquarters in Rawalpindi in 2009, and Arshad Mehmood - sentenced for involvement in a 2003 assassination attempt on the then military ruler Pervez Musharraf.

Pakistan put all its airports on red alert on Saturday as the military intensified operations against militants in the lawless northwestern Tribal Areas.

The Taliban said that the school attack by a suicide squad was revenge for the killing of militants families in that offensive.

The military has since June been waging the assault against longstanding Taliban and other militant strongholds.

But a series of fresh strikes since the Peshawar attack, in which dozens of alleged militants were killed, suggest the campaign is being stepped up.

The Army has also been deployed to guard major prisons housing militants.