Changes between Version 20 and Version 21 of WikiFormatting

Timestamp:
Nov 1, 2024, 6:47:56 AM (13 months ago)
Author:
MasterQuestionable
Comment:

Revert to Version 19.

͏    No change introduced.
͏    https://trac.ffmpeg.org/wiki/WikiFormatting?action=diff&version=20&old_version=5

Legend:

Unmodified
Added
Removed
Modified
  • WikiFormatting

    v20 v21  
    159159|| `ticket:1, ticket:1#comment:1, comment:1:ticket:1` ||\
    160160|| ticket:1, ticket:1#comment:1, comment:1:ticket:1 ||
    161 || `Ticket [ticket:1]`, `[ticket:1 ticket one]` ||\
    162 || Ticket [ticket:1], [ticket:1 ticket one] ||
    163 || `Ticket [[ticket:1]]`, `[[ticket:1|ticket one]]` ||\
    164 || Ticket [[ticket:1]], [[ticket:1|ticket one]] ||
     161|| `Ticket [ticket:1]`, `[ticket:1 ticket one]` ||\
     162|| Ticket [ticket:1], [ticket:1 ticket one] ||
     163|| `Ticket [[ticket:1]]`, `[[ticket:1|ticket one]]` ||\
     164|| Ticket [[ticket:1]], [[ticket:1|ticket one]] ||
    165165|-----------------------------------------------------------
    166166{{{#!th rowspan=2
     
    182182|| `{{{-}}}` triple curly brackets ||
    183183|-----------------------------------------------------------
    184 ||= [#Images Images] =|| `[[Image(`''link''`)]]` || [[Image(htdocs:../common/trac_logo_mini.png)]] ||
     184||= [#Images Images] =|| `[[Image( ... )]]` || [[Image( "/chrome/common/trac_logo_mini.png" )]] ||
    185185|-----------------------------------------------------------
    186186{{{#!th rowspan=2
     
    662662== Setting Anchors
    663663
     664E.g. https://trac.ffmpeg.org/wiki/Seeking?action=diff&version=33
     665
    664666An anchor, or more correctly speaking, an [https://www.w3.org/TR/REC-html40/struct/links.html#h-12.2.1 anchor name] can be added explicitly at any place in the Wiki page, to uniquely identify a position in the document:
    665667
     
    691693  ...
    692694
    693   Point2:  [=#point2] Jump here
     695  Point2: [=#point2] Jump here
    694696  }}}
    695697}}}
     
    699701  ...
    700702
    701   Point2:  [=#point2] Jump here
    702 }}}
    703 
    704 For more complex anchors (eg when a custom title is wanted), you can use the Span macro: `[[span(id=point2, class=wikianchor, title=Point 2, ^(2)^)]]`.
     703  Point2: [=#point2] Jump here
     704}}}
     705
     706For more complex anchors (eg when a custom title is wanted), you can use the Span macro: `[[span(id=point2, class=wikianchor, title=Point 2, ^(2)^)]]`.\\
     707͏    E.g.\\
     708͏    https://trac.ffmpeg.org/ticket/11002?action=comment-diff&cnum=5&version=1\\
     709͏    https://trac.ffmpeg.org/ticket/11055?action=comment-diff&cnum=2&version=9\\
     710͏    https://trac.ffmpeg.org/wiki/colorspace?action=diff&version=43
     711
     712͏    Caveat:\\
     713͏    The "span" macro doesn't handle quote/space parsing for attributes' value.\\
     714͏    I.e. !`[[span( id= "x", Text )]]` would have !` "x"` literally (HTML escaped) as "id"...
     715
     716See also [ https://trac.ffmpeg.org/wiki/colorspace?action=diff&contextlines=8&version=31 ] for known limitations.
    705717
    706718== Escaping Links, WikiPageNames and other Markup == #Escaping
     
    717729Various forms of escaping for list markup:
    718730 ^^- escaped minus sign \\
    719  ^^1. escaped number  \\
     731 ^^1. escaped number \\
    720732 ^^* escaped asterisk sign
    721733  }}}
     
    727739Various forms of escaping for list markup:
    728740 ^^- escaped minus sign \\
    729  ^^1. escaped number  \\
     741 ^^1. escaped number \\
    730742 ^^* escaped asterisk sign
    731743}}}
     
    735747Urls ending with `.png`, `.gif` or `.jpg` are no longer automatically interpreted as image links, and converted to `<img>` tags.
    736748
    737 You now have to use the ![[Image]] macro. The simplest way to include an image is to upload it as attachment to the current page, and put the filename in a macro call like `[[Image(picture.gif)]]`.
     749You now have to use the ![[Image]] macro. The simplest way to include an image is to upload it as attachment to the current page, and put the filename in a macro call like `[[Image( "picture.gif" )]]`.
    738750
    739751In addition to the current page, it is possible to refer to other resources:
    740  * `[[Image(wiki:WikiFormatting:picture.gif)]]` (referring to attachment on another page)
    741  * `[[Image(ticket:1:picture.gif)]]` (file attached to a ticket)
    742  * `[[Image(htdocs:picture.gif)]]` (referring to a file inside the [TracEnvironment environment] `htdocs` directory)
    743  * `[[Image(source:/trunk/trac/htdocs/trac_logo_mini.png)]]` (a file in repository)
    744 
    745 ||= Wiki Markup =||= Display =||
    746 {{{#!td
    747   {{{
    748   [[Image(htdocs:../common/trac_logo_mini.png)]]
    749   }}}
    750 }}}
    751 {{{#!td
    752 [[Image(htdocs:../common/trac_logo_mini.png)]]
    753 }}}
    754 
    755 See WikiMacros for further documentation on the `[[Image()]]` macro, which has several useful options (`title=`, `link=`, etc.)
     752* `[[Image( "wiki:WikiFormatting:picture.gif" )]]` (referring to attachment on another page)
     753* `[[Image( "ticket:1:picture.gif" )]]` (file attached to a ticket)
     754* `[[Image( "htdocs:picture.gif" )]]` (referring to a file inside the [TracEnvironment environment] `htdocs` directory)
     755* `[[Image( "source:/trunk/trac/htdocs/trac_logo_mini.png" )]]` (a file in repository)\\
     756  See also: https://github.com/orgs/community/discussions/108088#discussioncomment-8678990
     757
     758[ MasterQuestionable:\\
     759͏    Personally, I think the "!wiki:" "!ticket:" "htdocs:" alike prefixes are unnecessary.\\
     760͏    Using the more standard "/" type addressing is recommended. ]
     761
     762||= Wiki Markup =||= Display =||
     763{{{#!td
     764  {{{
     765  [[Image( "htdocs:../common/trac_logo_mini.png" )]]
     766  }}}
     767}}}
     768{{{#!td
     769[[Image( "htdocs:../common/trac_logo_mini.png" )]]
     770}}}
     771
     772͏    See [/wiki/WikiMacros#Image-macro WikiMacros] for further documentation on "`[[Image( ... )]]`" macro: which has several useful options ("title", "link" etc.).\\
     773͏    Bunch mentioned in "`[[Image( ... )]]`" are invalid. Use with caution.\\
     774͏    Note also: https://trac.ffmpeg.org/ticket/10928
     775
     776Examples:\\
     777͏    https://trac.ffmpeg.org/wiki/Scaling?action=diff&contextlines=5&old_version=30&version=34\\
     778͏    It's recommended to quote the source URI: as which might contain "," that may cause misinterpretation of the macro.\\
     779͏    .\\
     780͏    Caveat [ https://trac.ffmpeg.org/wiki/Scaling?action=diff&contextlines=4&version=49 ] for the letterboxing example:\\
     781͏    !`width="100%"` wouldn't be necessary with [ https://trac.ffmpeg.org/ticket/10928#comment:3 ] deployed.
     782
     783͏    See also:\\
     784͏    https://trac.ffmpeg.org/attachment/ticket/10928\\
     785͏    https://trac.ffmpeg.org/attachment/wiki/WikiFormatting/raw.txt\\
     786͏    https://trac.ffmpeg.org/attachment/wiki/WikiFormatting/raw2.txt\\
     787͏    https://trac.ffmpeg.org/attachment/wiki/WikiFormatting/raw3.txt
    756788
    757789== Macros
     
    805837  }}}
    806838}}}
    807 {{{#!td valign="top"  style="border: 0px"
     839{{{#!td valign="top" style="border: 0px"
    808840
    809841{{{#!html
     
    831863  }}}
    832864}}}
    833 {{{#!td valign="top"  style="border: 0px"
     865{{{#!td valign="top" style="border: 0px"
    834866
    835867{{{#!python
     
    880912  }}}
    881913}}}
    882 {{{#!td  valign="top" style="border: 0px"
     914{{{#!td valign="top" style="border: 0px"
    883915
    884916  {{{#!th rowspan=4 align=justify
     
    911943
    912944}}}
    913 
    914 See WikiProcessors for more information.
     945͏    See WikiProcessors for more information.\\
     946͏    See also: https://trac.ffmpeg.org/wiki/Scaling?action=diff&contextlines=7&version=50
     947
     948[ MasterQuestionable:\\
     949͏    If things have to eventually fallback to HTML...\\
     950͏    Why bother these clumsily coined hardly exchangeable workaround? ]
    915951
    916952== Comments