General Disclaimer: (HV) (DC) injury or death hazard, use at your own risk, may void warranty. |
User:WikiAdmin
User Management
- Special:Userlogin - Follow "Create an account" link.
- Supply UserName, Full Name, and Email address, then click on "By email" link.
- Attempt to create the new users initial page, describing who they are.
- Special:Listusers - List of current users and their rights.
- Special:Userrights - Change users rights and permissions.
- User:WikiAdmin/Preferences - New user orientation page.
Namespace
- Namespace messages
- MediaWiki:Whitelistedittext
- MediaWiki:Loginprompt
- MediaWiki:Sidebar - The Main Menu on the left side of all pages.
- MediaWiki:Sitenotice - A place to put a notice which appears on all pages.
- MediaWiki:Anonnotice (will supersede Sitenotice for anonymous users, so don't use)
- MediaWiki:Sitetitle = My wiki
- MediaWiki:Pagetitle = $1 - My wiki
- MediaWiki:Spamprotectiontext
- MediaWiki:Common.js
- MediaWiki:Common.css
Special:Interwiki Management - Interwiki Help
Use http://www.eaa-phev.org/wiki/index.php?flushcache to flush this servers cache.
- E-mail templates
Search Enhancements
per [1] In includes/SpecialSearch.php there is a function showResults( $term ) which formats and outputs all the search results from a query, near the top add:
$wgOut->addHTML( wfMsg( 'Googlesearch', $term ) ); # add $wgOut->addWikiText( wfMsg( 'searchresulttext' ) );# above this
- MediaWiki:Googlesearch fix $3 and cleanup?
- MediaWiki:Nogomatch remove prompt to create page?
- MediaWiki:Searchresulttext cleanup/clear
In LocalSettings.php
# $wgDisableTextSearch = true; # $wgSearchForwardUrl = 'http://www.google.com/search?q=$1'; # $wgSearchForwardUrl = 'http://www.google.com/search?q=site%3Adigipen.edu+%22$1'; $wgNamespacesToBeSearchedDefault = array( -1 => 0, # Default setting 0 => 1, # Main 1 => 0, # Main talk 2 => 0, # User 3 => 0, # User talk 4 => 1, # SiteName 5 => 0, # SiteName talk 6 => 1, # Image 7 => 0, # Image talk 8 => 0, # MediaWiki 9 => 0, # MediaWiki talk 10 => 1, # Template 11 => 0, # Template talk 12 => 0, # Help 13 => 0, # Help talk 14 => 1, # Category 15 => 0); # Category talk
No longer used: Added to skins/DPSkin31.php at about line 407
// Begin New Portions to search more namespaces $s .= "<input type=\"hidden\" value=\"1\" name=\"ns0\">"; // Main //$s .= "<input type=\"hidden\" value=\"1\" name=\"ns1\">"; // Talk $s .= "<input type='hidden' name=\"searchx\" value=\"" . htmlspecialchars( wfMs( "Go" ) ) . "\" />";
Also change this
. "  <input type='submit' name=\"fulltext\" value=\"" . htmlspecialchars( wfMsg( "Go" ) ) . "\" /></form>";
To this
. "  <input type='submit' name=\"searchx\" value=\"" . htmlspecialchars( wfMsg( "Go" ) ) . "\" /></form>";
SVN and Trac Management
full notes at definity-systems.org
Etch Packages Subversion 1.1.4 and Trac 0.8.1
$ sudo apt-get install subversion subversion-tools ! libsvn-ruby1.8 + db4.2-util libconfig-inifiles-perl libneon24 libsvn0 + python2.3-subversion subversion subversion-tools $ sudo apt-get install trac enscript ! gv postscript-viewer lpr libapache2-mod-python !!python-egenix-mxdatetime python-setuptools + enscript libsqlite0 python-clearsilver python-sqlite + python2.3-clearsilver python2.3-sqlite trac $ sudo apt-get install python-mysqldb ! python-egenix-mxdatetime python2.3-egenix-mxdatetime + python-mysqldb python2.3-mysqldb $ sudo apt-get install libapache2-svn $ sudo apt-get install libapache2-mod-python + libapache2-mod-python libapache2-mod-python2.3 $ sudo apt-get install python-setuptools + python-setuptools python2.3-dev python2.3-setuptools $ sudo apt-get install python-clearsilver
Initializing projects
More subversion access examples here: http://www.andrewpangborn.com/blog/index.php?/archives/2-SVN-Administration-Fun.html
Manage user access to projects
$ sudo joe /var/www/svn/projects/authz
Manage permissions within trac
sudo trac-admin $tb/$p permission list
Initializing a svn repository & trac project:
p=test_team_one sb=/var/www/svn/projects tb=/var/www/trac/projects tt=/usr/share/trac/templates sudo svnadmin create "$sb/$p" --fs-type fsfs sudo chown -R www-data:www-data "$sb/$p" sudo trac-admin $tb/$p initenv $p $sb/$p $tt sudo chown -R www-data:www-data "$tb/$p" sudo trac-admin $tb/$p permission remove anonymous "TICKET_CREATE" "TICKET_MODIFY" "WIKI_CREATE" "WIKI_MODIFY" sudo trac-admin $tb/$p permission add authenticated TRAC_ADMIN echo edit $tb/$p/conf/trac.ini replacing http:\/\/trac.edgewall.com\/ with https:\/\/trac.eaa-phev.org\/projects\/$p echo edit $tb/$p/conf/trac.ini adding google urchin tracker to footer #sudo trac-admin $tb/$p initenv $p sqlite:db/trac.db svn $sb/$p $tt #v9+ #sed -i s/http:\/\/trac.edgewall.com\//https:\/\/trac.eaa-phev.org\/projects\/$p $tb/$p/conf/trac.ini
The latest documentation can also always be found on the project website: http://projects.edgewall.com/trac/