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

Brad Jorsch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Brad Jorsch <[email protected]> ---
Looks like generally a good outline to me. A few comments:

* While MediaWiki hopefully has enough anti-IE-stupidity code in place,
avoiding the string "<html>" in the XML output format would probably be for the
best.

* Returning $msg->useDatabase( false )->text() is not just for backwards
compatibility (although the back-compat output format will have to do that),
it's also for bots that output to a text log or console where
on-wiki-customized HTML messages don't make sense. $msg->useDatabase( true
)->parse() is, of course, for UI callers where on-wiki-customized HTML messages
do make sense.

* I think <message key="some-stuff" rendered="..."/> and allowing the client to
combine the rendered values would be better than concatenating them all into
<html> as you have it shown. Of course, the back-compat output would continue
to concatenate all the plain-text warnings under a "*" key like it does now.

* For the back-compat output, dieMessage() should probably look up the key in
the static array the same way dieUsageMsg() does now, for the code if not also
for the text. But it should of course not choke like dieUsageMsg() does if the
key isn't in the static array.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to