Main Page: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
No edit summary
Line 22: Line 22:
$wgExtraNamespaces[NS_LOFE_TALK] = "LOFE_talk";
$wgExtraNamespaces[NS_LOFE_TALK] = "LOFE_talk";
$wgContentNamespaces[] = 3000;</pre>And to style the LOFE pages I added this to Common.css
$wgContentNamespaces[] = 3000;</pre>And to style the LOFE pages I added this to Common.css
<pre>.lofe-image, .lofe-image img {width:100%;}
.lofe-image img {height:auto;}
div.lofe-text {min-width:50em;}</pre>

Revision as of 02:18, 17 August 2025

Welcome!

I've set up this wiki to demonstrate a possible new format for the Library of Formatting Examples. Click the link below to view it.

Library of Formatting Examples

Links

Configuration Changelog

In order to set up the LOFE domain, I added this to LocalSettings.php:

define("NS_LOFE", 3000);
define("NS_LOFE_TALK", 3001);
$wgExtraNamespaces[NS_LOFE] = "LOFE";
$wgExtraNamespaces[NS_LOFE_TALK] = "LOFE_talk";
$wgContentNamespaces[] = 3000;

And to style the LOFE pages I added this to Common.css

.lofe-image, .lofe-image img {width:100%;}
.lofe-image img {height:auto;}
div.lofe-text {min-width:50em;}