Closed Bug 955125 Opened 12 years ago Closed 12 years ago

Update /mode command syntax

Categories

(Chat Core :: IRC, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aleth, Assigned: aleth)

Details

(Whiteboard: [1.3-wanted])

Attachments

(1 file, 5 obsolete files)

*** Original post on bio 1697 at 2012-09-13 13:50:00 UTC *** To match/reflect the fixes in bug 954973 (bio 1541), at minimum the help string needs changing, possibly the syntax check too.
Whiteboard: [1.3-wanted]
Attached patch Patch (obsolete) — Splinter Review
*** Original post on bio 1697 as attmnt 1977 at 2012-10-17 19:28:00 UTC *** There was actually nothing to do here but change the help string. I separated out the channel/user mode syntax to make it clearer what is required for each. This help string does not cover 1) requesting your own user mode, 2) requesting the current channel mode. We don't currently handle the former, and the latter doesn't seem worth explicitly mentioning, as we display the mode on joining etc.
Attachment #8353736 - Flags: review?(clokep)
Assignee: nobody → aleth
Status: NEW → ASSIGNED
*** Original post on bio 1697 at 2012-10-17 19:32:06 UTC *** (In reply to comment #1) > 2) requesting > the current channel mode. We don't currently handle the former, and the latter > doesn't seem worth explicitly mentioning, as we display the mode on joining > etc. This could easily (?) be added to the second part: %1$S <channel>[ (+|-)<new mode> [<parameter>][,<parameter>]*]: Get, set or unset a channel mode.
Attached patch Patch implementing comment #2 (obsolete) — Splinter Review
*** Original post on bio 1697 as attmnt 1978 at 2012-10-17 19:40:00 UTC was without comment, so any subsequent comment numbers will be shifted ***
Attachment #8353737 - Flags: review?(clokep)
Comment on attachment 8353736 [details] [diff] [review] Patch *** Original change on bio 1697 attmnt 1977 at 2012-10-17 19:40:40 UTC was without comment, so any subsequent comment numbers will be shifted ***
Attachment #8353736 - Attachment is obsolete: true
Attachment #8353736 - Flags: review?(clokep)
Comment on attachment 8353737 [details] [diff] [review] Patch implementing comment #2 *** Original change on bio 1697 attmnt 1978 at 2012-10-17 23:09:14 UTC *** I'm going to r+ this because I think it is OK...but I do wonder if it should be "Set or unset a participant's mode." instead of a "user mode".
Attachment #8353737 - Flags: review?(clokep) → review+
Attached patch Patch (obsolete) — Splinter Review
*** Original post on bio 1697 as attmnt 1981 at 2012-10-18 09:50:00 UTC *** (In reply to comment #4) > I'm going to r+ this because I think it is OK...but I do wonder if it should be > "Set or unset a participant's mode." instead of a "user mode". I think you're right... Carrying forward the r+.
Attachment #8353740 - Flags: review+
Comment on attachment 8353737 [details] [diff] [review] Patch implementing comment #2 *** Original change on bio 1697 attmnt 1978 at 2012-10-18 09:50:57 UTC was without comment, so any subsequent comment numbers will be shifted ***
Attachment #8353737 - Attachment is obsolete: true
Whiteboard: [1.3-wanted] → [1.3-wanted][checkin-needed]
Severity: normal → trivial
*** Original post on bio 1697 at 2012-10-18 10:02:58 UTC *** Umm... don't we in principle need to change the entity of this string as it has changed? But we can't as it's tied to the command name, so...?
Attached patch Patch (obsolete) — Splinter Review
*** Original post on bio 1697 as attmnt 1982 at 2012-10-18 10:08:00 UTC *** Turns out the help string entities for commands aren't actually fixed. Also changed "participant's mode" to "user's mode" since we use "user" in the other command help strings, so if we wanted to change that we should change them all.
Attachment #8353741 - Flags: review?(clokep)
Comment on attachment 8353740 [details] [diff] [review] Patch *** Original change on bio 1697 attmnt 1981 at 2012-10-18 10:08:25 UTC was without comment, so any subsequent comment numbers will be shifted ***
Attachment #8353740 - Attachment is obsolete: true
Comment on attachment 8353741 [details] [diff] [review] Patch *** Original change on bio 1697 attmnt 1982 at 2012-10-18 10:29:44 UTC *** Doh, of course we need to do that! Then that leaves the question of whether we should split the help command into two different messages and insert the line break in code. I think I would prefer this way: it should be simpler for localizers.
Attachment #8353741 - Flags: review?(clokep) → review-
Attached patch Patch (obsolete) — Splinter Review
*** Original post on bio 1697 as attmnt 1983 at 2012-10-18 10:56:00 UTC *** Good idea
Attachment #8353742 - Flags: review?(clokep)
Comment on attachment 8353741 [details] [diff] [review] Patch *** Original change on bio 1697 attmnt 1982 at 2012-10-18 10:56:05 UTC was without comment, so any subsequent comment numbers will be shifted ***
Attachment #8353741 - Attachment is obsolete: true
Attached patch PatchSplinter Review
*** Original post on bio 1697 as attmnt 1984 at 2012-10-18 11:04:00 UTC was without comment, so any subsequent comment numbers will be shifted ***
Attachment #8353743 - Flags: review?(clokep)
Comment on attachment 8353742 [details] [diff] [review] Patch *** Original change on bio 1697 attmnt 1983 at 2012-10-18 11:04:14 UTC was without comment, so any subsequent comment numbers will be shifted ***
Attachment #8353742 - Attachment is obsolete: true
Attachment #8353742 - Flags: review?(clokep)
Comment on attachment 8353743 [details] [diff] [review] Patch *** Original change on bio 1697 attmnt 1984 at 2012-10-18 11:05:33 UTC *** Sorry for all the trivial nits. :( Thanks for fixing this!
Attachment #8353743 - Flags: review?(clokep) → review+
*** Original post on bio 1697 at 2012-10-26 10:19:50 UTC *** Checked-in as http://hg.instantbird.org/instantbird/rev/5b0db93ecc3f Thanks! :)
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [1.3-wanted][checkin-needed] → [1.3-wanted]
Target Milestone: --- → 1.3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: