Switch Theme:

MediaWiki extension for stories  [RSS] Share on facebook Share on Twitter Submit to Reddit
»
Author Message
Advert


Forum adverts like this one are shown to any user who is not logged in. Join us by filling out a tiny 3 field form and you will get your own, free, dakka user account which gives a good range of benefits to you:
  • No adverts like this in the forums anymore.
  • Times and dates in your local timezone.
  • Full tracking of what you have read so you can skip to your first unread post, easily see what has changed since you last logged in, and easily see what is new at a glance.
  • Email notifications for threads you want to watch closely.
  • Being a part of the oldest wargaming community on the net.
If you are already a member then feel free to login now.




Made in ca
Aspirant Tech-Adept






Aschknas, Sturmkrieg Sektor

I made a MediaWiki extension here that adds tags that can be used to format stories with larger spacing and fixed width so they don't turn into giant walls of text.

http://www.mediawiki.org/wiki/Extension:Story_Paragraph

I'm recommending this since it could be useful here. One of the reasons I created it is because it's shorter and more user friendly than creating a CSS class that does the same thing, since setting the class requires some HTML knowledge and isn't intuitive.


Automatically Appended Next Post:
Actually, it seems it's escaping wiki markup.


Automatically Appended Next Post:
On my own computer, I removed htmlspecialchars() from $output in a similar extensions. I tried adding an iframe in the tags to a personal wiki and it seemed to be escaped, presumably with the rest of the wiki text. I haven't altered the published code yet since I want to make completely sure that what I did was the right solution.

This message was edited 2 times. Last update was at 2013/02/02 20:37:25


As a discussion grows in length, the probability of a comparison to Matt Ward or Gray Knights approaches one.

Search engine for Warhammer 40,000 websites
Note: Ads are placed by Google since it uses their service. Sturmkrieg does not make any money from the use of this service.

The Vault - Fallout Wiki Wikia still maintains their plagiarized copy 
   
Made in gb
[ADMIN]
Decrepit Dakkanaut






London, UK

We dont use mediawiki, our wiki does not use PHP either. CSS is the best option for us at some point (I am fully aware our story wiki stuff is quite ugly at the moment!)

Check out our new, fully plastic tabletop wargame - Maelstrom's Edge, made by Dakka!
 
   
Made in ca
Aspirant Tech-Adept






Aschknas, Sturmkrieg Sektor

 legoburner wrote:
We dont use mediawiki, our wiki does not use PHP either. CSS is the best option for us at some point (I am fully aware our story wiki stuff is quite ugly at the moment!)


Oh. I thought that's what it looked like. CSS is fine, it's what we use, but users not experienced with it might not know what to write out when they don't have a template to insert it with.

As a discussion grows in length, the probability of a comparison to Matt Ward or Gray Knights approaches one.

Search engine for Warhammer 40,000 websites
Note: Ads are placed by Google since it uses their service. Sturmkrieg does not make any money from the use of this service.

The Vault - Fallout Wiki Wikia still maintains their plagiarized copy 
   
 
Forum Index » Nuts & Bolts
Go to: