returncontent.gsub(/''<small>Last generated from the Grid5000 API on .+<\/small>''/,'')
end
defgenerated_date_string
commit=`git show --oneline -s`.split(' ').first
date=Time.now.strftime("%Y-%m-%d")
return"Last generated from the Grid5000 Reference API on #{date} ([https://github.com/grid5000/reference-repository/commit/#{commit} commit #{commit}])"
end
#Actually edit the mediawiki page with the new generated content