[pmwiki-users] Include from page with includes

Tami Hawes (PERA) tami.hawes at mnpera.org
Thu Aug 11 07:48:03 CDT 2016


Does anyone know of a way to run a report that will detail all of the changes made within a wiki site without going to each individual page?
I have more than one person updating in our wiki and would like documentation to keep track of the changes.
Any help would be greatly appreciated.




TAMI HAWES | BENEFIT INFORMATION SPECIALIST | COMMUNICATION & EDUCATION DIVISION
PUBLIC EMPLOYEES RETIREMENT ASSOCIATION OF MINNESOTA
60 EMPIRE DR. STE 200 | ST PAUL MN 55103-2088
651.296.7460 | 1.800.652.9026 | www.mnpera.org


-----Original Message-----
From: pmwiki-users [mailto:pmwiki-users-bounces at pmichaud.com] On Behalf Of Johan Bengtsson
Sent: Thursday, August 11, 2016 5:21 AM
To: pmwiki-users at pmichaud.com
Subject: Re: [pmwiki-users] Include from page with includes

On 08/10/2016 09:37 PM, Petko Yotov wrote:
> On 2016-08-10 14:26, Johan Bengtsson wrote:
>> (:include Pagename lines=3:) # works fine
>>
>> Now I try to include from "Troublepage" which is built by an include
>> from a third page:
>> (:include Troublepage lines=3:)
>>
>> Instead of getting three lines I get everything that is included into
>> Troublepage. Is there any way to avoid this?
>
> The code you use will include the first 3 lines of wikitext from the
> remote page, as if they were written in the current page (only fixing
> page links and variables). Then this wikitext will be processed into
> HTML. So if Troublepage contains simply (:include Thirdpage:) then
> this first line will be included in the current page and then
> processed as if it were written here.
>
> If you want to include the first 3 lines from Thirdpage, use directly
> (:include Thirdpage lines=3:).

Well it's not really possible to do that, it's in a pagelist template.

(:include Troublepage lines=3:) | head -n 3

would be nice but maybe not possible:-)

I guess I have to find some other solution to my problem.

Best regards,
Johan Bengtsson

_______________________________________________
pmwiki-users mailing list
pmwiki-users at pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


The statutes and regulations governing PERA may change at any time. If there is a discrepancy between the law governing PERA and the information contained in this e-mail, the statutes and regulations shall govern. This e-mail and attachments are intended only for the addressee and may contain privileged or not-public data. If you are not the addressee, do not review, forward or use the information in this e-mail. If you received this e-mail in error, contact the sender and delete this e-mail and attachments.

Public Employees Retirement Association of Minnesota

<http://www.mnpera.org/>



More information about the pmwiki-users mailing list