1.5.6 and wgRawHtml?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

1.5.6 and wgRawHtml?

John D. Mann
I just upgraded to MW 1.5.6, and $wgRawHtml = true just echos the <html>
tags to my page.  It did not do this before.  Is there a way to fix this
issue?

_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: 1.5.6 and wgRawHtml?

Brion Vibber
John D. Mann wrote:
> I just upgraded to MW 1.5.6, and $wgRawHtml = true just echos the <html>
> tags to my page.  It did not do this before.  Is there a way to fix this
> issue?

Works for me. Check cache, etc.

-- brion vibber (brion @ pobox.com)


_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

signature.asc (257 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: 1.5.6 and wgRawHtml?

John D. Mann
> -----Original Message-----
> From: [hidden email] [mailto:mediawiki-l-
> [hidden email]] On Behalf Of Brion Vibber
> Sent: Sunday, January 22, 2006 7:51 PM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] 1.5.6 and wgRawHtml?
>
> John D. Mann wrote:
> > I just upgraded to MW 1.5.6, and $wgRawHtml = true just echos the <html>
> > tags to my page.  It did not do this before.  Is there a way to fix this
> > issue?
>
> Works for me. Check cache, etc.
>
> -- brion vibber (brion @ pobox.com)

Inline, find below my LocalSettings.php content.
No caching is turned on.  I also flush my cache in-browser when I'm viewing
the site for confirmation.  Still no go :/

<?php
$IP = "/var/www";
   <<edited out INI stuff>>
$wgSitename         = "my.com";
$wgScriptPath       = "";
$wgScript           = "$wgScriptPath/index.php";
$wgRedirectScript   = "$wgScriptPath/redirect.php";
$wgArticlePath      = "$wgScript/$1";
$wgStylePath        = "$wgScriptPath/skins";
$wgStyleDirectory   = "$IP/skins";
$wgLogo             = "$wgStylePath/common/images/wiki.png";
$wgUploadPath       = "$wgScriptPath/images";
$wgUploadDirectory  = "$IP/images";
$wgEnableEmail = true;
$wgEnableUserEmail = true;
$wgEmergencyContact = "[hidden email]";
$wgPasswordSender       = "[hidden email]";
$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO
$wgEmailAuthentication = false;
$wgDBserver         = "localhost";
$wgDBname           = "dbname";
$wgDBuser           = "dbuser";
$wgDBpassword       = "dbpass";
$wgDBprefix         = "dbpre_";
$wgDBmysql5 = false;
$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = array();
$wgEnableUploads                = true;
$wgUseImageResize               = true;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "/usr/bin/convert";
$wgMathPath         = "{$wgUploadPath}/math";
$wgMathDirectory    = "{$wgUploadDirectory}/math";
$wgTmpDirectory     = "{$wgUploadDirectory}/tmp";
$wgLocalInterwiki   = $wgSitename;
$wgLanguageCode = "en";
$wgProxyKey = "<<MD5stuffhere>>";
$wgDiff3 = "/usr/bin/diff3";
$wgUseEditor = true;
$wgWhitelistEdit = true;
$wgGroupPermissions['*']['edit'] = false;
$wgShowIPinHeader = false; # For non-logged in users
$wgUserHtml = true;
$wgRawHtml = true;
$wgEnableCreativeCommonsRdf = true;
$wgRightsPage = "License";
$wgRightsUrl = "http://creativecommons.org/licenses/by-nc-sa/2.5/";
$wgRightsText = "a Creative Commons Attribution-NonCommercial-ShareAlike 2.5
License";
$wgRightsIcon = "http://creativecommons.org/images/public/somerights20.png";
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'zip', 'tar', 'tgz',
'gz', 'wmv', 'mov', 'avi', 'mpg', 'mpeg' );


_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: 1.5.6 and wgRawHtml?

Plamen Gradinarov
In reply to this post by Brion Vibber
Will wiki tags work when put in html tagged section?

TIA
_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

RE: 1.5.6 and wgRawHtml?

John D. Mann
No, they will not work inside the <html></html> tags if you are allowing raw
html to be used.  However, all you have to do is end the html tag and
restart it after the wiki tag.  Any open html tags from before can be
continued afterwards.

Example:
Dfadfasdfadfasdfasdf
[[Link|this is a wiki link]]
<html>
   <a href="foo.com/bar.html">adsfadf</a>
   <div id="whatnot">
</html>
[[another|another wiki link inside an html tag]]
<html>
   </div>
</html>

John

> -----Original Message-----
> From: [hidden email] [mailto:mediawiki-l-
> [hidden email]] On Behalf Of Plamen Gradinarov
> Sent: Monday, January 23, 2006 4:22 AM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] 1.5.6 and wgRawHtml?
>
> Will wiki tags work when put in html tagged section?
>
> TIA
> _______________________________________________
> MediaWiki-l mailing list
> [hidden email]
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

AW: 1.5.6 and wgRawHtml?

Vasiliadis, Thomas
In reply to this post by John D. Mann
Hi John

If I am not terribly wrong, your code is it.
In HTML it is NOT allowed to use Tags like this:

<TagA>
 <TagB>
</TagA>
 </TagB>

You have to end your Tags recursively, that means, you have to do it like this:
<TagA>
 <TagB>
 </TagB>
</TagA>

TV


-----Urspr√ľngliche Nachricht-----
Von: [hidden email] [mailto:[hidden email]] Im Auftrag von John D. Mann
Gesendet: Montag, 23. Januar 2006 11:31
An: 'MediaWiki announcements and site admin list'
Betreff: RE: [Mediawiki-l] 1.5.6 and wgRawHtml?

No, they will not work inside the <html></html> tags if you are allowing raw
html to be used.  However, all you have to do is end the html tag and
restart it after the wiki tag.  Any open html tags from before can be
continued afterwards.

Example:
Dfadfasdfadfasdfasdf
[[Link|this is a wiki link]]
<html>
   <a href="foo.com/bar.html">adsfadf</a>
   <div id="whatnot">
</html>
[[another|another wiki link inside an html tag]]
<html>
   </div>
</html>

John

> -----Original Message-----
> From: [hidden email] [mailto:mediawiki-l-
> [hidden email]] On Behalf Of Plamen Gradinarov
> Sent: Monday, January 23, 2006 4:22 AM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] 1.5.6 and wgRawHtml?
>
> Will wiki tags work when put in html tagged section?
>
> TIA
> _______________________________________________
> MediaWiki-l mailing list
> [hidden email]
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l