# GitWiki lost ability to parse macros

7 messages from 2006-09-06 to 2006-09-07. Participants: Jakub Narebski, Petr Baudis, Julian Phillips.
Thread: https://gitlist.dev/t/5496

## Jakub Narebski, 2006-09-06 10:22

Subject: GitWiki lost ability to parse macros
Message-ID: <edm7h3$nij$1@sea.gmane.org>
URL: https://gitlist.dev/e/edm7h3%24nij%241%40sea.gmane.org

```
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, 2006-09-06 11:30

Subject: Re: GitWiki lost ability to parse macros
Message-ID: <20060906113052.GC23891@pasky.or.cz>
URL: https://gitlist.dev/e/20060906113052.GC23891%40pasky.or.cz
In-Reply-To: <edm7h3$nij$1@sea.gmane.org>

```
  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...
> 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, 2006-09-06 11:46

Subject: Re: GitWiki lost ability to parse macros
Message-ID: <edmcd6$9or$1@sea.gmane.org>
URL: https://gitlist.dev/e/edmcd6%249or%241%40sea.gmane.org
In-Reply-To: <20060906113052.GC23891@pasky.or.cz>

```
Petr Baudis wrote:

> 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, 2006-09-06 16:15

Subject: Re: GitWiki lost ability to parse macros
Message-ID: <Pine.LNX.4.64.0609061712410.7168@reaper.quantumfyre.co.uk>
URL: https://gitlist.dev/e/Pine.LNX.4.64.0609061712410.7168%40reaper.quantumfyre.co.uk
In-Reply-To: <edmcd6$9or$1@sea.gmane.org>

```
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.

-- 
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, 2006-09-06 17:18

Subject: Re: GitWiki lost ability to parse macros
Message-ID: <edmvsn$lt7$3@sea.gmane.org>
URL: https://gitlist.dev/e/edmvsn%24lt7%243%40sea.gmane.org
In-Reply-To: <Pine.LNX.4.64.0609061712410.7168@reaper.quantumfyre.co.uk>

```
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?

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

```

## Petr Baudis, 2006-09-07 01:42

Subject: Re: GitWiki lost ability to parse macros
Message-ID: <20060907014206.GN18896@pasky.or.cz>
URL: https://gitlist.dev/e/20060907014206.GN18896%40pasky.or.cz
In-Reply-To: <edmvsn$lt7$3@sea.gmane.org>

```
Dear diary, on Wed, Sep 06, 2006 at 07:18:37PM CEST, I got a letter
where Jakub Narebski <jnareb@gmail.com> said that...
> 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, 2006-09-07 08:44

Subject: Re: GitWiki lost ability to parse macros
Message-ID: <edom3p$oql$3@sea.gmane.org>
URL: https://gitlist.dev/e/edom3p%24oql%243%40sea.gmane.org
In-Reply-To: <20060907014206.GN18896@pasky.or.cz>

```
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

```
