Difference between revisions of "User:Austin J. Che/Extensions/UserDefaultPage"

From OpenWetWare
Jump to: navigation, search
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
==UserDefaultPage==
 
==UserDefaultPage==
  
This extension uses [[../PreferencesExtension]] to add one option to the user preferences under the Misc tab. The "Default main page" allows the user to enter a page title to be used as the default page. Normally, when the wiki url is entered without any specific page entered, the url redirects automatically to [[Main_Page]]. By entering a value for this preference, the user will instead be redirected to the given page.
+
This extension uses [[../PreferencesExtension/]] to add one option to the user preferences under the Misc tab. The "Default main page" allows the user to enter a page title to be used as the default page. Normally, when the wiki url is entered without any specific page entered, the url redirects automatically to [[Main_Page]]. By entering a value for this preference, the user will instead be redirected to the given page.
 +
 
 +
==Source==
 +
<syntax type="php" file="http://austinche.name/mediawiki/UserDefaultPage.php.txt">http://austinche.name/mediawiki/UserDefaultPage.php.txt</syntax>
  
 
----
 
----
 
Send bugs and comments to [[Austin Che]]. Other extensions including  sources can be found at [[../]].
 
Send bugs and comments to [[Austin Che]]. Other extensions including  sources can be found at [[../]].
 +
 +
[[category:Extensions]]

Latest revision as of 08:01, 21 November 2007

UserDefaultPage

This extension uses PreferencesExtension to add one option to the user preferences under the Misc tab. The "Default main page" allows the user to enter a page title to be used as the default page. Normally, when the wiki url is entered without any specific page entered, the url redirects automatically to Main_Page. By entering a value for this preference, the user will instead be redirected to the given page.

Source

<syntax type="php" file="http://austinche.name/mediawiki/UserDefaultPage.php.txt">http://austinche.name/mediawiki/UserDefaultPage.php.txt</syntax>


Send bugs and comments to Austin Che. Other extensions including sources can be found at User:Austin J. Che/Extensions.