Are these pages in their own namespace?
On Wed, Sep 18, 2013 at 11:32 AM, Yan Seiner <yan(a)seiner.com> wrote:
John wrote:
{{DISPLAYTITLE:NEWNAME}}
Is there any way to automate this in a template?
My titles are in the form
DisplayTitle;HiddenSuffix
so I could manually edit each and every page to add
{{DisplayTitle;HiddenSuffix:**DisplayTitle}}
but I'd really like to find a way to drop the part after the semicolon in
a template; in regex:
s/;.*$//
or in php (pseudocode, not mediawiki code)
preg_replace(';.*$', '', $DISPLAYTITLE);
Can this be done?
--
Project Management Consulting and Training
http://www.**ridgelineconsultingllc.com<http://www.ridgelineconsultingll…
______________________________**_________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.**org <MediaWiki-l(a)lists.wikimedia.org>
https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l<https://lists…