Extension talk:Preloader/Archive

Assign and Define $wgExtraNamespaces
Note that while MediaWiki will recognize content namespaces you create on the fly, if want to preload these, in addition to the instructions on the previous page, you need to assign and define them, probably in LocalSettings.php:

. E.g., if you have a "Glossary:" namespace: $wgExtraNamespaces = array(         # ExtraNamespaces should begin above 100          #  ... they are usually for translating standard namespaces, e.g. into German:          # 100 => "Hilfe",          # 101 => "Hilfe_Diskussion",          130 => "Glossary"          );

define('NS_GLOSSARY', 130); Now you can set, e.g.

$wgPreloaderSource[ NS_GLOSSARY ] = 'Template:Preloadglossary';

- so there is no way to do this with older versions as 1.5 ?

Preloader for Image/Media Upload
I was just testing the Preloader and it worked fine for an article in the NS_MAIN namespace. For NS_IMAGE it does not work. Is a function like Preloader for Upload articles available? --HermannSchmitz 19:32, 14 May 2007 (UTC)

Boiler Plate per Article Title --Dtsig 21:07, 14 May 2007 (UTC)
Would it be possible to modify this to load the text according to the Article Title? We have defined some text for titles which would then trigger the correct text. What is the variable which would hold the title name? THanks

Found PagesOnDemand --Dtsig 21:20, 14 May 2007 (UTC)
I had thought that i had reviewed all of the extensions but they keep coming. PagesOnDemand appear to do exactly what i was requesting .. thanks .. DSig

Different results
I had created a template page with the content like followed:  ~ ~ ~  Then, When I created a new page preloaded with the template without installing the preloader, the above would become   in the new page. If I had installed the Preloader, the result would become different. The texts  ~ ~ ~   in the template would become no any change when they were preloaded in a new page. Could it passable to have tags like followed: Only the texts plased here will be preloaded. or I can still use tags. Thanks! --Roc michael 01:28, 28 July 2007 (UTC)