Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech

Re: [MediaWiki-CVS] SVN: [34601] trunk/extensions/MetavidWiki

 

 

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded


brion at wikimedia

May 12, 2008, 4:16 PM

Post #1 of 2 (238 views)
Permalink
Re: [MediaWiki-CVS] SVN: [34601] trunk/extensions/MetavidWiki

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

dale[at]svn.wikimedia.org wrote:
> - window.domain = 'www.parent.domain.com';
> + window.domain = '<?=$parent_domain?>';

Just a note -- I strongly recommend against using the "short tags" (<?
and <?= instead of <?php), as your code won't work at all on a server
with short tags disabled in php.ini.

Portable code should use the long-form tags consistently.

- -- brion vibber (brion @ wikimedia.org)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgoz70ACgkQwRnhpk1wk46bOwCgxhT8T8Mv5jLz0PPpBKQTU5Nq
Je4AnjsjG/IsKESaskfug+eTtXqmmpvh
=bAri
-----END PGP SIGNATURE-----

_______________________________________________
Wikitech-l mailing list
Wikitech-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


dale at ucsc

Jun 16, 2008, 3:47 PM

Post #2 of 2 (188 views)
Permalink
Re: [MediaWiki-CVS] SVN: [34601] trunk/extensions/MetavidWiki [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

fixing...

- --michael

Brion Vibber wrote:
> dale[at]svn.wikimedia.org wrote:
>> - window.domain = 'www.parent.domain.com';
>> + window.domain = '<?=$parent_domain?>';
>
> Just a note -- I strongly recommend against using the "short tags" (<?
> and <?= instead of <?php), as your code won't work at all on a server
> with short tags disabled in php.ini.
>
> Portable code should use the long-form tags consistently.
>
> -- brion vibber (brion @ wikimedia.org)
>

_______________________________________________
Wikitech-l mailing list
Wikitech-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIVu1yPPG4QoAtd8MRAmO/AJwPC0VoU5R6byQwc3Z0mu4XoLXA2ACeJAEN
MIfhREQgAPI/FxNeQU8nH/Q=
=ILnq
-----END PGP SIGNATURE-----

_______________________________________________
Wikitech-l mailing list
Wikitech-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.