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

From OpenWetWare
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


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>


----
----

Latest revision as of 09: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.