Last modified: 2011-12-14 17:37:27 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 T32067, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30067 - create markup to undo the effect of "nowiki" inside a template parameter
create markup to undo the effect of "nowiki" inside a template parameter
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-26 12:33 UTC by Purodha Blissenbach
Modified: 2011-12-14 17:37 UTC (History)
2 users (show)

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


Attachments

Description Purodha Blissenbach 2011-07-26 12:33:28 UTC
Sometimes, it is useful, to revert the effect of <nowiki>...</nowiki> having been used on, or inside, a template parameter. Example:

:wikipedia:de:template:codebeispiel

{{Codebeispiel
|Eingabe = <nowiki>'''Fett''' oder ''kursiv''</nowiki>
|Anzeige = '''Fett''' oder ''kursiv''
}}

There would be no need to enter the same code sequence twice.

Other applications can be thought of when wiki syntax elements
such as [ [[ {{ | including positional ones like {| |- | # etc.
are to be passed as parts of parameters being subject to
parser function testing and branching, but in the end are to
be interpreted in their wiki-syntactic meaning.

Naming suggestions:
<onwiki>...</onwiki> or <wikion>...</wikion> or <wiki>...</wiki>
Maybe <onwiki> is visually too close to <nowiki> ?
Comment 1 db [inactive,noenotif] 2011-08-04 19:50:34 UTC
You can use

{{Codebeispiel
|Beispiel = '''Fett''' oder ''kursiv''
}}

with {{{Beispiel}}} and {{#tag:nowiki|{{{Beispiel}}}}}

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


Navigation
Links