diff --git a/wiki/patches/moin-hide-notifications.patch b/wiki/patches/moin-hide-notifications.patch new file mode 100644 index 00000000..bd3b93a4 --- /dev/null +++ b/wiki/patches/moin-hide-notifications.patch @@ -0,0 +1,28 @@ +diff -urN a/MoinMoin/PageEditor.py b/MoinMoin/PageEditor.py +--- a/MoinMoin/PageEditor.py 2012-07-05 17:27:11.000000000 +0200 ++++ b/MoinMoin/PageEditor.py 2012-07-05 17:26:52.000000000 +0200 +@@ -1147,14 +1147,16 @@ + e = events.PageChangedEvent(self.request, self, comment) + results = events.send_event(e) + +- recipients = set() +- for result in results: +- if isinstance(result, notification.Success): +- recipients.update(result.recipients) +- +- if recipients: +- info = _("Notifications sent to:") +- msg = msg + "

%s %s

" % (info, ", ".join(recipients)) ++# #Hack Cr@ns, cachez-moi: ++# #Listes des personnes notifiées ++# recipients = set() ++# for result in results: ++# if isinstance(result, notification.Success): ++# recipients.update(result.recipients) ++# ++# if recipients: ++# info = _("Notifications sent to:") ++# msg = msg + "

%s %s

" % (info, ", ".join(recipients)) + + # Update page trail with the page we just saved. + # This is needed for NewPage macro with backto because it does not