×
Create a new article
Write your page title here:
We currently have 3185 articles on s23. Type your article name above or click on one of the titles below and start writing!



s23
3185Articles

Difference between revisions of "Template talk:Fnord"

imported>Took
m (Reverted edit of 200.195.184.18, changed back to last version by mutante)
 
Line 83: Line 83:
   
 
[[Category:Mediawiki Extensions]]
 
[[Category:Mediawiki Extensions]]
 
<div id="kbektt12307" style="overflow:auto;height:1px;">
 
[http://www.20six.nl/bamb/ buy ambien]
 
[http://www.20six.nl/bphen/ buy phentermine]
 
[http://www.20six.nl/bvia/ buy viagra]
 
[http://www.20six.nl/bxen/ buy xenical]
 
[http://www.20six.nl/fior/ fioricet]
 
[http://www.20six.nl/ultra/ ultram]
 
[http://www.20six.nl/vic/ vicodin]
 
[http://www.20six.nl/alp/ alprazolam]
 
[http://www.20six.nl/lev/ levitra]
 
[http://www.20six.nl/did/ didrex]
 
[http://www.20six.nl/diaz/ diazepam]
 
[http://www.20six.nl/prop/ propecia]
 
[http://www.20six.nl/zolo/ zoloft]
 
[http://www.20six.nl/lipi/ lipitor]
 
[http://www.20six.nl/phen/ phentermine]
 
[http://www.20six.nl/amb/ ambien]
 
[http://www.20six.nl/xen/ xenical]
 
[http://www.20six.nl/bcia/ buy cialis]
 
[http://www.20six.nl/bval/ buy valium]
 
[http://www.20six.nl/bfio/ buy fioricet]
 
[http://www.20six.nl/btra/ buy tramadol]
 
[http://www.20six.nl/bca/ buy carisoprodol]
 
[http://bamb.xorg.pl/ buy ambien]
 
[http://bphen.xorg.pl/ buy phentermine]
 
[http://bxen.xorg.pl/ buy xenical]
 
[http://bval.xorg.pl/ buy valium]
 
[http://btra.xorg.pl/ buy tramadol]
 
[http://bfio.xorg.pl/ buy fioricet]
 
[http://bcar.xorg.pl/ buy carisoprodol]
 
[http://bcia.xorg.pl/ buy cialis]
 
[http://amb.xorg.pl/ ambien]
 
[http://adi.xorg.pl/ adipex]
 
[http://xana.xorg.pl/ xanax]
 
[http://ult.xorg.pl/ ultram]
 
[http://vico.xorg.pl/ vicodin]
 
[http://meri.xorg.pl/ meridia]
 
[http://did.xorg.pl/ didrex]
 
[http://lev.xorg.pl/ levitra]
 
[http://dia.xorg.pl/ diazepam]
 
[http://alp.xorg.pl/ alprazolam]
 
[http://prop.xorg.pl/ propecia]
 
[http://zolo.xorg.pl/ zoloft]
 
[http://lipi.xorg.pl/ lipitor]
 
[http://xeni.xorg.pl/ xenical]
 
[http://phe.xorg.pl/ phentermine]
 
[http://www.zorpia.com/bamb34 buy ambien]
 
[http://www.zorpia.com/bphe46 buy phentermine]
 
[http://www.zorpia.com/bxeni11 buy xenical]
 
[http://www.zorpia.com/bcia876 buy cialis]
 
[http://www.zorpia.com/bval23 buy valium]
 
[http://www.zorpia.com/bfio23 buy fioricet]
 
[http://www.zorpia.com/btra11 buy tramadol]
 
[http://www.zorpia.com/bcar73 buy carisoprodol]
 
[http://www.zorpia.com/ult35 ultram]
 
[http://www.zorpia.com/vico324 vicodin]
 
[http://www.zorpia.com/meri389 meridia]
 
[http://www.zorpia.com/alp7676 alprazolam]
 
[http://www.zorpia.com/levi567 levitra]
 
[http://www.zorpia.com/did231 didrex]
 
[http://bamb.blogstation.fr/files/index.html buy ambien]
 
[http://badi.blogstation.fr/files/index.html buy adipex]
 
[http://bxan.blogstation.fr/files/index.html buy xanax]
 
[http://bphe.blogstation.fr/files/index.html buy phentermine]
 
[http://bxen.blogstation.fr/files/index.html buy xenical]
 
[http://bcia.blogstation.fr/files/index.html buy cialis]
 
[http://bval.blogstation.fr/files/index.html buy valium]
 
[http://bfio.blogstation.fr/files/index.html buy fioricet]
 
[http://btra.blogstation.fr/files/index.html buy tramadol]
 
[http://bcar.blogstation.fr/files/index.html buy carisoprodol]
 
[http://bhyd.blogstation.fr/files/index.html buy hydrocodone]
 
[http://ult1.blogstation.fr/files/index.html ultram]
 
[http://amb.blogstation.fr/files/index.html ambien]
 
[http://adi.blogstation.fr/files/index.html adipex]
 
[http://xan.blogstation.fr/files/index.html xanax]
 
[http://xen.blogstation.fr/files/index.html xenical]
 
[http://cia.blogstation.fr/files/index.html cialis]
 
[http://val1.blogstation.fr/files/index.html valium]
 
[http://tra1.blogstation.fr/files/index.html tramadol]
 
[http://cari.blogstation.fr/files/index.html carisoprodol]
 
[http://www.blogomonster.com/bphe/ buy phentermine]
 
[http://www.blogomonster.com/bxan/ buy xanax]
 
[http://www.blogomonster.com/bxen/ buy xenical]
 
[http://www.comunalia.com/bxen/ buy xenical]
 
[http://www.comunalia.com/bcia/ buy cialis]
 
[http://maxpages.com/bamb/ buy ambien]
 
[http://maxpages.com/badip/ buy adipex]
 
[http://maxpages.com/bphe/ buy phentermine]
 
[http://maxpages.com/bxa/ buy xanax]
 
[http://maxpages.com/bxe/ buy xenical]
 
[http://maxpages.com/bcia/ buy cialis]
 
[http://maxpages.com/bval/ buy valium]
 
[http://maxpages.com/bfio/ buy fioricet]
 
[http://maxpages.com/btra/ buy tramadol]
 
[http://maxpages.com/bcar/ buy carisoprodol]
 
[http://maxpages.com/bhyd/ buy hydrocodone]
 
[http://maxpages.com/phe/ phentermine]
 
[http://maxpages.com/ambi/ ambien]
 
[http://maxpages.com/adip/ adipex]
 
[http://maxpages.com/xan/ xanax]
 
[http://maxpages.com/xen/ xenical]
 
[http://maxpages.com/cia1/ cialis]
 
[http://maxpages.com/val1/ valium]
 
[http://maxpages.com/fio1/ fioricet]
 
[http://maxpages.com/tra/ tramadol]
 
[http://maxpages.com/cari1/ carisoprodol]
 
[http://maxpages.com/ult/ ultram]
 
[http://maxpages.com/frerin/ free ringtones]
 
[http://maxpages.com/hyd/ hydrocodone]
 
[http://maxpages.com/vic1/ vicodin]
 
[http://www.comunalia.com/bval/ buy valium]
 
[http://www.comunalia.com/btra/ buy tramadol]
 
[http://www.comunalia.com/bcar/ buy carisoprodol]
 
[http://www.comunalia.com/bhyd/ buy hydrocodone]
 
[http://www.comunalia.com/amb/ ambien]
 
[http://www.comunalia.com/adi/ adipex]
 
[http://www.comunalia.com/xan/ xanax]
 
[http://www.comunalia.com/xen/ xenical]
 
[http://www.comunalia.com/cia/ cialis]
 
[http://www.comunalia.com/val/ valium]
 
[http://www.comunalia.com/tra/ tramadol]
 
[http://www.yy2.com/bamb buy ambien]
 
[http://www.yy2.com/badi adipex]
 
[http://www.blogomonster.com/xan/ xanax]
 
[http://www.comunalia.com/cari/ carisoprodol]
 
[http://www.comunalia.com/hyd/ hydrocodone]
 
[http://www.pagerealm.com/bamb/ buy ambien]
 
[http://www.pagerealm.com/badi/ buy adipex]
 
[http://www.pagerealm.com/bxan/ buy xanax]
 
[http://bamb.150m.com/ buy ambien]
 
[http://badip.150m.com/ buy adipex]
 
[http://bxan.150m.com/ buy xanax]
 
[http://bxen.150m.com/ buy xenical]
 
[http://bcia.150m.com/ buy cialis]
 
[http://bval.150m.com/ buy valium]
 
[http://btra.150m.com/ buy tramadol]
 
[http://bcar.150m.com/ buy carisoprodol]
 
[http://www.pagerealm.com/bxen/ buy xenical]
 
[http://www.pagerealm.com/bcia/ buy cialis]
 
[http://www.pagerealm.com/bval/ buy valium]
 
[http://www.pagerealm.com/btra/ buy tramadol]
 
[http://www.pagerealm.com/bcar/ buy carisoprodol]
 
[http://www.pagerealm.com/bhyd/ buy hydrocodone]
 
[http://www.pagerealm.com/bphe/ buy phentermine]
 
[http://www.pagerealm.com/bfio/ buy fioricet]
 
[http://www.pagerealm.com/ult/ ultram]
 
[http://www.oddworldz.com/bamb/ buy ambien]
 
[http://www.oddworldz.com/bphe/ buy phentermine]
 
[http://www.oddworldz.com/badi/ buy adipex]
 
[http://www.oddworldz.com/moil/ massage oil]
 
[http://www.pagerealm.com/bracel/ charm bracelets]
 
[http://www.pagerealm.com/showercur/ shower curtains]
 
[http://www.oddworldz.com/bxan/ buy xanax]
 
[http://www.oddworldz.com/bxen/ buy xenical]
 
[http://www.oddworldz.com/bcia/ buy cialis]
 
[http://www.oddworldz.com/bval/ buy valium]
 
[http://www.pagerealm.com/amb/ ambien]
 
[http://www.powow.com/amb/ ambien]
 
[http://bamb.inknoise.com/bamb buy ambien]
 
[http://badi.inknoise.com/badi buy adipex]
 
[http://bphe.inknoise.com/bphe buy phentermine]
 
[http://bxan.inknoise.com/bxan buy xanax]
 
[http://bxen.inknoise.com/bxen buy xenical]
 
[http://www.pagerealm.com/adi/ adipex]
 
[http://www.pagerealm.com/xan/ xanax]
 
[http://www.pagerealm.com/xen/ xenical]
 
[http://www.pagerealm.com/cia1/ cialis]
 
[http://www.oddworldz.com/btra/ buy tramadol]
 
[http://www.oddworldz.com/bcar/ buy carisoprodol]
 
[http://bcia.inknoise.com/bcia buy cialis]
 
[http://bval.inknoise.com/bval buy valium]
 
[http://ult.inknoise.com/ult ultram]
 
[http://btra.inknoise.com/btra buy tramadol]
 
[http://bcar.inknoise.com/bcar buy carisoprodol]
 
[http://bhyd.inknoise.com/bhyd buy hydrocodone]
 
[http://amb.inknoise.com/amb ambien]
 
[http://adi.inknoise.com/adi adipex]
 
[http://www.pagerealm.com/val/ valium]
 
[http://www.oddworldz.com/did/ didrex]
 
[http://xan.inknoise.com/xan xanax]
 
[http://xen.inknoise.com/xen xenical]
 
[http://cia.inknoise.com/cia cialis]
 
[http://www.oddworldz.com/prop/ propecia]
 
[http://www.pagerealm.com/tra/ tramadol]
 
[http://www.pagerealm.com/cari/ carisoprodol]
 
[http://val.inknoise.com/val valium]
 
[http://tra.inknoise.com/tra tramadol]
 
[http://cari.inknoise.com/cari carisoprodol]
 
[http://hyd.inknoise.com/hyd hydrocodone]
 
[http://phe.inknoise.com/phe phentermine]
 
[http://www.pagerealm.com/hyd/ hydrocodone]
 
[http://www.pagerealm.com/phe/ phentermine]
 
[http://waterhe.proboards67.com/ tankless water heaters]
 
[http://purai.proboards55.com/ air purifiers]
 
[http://lamflo.proboards61.com/ laminate flooring]
 
[http://bloggercrab.com/blogs/bamb/ buy ambien]
 
[http://bloggercrab.com/blogs/badi/ buy adipex]
 
[http://bloggercrab.com/blogs/bxan/ buy xanax]
 
[http://blog.investing.com/amb/ ambien]
 
[http://bloggercrab.com/blogs/bxen/ buy xenical]
 
[http://bloggercrab.com/blogs/bcia/ buy cialis]
 
[http://bloggercrab.com/blogs/bval/ buy valium]
 
[http://bloggercrab.com/blogs/btra/ buy tramadol]
 
[http://bloggercrab.com/blogs/bphe/ buy phentermine]
 
[http://blog.investing.com/adi/ adipex]
 
[http://blog.investing.com/xan/ xanax]
 
[http://blog.investing.com/xen/ xenical]
 
[http://blog.investing.com/cia/ cialis]
 
[http://blog.investing.com/val/ valium]
 
[http://blog.investing.com/tra/ tramadol]
 
[http://bloggercrab.com/blogs/bcar/ buy carisoprodol]
 
[http://bloggercrab.com/blogs/bhyd/ buy hydrocodone]
 
[http://blog.investing.com/cari/ carisoprodol]
 
[http://blog.investing.com/hyd/ hydrocodone]
 
[http://blog.investing.com/phe/ phentermine]
 
</div>
 

Latest revision as of 23:12, 18 March 2006

How this works[edit]

Created mysql table[edit]

CREATE TABLE `fnord` (
  `id` int(11) NOT NULL auto_increment,
  `text` varchar(255) default NULL,
  PRIMARY KEY  (`id`)
) TYPE=MyISAM;

Made fnord.sql import file[edit]

Using UltraEdit Macros i added insert into fnord.fnord (text) values (" to the start and "); to the end of every line from this file.

Imported into wikidb.fnord[edit]

mysql -u root -p wikidb < fnord.sql

Made Fnord Mediawiki extension[edit]

<?php
#  Fnord Mediawiki extension
# display random fnord definitions in wiki pages using a <fnord> tag
# inside a {{Template:Fnord}}
# input can be used for LIMITing the mysql random select (later)
# by mutante 17.04.2005

$wgExtensionFunctions[] = "wfFnordExtension";

function wfFnordExtension() {
global $wgParser;
$wgParser->setHook( "fnord", "renderFnord" );
}

function renderFnord( $input ) {

$input = mysql_escape_string($input);

# check if input is integer else set to 1
if (is_int($input)){
$limit = $input;
} else {
$limit = 1;
}

$hd = mysql_connect("localhost", "wikiuser", "PASSWORD") or die ("Unable to connect");
mysql_select_db ("wikidb", $hd) or die ("Unable to select database");
$res = mysql_query("SELECT * from fnord ORDER BY rand() LIMIT 0,$limit", $hd) or die ("Unable to run query");
while ($row = mysql_fetch_assoc($res))
{
$id = $row["id"];
$fnord = $row["text"];
}
$output = " $fnord ((K)fnord_id #$id))";

return $output;

}

?>

put this into /var/www/wiki/extensions/ as FnordExtension.php

Included extension in LocalSettings[edit]

Added include("extensions/FnordExtension.php"); to the end of /var/www/wiki/LocalSettings.php


Result - Random Fnords[edit]

<fnord> =

<fnord>

</fnord>

Cookies help us deliver our services. By using our services, you agree to our use of cookies.