Last modified: 2008-01-25 05:30:56 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 T14786, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12786 - list items counter does not icrease
list items counter does not icrease
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://test.wikipedia.org/wiki/templa...
: parser
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-24 22:50 UTC by lɛʁi לערי ריינהארט
Modified: 2008-01-25 05:30 UTC (History)
3 users (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2008-01-24 22:50:10 UTC
Dear friends;

http://test.wikipedia.org/wiki/template:Mw_languages/bug
is a « view » of the information stored in
http://test.wikipedia.org/wiki/template:Mw_languages
via a « view variant » http://test.wikipedia.org/wiki/template:Mw_language/bug
whichs content is
# {{{mw lang code}}} {{{mw language name}}} {{{mw comment}}}

The list counter does *not* icrease.


Please compare with
http://test.wikipedia.org/wiki/template:Mw_languages
whis is the *default* « view » of the same information stored there
via the *default* « view variant » http://test.wikipedia.org/wiki/template:Mw_language/
whichs content is
<li> {{{mw lang code}}} {{{mw language name}}} {{{mw comment}}} <li>


while the source code generated in the second (the *default*) case is
<ol>
<li>aa Afar Afar</li>
<li>ab Аҧсуа Abkhaz, should possibly add ' бысжѡа'</li>
<li>af Afrikaans Afrikaans</li>

it is

<ol>
<li>aa Afar Afar</li>
</ol>
<ol>
<li>ab Аҧсуа Abkhaz, should possibly add ' бысжѡа'</li>
</ol>
<ol>
<li>af Afrikaans Afrikaans</li>
</ol>

in the first case.


To my understanding this is an error.

Best regards Reinhardt [[user:Gangleri]]
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-01-24 23:06:05 UTC
I expect this is an error in the templates and not the parser, but I need some way to look at the preprocessor expansion to be sure, so I'll leave this open.  Do we have some special page that gives the preprocessor output for a page?
Comment 2 Danny B. 2008-01-25 05:30:56 UTC
Fix the whitespaces. It isn't error, since double trancslusion means two line wraps thus new paragraph/list start.

Demo fixing on http://test.wikipedia.org/w/index.php?title=Template:Mw_languages&diff=32867&oldid=32856 - check first few items on http://test.wikipedia.org/wiki/template:Mw_languages/bug .

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


Navigation
Links