Index: trunk/phase3/includes/api/ApiQueryTags.php |
— | — | @@ -113,9 +113,8 @@ |
114 | 114 | } |
115 | 115 | |
116 | 116 | if ( $this->fld_description ) { |
117 | | - $msg = wfMsg( "tag-$tagName-description" ); |
118 | | - $msg = wfEmptyMsg( "tag-$tagName-description" ) ? '' : $msg; |
119 | | - $tag['description'] = $msg; |
| 117 | + $msg = wfMessage( "tag-$tagName-description" ); |
| 118 | + $tag['description'] = $msg->exists() ? $msg->text() : ''; |
120 | 119 | } |
121 | 120 | |
122 | 121 | if ( $this->fld_hitcount ) { |