threads / discuss / 5496

GitWiki lost ability to parse macros

Subject: GitWiki lost ability to parse macros

## tl;dr

7 messages between Sep 6, 2006 and Sep 7, 2006.

replies: 6people: 3as markdown or json

Jakub Narebski· Sep 6, 2006, 10:22 UTC · lore

Somehow, the GitWiki (which is MoinMoin wiki) lost the ability to parse macros. Macros are now output as is, instead of being substitutes with their expansion. It looks like MediaWiki-like syntax plugin got broken, because besides of {{macroname}} not being expanded, additionally pipe links [[target|label]] are not parsed.

See for example
  http://git.or.cz/gitwiki/RecentChanges
  http://git.or.cz/gitwiki/FindPage
  http://git.or.cz/gitwiki/SystemInfo
  http://git.or.cz/gitwiki/InterfacesFrontendsAndTools 
  (table of contents lost)
So anyone has idea what has happened, and how to repair it?
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Petr Baudis· Sep 6, 2006, 11:30 UTC · re: Jakub Narebski · lore

Re: GitWiki lost ability to parse macros

  Hi,

Dear diary, on Wed, Sep 06, 2006 at 12:22:47PM CEST, I got a letter where Jakub Narebski <jnareb@gmail.com> said that...

Show 15 quoted lines
> Somehow, the GitWiki (which is MoinMoin wiki) lost the ability to parse
> macros. Macros are now output as is, instead of being substitutes with
> their expansion. It looks like MediaWiki-like syntax plugin got broken,
> because besides of {{macroname}} not being expanded, additionally pipe
> links [[target|label]] are not parsed.
> 
> See for example
>   http://git.or.cz/gitwiki/RecentChanges
>   http://git.or.cz/gitwiki/FindPage
>   http://git.or.cz/gitwiki/SystemInfo
> 
>   http://git.or.cz/gitwiki/InterfacesFrontendsAndTools 
>   (table of contents lost)
> 
> So anyone has idea what has happened, and how to repair it?
  this was connected with the server upgrade, sorry. Fixed.
  There are unfortunately some stability problems with the new server,
we hope to get that sorted out; in case of downtime we'll be falling
back to the original server which is still running, but I disabled the
wiki there in order not to lose changes when flipping back and forth.
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Snow falling on Perl. White noise covering line noise.
Hides all the bugs too. -- J. Putnam
Jakub Narebski· Sep 6, 2006, 11:46 UTC · re: Petr Baudis · lore

Re: GitWiki lost ability to parse macros

Petr Baudis wrote:
Show 20 quoted lines
> Dear diary, on Wed, Sep 06, 2006 at 12:22:47PM CEST, I got a letter
> where Jakub Narebski <jnareb@gmail.com> said that...
>>
>> Somehow, the GitWiki (which is MoinMoin wiki) lost the ability to parse
>> macros. Macros are now output as is, instead of being substitutes with
>> their expansion. It looks like MediaWiki-like syntax plugin got broken,
>> because besides of {{macroname}} not being expanded, additionally pipe
>> links [[target|label]] are not parsed.
>> 
>> See for example
>>   http://git.or.cz/gitwiki/RecentChanges
>>   http://git.or.cz/gitwiki/FindPage
>>   http://git.or.cz/gitwiki/SystemInfo
>> 
>>   http://git.or.cz/gitwiki/InterfacesFrontendsAndTools 
>>   (table of contents lost)
>> 
>> So anyone has idea what has happened, and how to repair it?
> 
>   this was connected with the server upgrade, sorry. Fixed.
Hmm... I still get for http://git.or.cz/gitwiki/RecentChanges
 {{RandomQuote()}}
 {{RecentChanges}} 
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Julian Phillips· Sep 6, 2006, 16:15 UTC · re: Jakub Narebski · lore

Re: GitWiki lost ability to parse macros

On Wed, 6 Sep 2006, Jakub Narebski wrote:
Show 7 quoted lines
> Hmm... I still get for http://git.or.cz/gitwiki/RecentChanges
>
> {{RandomQuote()}}
>
> {{RecentChanges}}
>
>

MoinMoin caches a copy of the generated html page, which is automatically updated when you edit the page. Since fixing the macros doesn't mean updating the page you have to manually delete the cache - this can be done from the "More Actions:" list.

-- 
Julian

  ---
If you are smart enough to know that you're not smart enough to be an
Engineer, then you're in Business.
Jakub Narebski· Sep 6, 2006, 17:18 UTC · re: Julian Phillips · lore

Re: GitWiki lost ability to parse macros

Julian Phillips wrote:
Show 14 quoted lines
> On Wed, 6 Sep 2006, Jakub Narebski wrote:
> 
>> Hmm... I still get for http://git.or.cz/gitwiki/RecentChanges
>>
>> {{RandomQuote()}}
>>
>> {{RecentChanges}}
>>
>>
> 
> MoinMoin caches a copy of the generated html page, which is automatically 
> updated when you edit the page.  Since fixing the macros doesn't mean 
> updating the page you have to manually delete the cache - this can be done 
> from the "More Actions:" list.
Could admin of GitWiki then delete cache of all files?
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Petr Baudis· Sep 7, 2006, 01:42 UTC · re: Jakub Narebski · lore

Re: GitWiki lost ability to parse macros

Dear diary, on Wed, Sep 06, 2006 at 07:18:37PM CEST, I got a letter where Jakub Narebski <jnareb@gmail.com> said that...

Show 18 quoted lines
> Julian Phillips wrote:
> 
> > On Wed, 6 Sep 2006, Jakub Narebski wrote:
> > 
> >> Hmm... I still get for http://git.or.cz/gitwiki/RecentChanges
> >>
> >> {{RandomQuote()}}
> >>
> >> {{RecentChanges}}
> >>
> >>
> > 
> > MoinMoin caches a copy of the generated html page, which is automatically 
> > updated when you edit the page.  Since fixing the macros doesn't mean 
> > updating the page you have to manually delete the cache - this can be done 
> > from the "More Actions:" list.
> 
> Could admin of GitWiki then delete cache of all files?

I did that originally, but it looks like I've missed some bit. Hopefully now all is in order. :-)

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Snow falling on Perl. White noise covering line noise.
Hides all the bugs too. -- J. Putnam
Jakub Narebski· Sep 7, 2006, 08:44 UTC · re: Petr Baudis · lore

Re: GitWiki lost ability to parse macros

Petr Baudis wrote:
> Dear diary, on Wed, Sep 06, 2006 at 07:18:37PM CEST, I got a letter
> where Jakub Narebski <jnareb@gmail.com> said that...
>> Could admin of GitWiki then delete cache of all files?
> 
> I did that originally, but it looks like I've missed some bit. Hopefully
> now all is in order. :-)
It looks like everything is now all right. Thnaks a lot.
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

← back to recent threads