Sorry, I was meaning : I'll remove the entity and will substitute it with the real text (and the good version)
This might be the only solution, but I really hate repeating text (lazy programmer syndrome).
What about something like:
<!ENTITY pecl.moved-ver 'This extension has been moved to the <ulink url="&url.pecl;">PECL</ulink> repository and is no longer bundled with PHP as of PHP '>
and use it like: <note><simpara>&pecl.moved-ver;5.1</simpara></note>
We already do something similar with:
&url.pecl.package;
(example: <ulink url="&url.pecl.package;classkit">&url.pecl.package;classkit</ulink>)
S