Are these pages in their own namespace?

On Wed, Sep 18, 2013 at 11:32 AM, Yan Seiner <[email protected]> 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.ridgelineconsultingllc.com>
>
>
> ______________________________**_________________
> MediaWiki-l mailing list
> [email protected].**org <[email protected]>
> https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l<https://lists.wikimedia.org/mailman/listinfo/mediawiki-l>
>
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to