Difference between revisions of "User:Lahwaacz"

From ArchWiki
Jump to: navigation, search
m (Networking: update)
(Indenting multiline code blocks: initial description of the problem, some references)
Line 29: Line 29:
  
 
=== Networking ===
 
=== Networking ===
 +
 
* merge [[Network Debugging]] into [[Network configuration]]
 
* merge [[Network Debugging]] into [[Network configuration]]
 
* add more info to [[Avahi#Obtaining_IPv4LL_IP_address]] (related: [[Ad-hoc_networking#Network_configuration]])
 
* add more info to [[Avahi#Obtaining_IPv4LL_IP_address]] (related: [[Ad-hoc_networking#Network_configuration]])
Line 70: Line 71:
  
 
* [[Archup]]
 
* [[Archup]]
 +
 +
== Indenting multiline code blocks ==
 +
 +
MediaWiki does not support multiparagraph list items (and other complex scenarios):
 +
 +
* http://stackoverflow.com/questions/4994174/code-block-in-numbered-list-wiki-syntax
 +
* https://bugzilla.wikimedia.org/show_bug.cgi?id=1115
 +
* https://bugzilla.wikimedia.org/show_bug.cgi?id=1584
 +
 +
Basically every newline character breaks the list. As a result, multiline code blocks using [[Template:bc]] cannot be used inside lists and cannot be indented using colons, unless the content is escaped using <nowiki> tags. [[Template:hc]] breaks completely, because the template itself contains a line break -- this is another hack, need to find reference for the {{ic|The line break is needed, otherwise the wiki will generate extraneous paragraphs inside the 2nd pre block}} comment.
 +
 +
Another possible workaround is to use HTML-encoded characters, see [https://dansesacrale.wordpress.com/2010/07/14/mediawiki-multi-line-pre-within-list/].

Revision as of 11:56, 9 March 2014

ArchWiki Maintainer

Languages:

  • English
  • Czech

Bot account: Lahwaacz.bot

Quick bookmarks

Tasks

Networking

netcfg -> netctl

Talk pages

List of discontinued pacman/AUR helpers

Not a pacman/AUR helper, but also discontinued:

Indenting multiline code blocks

MediaWiki does not support multiparagraph list items (and other complex scenarios):

Basically every newline character breaks the list. As a result, multiline code blocks using Template:bc cannot be used inside lists and cannot be indented using colons, unless the content is escaped using <nowiki> tags. Template:hc breaks completely, because the template itself contains a line break -- this is another hack, need to find reference for the The line break is needed, otherwise the wiki will generate extraneous paragraphs inside the 2nd pre block comment.

Another possible workaround is to use HTML-encoded characters, see [5].