Addition of canonical list name

Bug #558234 reported by beshwa
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNU Mailman
Won't Fix
Wishlist
Mark Sapiro

Bug Description

This patch adds MM-List-Name-Canonical to HTMLFormatter.py

This is the lower-case list name, provided by the
lower() function.

Revision history for this message
beshwa (beshwa) wrote :

The file mm-list-name-canonical.patch was added: mm-list-name-canonical patch

Revision history for this message
Jaromil (jaromil) wrote :

This patch is very important, since it lets people link from the mailman listinfo page the html screens of other archivers as MHonarc or Lurker. For one, I urge you to include it: its totally sane, very simple and won't affect any running instance.

Revision history for this message
Mark Sapiro (msapiro) wrote :

Why do you need this? You already have the admitedly confusingly named <mm-email-user> tag which is replaced by the list's _internal_name which is the lower case of the list's real_name. The name is confusing, but it refers to the user portion(local part) of the list's email posting address which is the origin of the name.

Changed in mailman:
assignee: nobody → Mark Sapiro (msapiro)
importance: Undecided → Wishlist
status: New → Incomplete
Revision history for this message
Jaromil (jaromil) wrote :

Premise: I haven't tried your suggestion of using <mm-email-user>, I have tried the patch above and it works.

If the issue is about confusion as you mention, then if should be documented.

This bug prevents people to link to mailinglist archives of mailman, to run their own fora.

I think this is important enough to move forward towards any proposed solution that works, rather than a stalled debate lasting more than one year. I don't see any documentation for this, but reading the code of mailman at least this variable becomes self explanatory.

In case <mm-email-user> really works the same, then please submit a patch adding a comment to the file, so that it is intelligible.

Revision history for this message
Mark Sapiro (msapiro) wrote :

No patch is required to use <mm-email-user>. That's the point. The patch attached to this report adds the tag <mm-list-name-canonical> to be usable in html templates to be replaced by the list's real_name converted to lower case. But, the tag <mm-email-user> is already recognized and is replaced by the list's internal name which is the same thing. It happens to be called 'mm-email-user' because it is the username portion of the list's posting email address.

If you were to just use the tag <mm-email-user> in a template instead of installing the patch and using <mm-list-name-canonical>, the result is the same.

If you want me to add a comment to a file, please tell me exactly what you want added to what file.

Changed in mailman:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.