Jump to content

Extension talk:PagesfromTemplate

Add topic
From mediawiki.org
Latest comment: 13 years ago by LeoPArd04 in topic Problems with capital letter 'Z'

Problems with capital letter 'Z'

[edit]

That extension has problems with capital letter 'Z' because of regexp '([^\Z]*?)' in PagesfromTemplate_body.php

After replacement line

$this->motifpage='/'.$this->starttext.'([^\Z]*?)'.$this->endtext.'/';

to this one

$this->motifpage='/'.$this->starttext.'(.*?)'.$this->endtext.'/s';

it works well

I hope it would be helpfull

--LeoPArd04 06:29, 23 July 2011 (UTC)Reply