Re: [MediaWiki-l] Parser function to test if "this" page is being transcluded?

2012-12-20 Thread Al Johnson
Thanks Boris! From: Boris Steipe To: Al Johnson Cc: MediaWiki announcements and site admin list Sent: Thursday, December 20, 2012 5:03 PM Subject: Re: [MediaWiki-l] Parser function to test if "this" page is being transcluded? Then would something like

Re: [MediaWiki-l] [Mediawiki-l] Changing texts within articles

2012-12-20 Thread Henny Savenije
I just installed this package but it won't work. As soon as I add require_once( "$IP/extensions/ReplaceText/ReplaceText.php" ) to the LocalSettings.php the wiki doesn't load anymore. All the files are in the ReplaceText subdirectory in the extentions directory I tried to put the require_once st

Re: [MediaWiki-l] Parser function to test if "this" page is being transcluded?

2012-12-20 Thread Boris Steipe
My original mail seems not to have made it to the list: could be that the CSS style that will prevent the tagged span from being displayed triggers spam/phishing filters ... I've replaced you-know-what with XYZ below... = Then would something like (untested): {{#ifeq: {{PAGE

Re: [MediaWiki-l] Parser function to test if "this" page is being transcluded?

2012-12-20 Thread Boris Steipe
Then would something like (untested): {{#ifeq: {{PAGENAME}} | | |}} ... {{#ifeq: {{PAGENAME}} | | |}} work for you? B. On 2012-12-20, at 6:54 PM, Al Johnson wrote: > Yes. > > From: Boris Steipe > To: Al Johnson ; MediaWiki announcements and site admin > list > Sent: Thursday, Dece

Re: [MediaWiki-l] Transcluding only parts of a page, but specified in template?

2012-12-20 Thread Al Johnson
Perfect!  Have a great day! From: Brion Vibber To: MediaWiki announcements and site admin list Sent: Thursday, December 20, 2012 4:34 PM Subject: Re: [MediaWiki-l] Transcluding only parts of a page, but specified in template? On Thu, Dec 20, 2012 at 3:27

Re: [MediaWiki-l] Parser function to test if "this" page is being transcluded?

2012-12-20 Thread Boris Steipe
... but you realize it would be visible both in the WikiSource and the HTML source of the page, yes? B. On 2012-12-20, at 6:41 PM, Al Johnson wrote: > I know I'm asking some off-the-wall questions, but I'm trying to do something > special. Thanks ahead of time for your patience /^) > > I wou

[MediaWiki-l] Parser function to test if "this" page is being transcluded?

2012-12-20 Thread Al Johnson
I know I'm asking some off-the-wall questions, but I'm trying to do something special.  Thanks ahead of time for your patience /^) I would like to conditionally wrap a section of a page with a tag that sets the CSS style to hidden when that section is being transcluded.  So, I want the text to

Re: [MediaWiki-l] Transcluding only parts of a page, but specified in template?

2012-12-20 Thread Brion Vibber
On Thu, Dec 20, 2012 at 3:27 PM, Al Johnson wrote: > Is there a way to specify from a template what parts of a page get > transcluded? IOW, I want the caller to specify what is transcluded rather > than using , etc., tags. > This may be what you're looking for: https://www.mediawiki.org/wiki/Ext

[MediaWiki-l] Transcluding only parts of a page, but specified in template?

2012-12-20 Thread Al Johnson
Hi, Is there a way to specify from a template what parts of a page get transcluded?  IOW, I want the caller to specify what is transcluded rather than using , etc., tags. Thanks, Al ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https:/

Re: [MediaWiki-l] [SMW] Setting link display text to a data field of the page

2012-12-20 Thread Leonard Wallentin
> > Hi, > > Note: I haven't used SMW yet, so I'm using pseudo-syntax below. > > Is there a way to set the text of a link to some data in the linked page? > For example, > > If a page named 'Austin' has a data field named 'capitolOf' with value > 'Texas', I want to be able to create a link

[MediaWiki-l] [SMW] Setting link display text to a data field of the page

2012-12-20 Thread Al Johnson
Hi, Note: I haven't used SMW yet, so I'm using pseudo-syntax below. Is there a way to set the text of a link to some data in the linked page?  For example, If a page named 'Austin' has a data field named 'capitolOf' with value 'Texas', I want to be able to create a link to that page with the

[MediaWiki-l] Fwd: Proceedings: The Ontolog PSMW: Debut, Tutorial and Possibilities - follow-up

2012-12-20 Thread Peter Yim
Fyi. Help needed ... ... SMW application development, and MW/SMW UI gurus, please. Happy Holidays, everyone! Regards. =ppy Peter P. Yim http://ontolog.cim3.net/cgi-bin/wiki.pl?PeterYim -- -- Forwarded message -- From: Peter Yim Date: Wed, 19 Dec 2012 17:54:22 -0800 Subject: Pr

Re: [MediaWiki-l] Setting for maximum allowable length of page title?

2012-12-20 Thread Matma Rex
On Thu, 20 Dec 2012 17:59:24 +0100, Al Johnson wrote: My wiki's page titles may be very long. Can I adjust the maximum length allowed for page titles? Unfortunately the maximum length is currently hardcoded at 255 bytes[1], because that's the length of the database field. You could be able

[MediaWiki-l] Setting for maximum allowable length of page title?

2012-12-20 Thread Al Johnson
Hi, My wiki's page titles may be very long.  Can I adjust the maximum length allowed for page titles? Thanks, Al ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

[MediaWiki-l] Local times not shown for Page "last edit" and history pages

2012-12-20 Thread Al Johnson
The last edit time as well as the times on the history page are showing UTC instead of local times.  Example, the bottom of a page will show: This page was last modified on 20 December 2012, at 16:12. when it was edited at 09:14-7:00 local time. Is there a setting or something? Thanks, Al

[MediaWiki-l] Problem installing v1.19.2

2012-12-20 Thread Rowe, Dolores A
Happy Holidays ! I am having trouble with the v1.19.2 installer. It is failing with the error below on a Windows 2008 server using PHP 5.2.17. PHP is installed, the MySQL extension is uncommented, the path to PHP is in the System Path, and the extension dll exists. I'm not sure what else to

[MediaWiki-l] page stats in bottom

2012-12-20 Thread Scheid, Bernhard
Hi, I would like to have something like the following at the bottom of each page: This page was created on and has been viewed times. (instead of only number of hits) Is that possible? How? Bernhard ___ MediaWiki-l mailing list MediaWiki-l@lists.wi