Last modified: 2011-07-15 04:43:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18778, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16778 - Extraneous Character
Extraneous Character
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://lostpedia.wikia.com/wiki/User:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-24 00:25 UTC by James Reid
Modified: 2011-07-15 04:43 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description James Reid 2008-12-24 00:25:31 UTC
An attempt is being made to assign user edit counts to categories.

At the abpve URL:

Expression 1: {{ #ifexpr:  10 > 9 | True | False }} works,

Expression 2: {{padleft:{{Special:Editcount/gaarmyvet}}}} seems to work; however

Expression 3: {{ #ifexpr: {{padleft:{{Special:Editcount/gaarmyvet}}}} > 2000 | More | Less }} fails and reports 'Expression error: Unrecognised punctuation character " ",' with what seems to be a space between the double quotes.  Analysis with Excel using the mid and code functions reveals that the "space" is an ascii 127 (DEL).
Comment 1 Platonides 2009-10-14 21:23:03 UTC
I think #ifexpr is seeing the "\x07UNIQ" placeholder.
You may work around it by having a template  with {{#ifexpr: {{{1}}} > 2000 |
More | Less }} and calling it with the {{Special:Editcount/gaarmyvet}} parameter.
Comment 2 Philippe Verdy 2010-10-10 11:24:06 UTC
Related bug #22555
(in padleft: and padright: as demonstrated in a English Wikipedia template doc page)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links