[Pidgin] #4779: Move MsimProtocolSpec to IM Freedom wiki

Pidgin trac at pidgin.im
Wed Feb 6 01:35:59 EST 2008


#4779: Move MsimProtocolSpec to IM Freedom wiki
----------------------+-----------------------------------------------------
  Reporter:  jeff     |       Owner:  jeff    
      Type:  task     |      Status:  assigned
  Priority:  minor    |   Milestone:          
 Component:  MySpace  |     Version:  2.3.1   
Resolution:           |    Keywords:  msimprpl
   Pending:  0        |  
----------------------+-----------------------------------------------------
Changes (by jeff):

  * status:  new => assigned

Comment:

 Some simple Perl code to convert a Trac wiki table to a MediaWiki style
 table:
 {{{
 print "{| border=\"1\"\n";
 while(<>)
 {
     chomp;
     next if !length;
     s/^\|\|//g;
     $out = "| ";
     s/\|\|/ $& /g;
     if (m/'''/)
     {
         s/'''//g;
         s/\|\|/ !! /g;
         $out =~ s/\|/!/g;
     }
     $out .= "$_\n";
     $out .= "|-|\n";

     print $out;
 }

 print "|}\n";
 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/4779#comment:1>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list