Forum:Editcount: prevent insertion of HTML paragraph tags like on Wikia

I installed the latest revision (MW1.15-r48711) of Extension:Editcount on a couple of wikis I run and found that the syntax



where Username is the username, produces the paragraph-enclosed output


 * NumberOfEdits

instead of simply


 * NumberOfEdits

as is the case with the same syntax on Wikia, which also uses this extension. How do I prevent those HTML paragraph tags from being created?

—Lowellian (reply) 23:19, May 21, 2010 (UTC)


 * This is a known bug with MediaWiki, see . --Pcj (T&bull;C) 05:21, May 22, 2010 (UTC)


 * Thanks. Why doesn't it affect Wikia, which also uses MediaWiki? —Lowellian (reply) 14:32, May 23, 2010 (UTC)


 * Probably because Wikia Staff has fixed it, while with MediaWiki you have to wait until a new release. Mark  ( talk ) 17:29, May 23, 2010 (UTC)


 * Okay. Does anyone have any instructions for how to modify MediaWiki to fix it? This seems something fairly simple that would require only a minor one-line fix to some PHP file. —Lowellian (reply) 17:41, May 23, 2010 (UTC)
 * There's a patch at http://bug-attachment.wikimedia.org/attachment.cgi?id=7271 --Pcj (T&bull;C) 18:44, May 23, 2010 (UTC)

This still leaves a bug with the extension, however: one can not include in an  expression. I really don't understand why, either, given it seems to output an exact value. Anyone have any ideas? ~ Michael von Preußen (voicemail)
 * Well, possibly because #expr doesn't recognize the, that Editcount outputs? (Notably you can't remove the comma with StringFunctions either so it doesn't seem to be ParserFunction-friendly) -- 02:53, June 5, 2010 (UTC)
 * Mmhm, I initially thought it was the comma, but 0 doesn't remove the comma, and even odder, 0 outputs .  The (logical) way to fix it would be to force the  to output its value before one attempts to run the formatnum parser, but the only way I can think of doing that would be via substitution, which sort of defeats the whole purpose. ~ Michael von Preußen (voicemail)