Last modified: 2006-04-02 23:20:48 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 T6946, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4946 - msgnw outputs text within noinclude tags
msgnw outputs text within noinclude tags
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-10 06:20 UTC by Hermeneus
Modified: 2006-04-02 23:20 UTC (History)
1 user (show)

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


Attachments

Description Hermeneus 2006-02-10 06:20:56 UTC
msgnw outputs source text within noinclude tags and without onlyinclude tags
when it shouldn't (subst doesn't). This could be annoying when the template page
has categories, interwiki links, and a little text on how to use itself in
noinclude tags. You don't want to show the list of categories and the rest on a
page that introduces various templates, for example.
Comment 1 Brion Vibber 2006-02-10 06:22:35 UTC
Isn't this exactly what a tool to display raw message source is supposed to do?
Comment 2 Hermeneus 2006-02-10 06:30:09 UTC
noinclude tags are supposed to hide a certain portion of source text. noinclude
tags should override msgnw in cases like this in my opinion. 
Comment 3 Brion Vibber 2006-02-10 06:31:54 UTC
noinclude tags are supposed to hide things on *include*. msgnw exists to show the
*raw* source. (For that matter it's obsolete, as Special:Allmessages now exists.)
Comment 4 Hermeneus 2006-02-10 06:40:54 UTC
Then is there any way to show only the source code of the template itself like
subst does?
Comment 5 lɛʁi לערי ריינהארט 2006-02-10 19:30:39 UTC
(In reply to comment #3)
> ... (For that matter it's obsolete, as Special:Allmessages now exists.)

{{msgnw:}} is of great help. As far as I know it is the only way to preserve /
escape &entity; &#nnnn; &#xnnnn; characters. See
http://yi.wiktionary.org/wiki/MediaWiki_talk:Minoredit#msgnw:MediaWiki:PAGENAME

{{msgnw:}} is very important for documentation. It can be used for guidance / to
give some hints at wikies where users do not have priviledges to edit pages. It
can be used "trace" templates and variables in templates.

Documentation should not hide <foo> </foo>, <bar />, <foobar parameter /> etc. I
(re-)discovered today some messages with opening <p> but without closing </p>
(bug 2369) at some wikies.

I would suggest to find another solution for the problem addressed by Hermeneus
and not brake actual behaviour. I am aware only of a few open issues: bug 4913,
bug 4951. It is and should remain a great "tool".

best regards reinhardt [[user:gangleri]]

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


Navigation
Links