Package: ikiwiki
Version: 3.20110122
Severity: important

I was seeing diffs like this in the static HTML output by ikiwiki:

-<a class="feedbutton" type="application/rss+xml" href="index.rss">RSS</a>
+<a class="feedbutton" type="application/rss+xml" rel="alternate" title="%s 
(RSS feed)" href="index.rss">RSS</a>

Clearly something is wrong there, since my wiki is not called %s :)

I found that the issue can be fixed with this patch:

--- /usr/share/perl5/IkiWiki/Plugin/inline.pm   2011-01-15 02:59:58.000000000 
+0800
+++ IkiWiki/Plugin/inline.pm    2011-01-24 00:36:15.000000000 +0800
@@ -294,11 +294,11 @@
        if ($feeds) {
                if ($rss) {
                        $rssurl=abs2rel($feedbase."rss".$feednum, 
dirname(htmlpage($params{destpage})));
-                       $rssdesc = gettext("%s (RSS feed)", $desc);
+                       $rssdesc = sprintf(gettext("%s (RSS feed)"), $desc);
                }
                if ($atom) {
                        $atomurl=abs2rel($feedbase."atom".$feednum, 
dirname(htmlpage($params{destpage})));
-                       $atomdesc = gettext("%s (Atom feed)", $desc);
+                       $atomdesc = sprintf(gettext("%s (Atom feed)"), $desc);
                }
        }
 
Afterwards it gave me this fine diff in the static HTML output:

-<a class="feedbutton" type="application/rss+xml" href="index.rss">RSS</a>
+<a class="feedbutton" type="application/rss+xml" rel="alternate" title="pabs 
(RSS feed)" href="index.rss">RSS</a>

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ikiwiki depends on:
ii  libhtml-parser-perl           3.66-1     collection of modules that parse H
ii  libhtml-scrubber-perl         0.08-4     Perl extension for scrubbing/sanit
ii  libhtml-template-perl         2.9-2      module for using HTML Templates wi
ii  libtext-markdown-perl         1.0.26-1   Markdown and MultiMarkdown markup 
ii  liburi-perl                   1.54-2     module to manipulate and access UR
ii  perl                          5.10.1-17  Larry Wall's Practical Extraction 
ii  python                        2.6.6-10   interactive high-level object-orie
ii  python-support                1.0.12     automated rebuilding support for P

Versions of packages ikiwiki recommends:
ii  bzr                        2.1.2-1       easy to use distributed version co
ii  darcs                      2.4.4-3       a distributed, interactive, smart 
ii  gcc [c-compiler]           4:4.5.1-1exp1 The GNU C compiler
ii  gcc-4.1 [c-compiler]       4.1.2-29      The GNU C compiler
ii  gcc-4.3 [c-compiler]       4.3.5-4       The GNU C compiler
ii  gcc-4.4 [c-compiler]       4.4.5-8       The GNU C compiler
ii  gcc-4.5 [c-compiler]       4.5.2-1       The GNU C compiler
ii  git [git-core]             1:1.7.2.3-2.2 fast, scalable, distributed revisi
ii  git-core                   1:1.7.2.3-2.2 fast, scalable, distributed revisi
pn  libauthen-passphrase-perl  <none>        (no description available)
ii  libc6-dev [libc-dev]       2.11.2-9      Embedded GNU C Library: Developmen
pn  libcgi-formbuilder-perl    <none>        (no description available)
pn  libcgi-session-perl        <none>        (no description available)
pn  liblwpx-paranoidagent-perl <none>        (no description available)
ii  libmail-sendmail-perl      0.79.16-1     Send email from a perl script
pn  libnet-openid-consumer-per <none>        (no description available)
pn  libterm-readline-gnu-perl  <none>        (no description available)
ii  libtimedate-perl           1.2000-1      collection of modules to manipulat
ii  libxml-simple-perl         2.18-3        Perl module for reading and writin
ii  mercurial                  1.6.4-1       scalable distributed version contr
ii  subversion                 1.6.12dfsg-4  Advanced version control system

Versions of packages ikiwiki suggests:
pn  dvipng                       <none>      (no description available)
ii  file                         5.04-5      Determines file type using "magic"
ii  gettext                      0.18.1.1-3  GNU Internationalization utilities
ii  graphviz                     2.26.3-5    rich set of graph drawing tools
ii  libcrypt-ssleay-perl         0.57-2      Support for https protocol in LWP
pn  libfile-mimeinfo-perl        <none>      (no description available)
pn  libhighlight-perl            <none>      (no description available)
ii  libhtml-tree-perl            3.23-2      Perl module to represent and creat
ii  liblocale-gettext-perl       1.05-6      Using libc functions for internati
ii  libmailtools-perl            2.06-1      Manipulate email in perl programs
pn  libnet-amazon-s3-perl        <none>      (no description available)
pn  librpc-xml-perl              <none>      (no description available)
ii  libsearch-xapian-perl        1.2.3.0-1   Perl bindings for the Xapian searc
pn  libsort-naturally-perl       <none>      (no description available)
pn  libsparkline-php             <none>      (no description available)
ii  libtext-csv-perl             1.18-1      comma-separated values manipulator
pn  libtext-textile-perl         <none>      (no description available)
pn  libtext-typography-perl      <none>      (no description available)
pn  libtext-wikicreole-perl      <none>      (no description available)
pn  libtext-wikiformat-perl      <none>      (no description available)
ii  libxml-feed-perl             0.43+dfsg-1 syndication feed parser and auto-d
ii  libyaml-perl                 0.71-1      YAML Ain't Markup Language
pn  perlmagick                   <none>      (no description available)
ii  po4a                         0.40.2-1    tools for helping translation of d
pn  polygen                      <none>      (no description available)
ii  python-docutils              0.7-2       utilities for the documentation of
pn  texlive                      <none>      (no description available)
pn  tidy                         <none>      (no description available)
pn  viewvc | gitweb | viewcvs    <none>      (no description available)
pn  xapian-omega                 <none>      (no description available)

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to