https://bugzilla.wikimedia.org/show_bug.cgi?id=31830

--- Comment #4 from Van de Bugger <[email protected]> 2011-10-19 22:06:26 
UTC ---
> …where do you anticipate this breaking compat?

I would like `escape' if off by default. Actually, I do not need it at all, if
escaping is off. You decide.

> …it's better to use setMessage( 'foo' ) then setDescription( wfMsg( 'foo' ) 
> ), as it allows handling code to get the message in languages other then the 
> one of the user executing the code.

Sure I will use setDescription… Will you in turn update comments in class
`Parameter'? From the code it is not clear what the difference between them:

    /**
     * Sets a description message for the parameter.
     * 
     * @since 0.4.3
     * 
     * @param string $descriptionMessage
     */
    public function setDescription( $descriptionMessage ) {
        $this->description = $descriptionMessage;
    }

    /**
     * Sets a message for the parameter that will act as description.
     * 
     * @since 0.4.9
     * 
     * @param string $message
     */
    public function setMessage( $message ) {
        $this->message = $message;
    }

As soon as you decide approach to escaping (whether we need a parameter;
default value if it is a parameter), I will prepare a new version of the patch.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to