User "Tim Starling" posted a comment on MediaWiki.r88134. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88134#c19245 Commit summary:
Fixed a bug in transformation where previous language could leak into later transformations in UI language. Not sure what do with userlang. Comment: That would work too, but I was thinking more like <pre> function wfSetAndReturnOld( &$ref, $newValue ) { $old = $ref; $ref = $newValue; return $old; } </pre> Then use that everywhere except in the combined accessor/mutator functions that wfSetVar() was intended for. _______________________________________________ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview