https://bugzilla.wikimedia.org/show_bug.cgi?id=46851
Web browser: ---
Bug ID: 46851
Summary: Support Message instances as Message instance params
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Internationalization
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Random idea from something PleaseStand said.
Message instances could explicitly support taking a message object as a
parameter. This way the message could inherit the context it's parent is in
(eg: language). Especially useful if the message instance is going to be passed
somewhere else and the context changed.
$this->msg( 'foo' )->params( wfMessage( 'bar' )->params( 'foo' ) )->inLanguage(
'en_CA' );
--
You are receiving this mail because:
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