Talk:MediaWiki in Depth/classnotes
http://training-course-material.com/training/MediaWiki_in_Depth
Developer
extentsions
backups
cataloging
organizing
security
keep people from seeing certain pages
command line
bots
debian based
apache/mysql/php5.4
password is pass
php based languange that runs mediawiki
sudo aptitude install apache2 libapache2-mod-php5 php5-mysql mysql-server mysql-client
localhost # to test if php is seen
/var/www apache2 created this, home directory of web server
localhost/mw
costumes.org
wikidb is the database name L: wikiuser P: samplePassword
wiki credentials
L: dave
P: davepass
extention: visualeditor
localsettings.php main config file, browser helps generate it, but you can manually edit it later
interwiki
seperate instacces of wiki, linked together
private wiki, public wiki,
by itself, mediawiki isn't good on permissions, use interwiki to make things more secure.
Namespace, for permissions
500 php files make up mediawiki
localsettings file gets read each time a user does anything in wiki, (not a one time read by the mediawiki app itself, but users
important directories
../extentions/ ../skins / /var/www/mw
user@debian:/var/www/mw$ lr ext* total 4 -rw-rw-r-- 1 997 1001 1178 Aug 27 21:44 README drwxr-xr-x 3 997 1001 180 Aug 27 21:44 PdfHandler drwxr-xr-x 3 997 1001 160 Aug 27 21:44 Poem drwxr-xr-x 3 997 1001 280 Aug 27 21:44 Nuke drwxr-xr-x 5 997 1001 620 Aug 27 21:44 ConfirmEdit drwxr-xr-x 4 997 1001 200 Aug 27 21:44 SyntaxHighlight_GeSHi drwxr-xr-x 3 997 1001 240 Aug 27 21:44 ParserFunctions drwxr-xr-x 4 997 1001 260 Aug 27 21:44 SpamBlacklist drwxr-xr-x 4 997 1001 200 Aug 27 21:45 WikiEditor drwxr-xr-x 3 997 1001 280 Aug 27 21:45 Gadgets drwxr-xr-x 5 997 1001 240 Aug 27 21:45 TitleBlacklist drwxr-xr-x 6 997 1001 280 Aug 27 21:45 LocalisationUpdate drwxr-xr-x 3 997 1001 180 Aug 27 21:45 Interwiki drwxr-xr-x 3 997 1001 140 Aug 27 21:45 InputBox drwxr-xr-x 4 997 1001 260 Aug 27 21:45 Cite drwxr-xr-x 3 997 1001 180 Aug 27 21:45 ImageMap drwxrwxr-x 18 997 1001 380 Aug 27 21:45 . drwxr-xr-x 4 997 1001 340 Aug 27 21:45 Renameuser drwxr-xr-x 13 997 1001 840 Aug 29 10:39 ..
how to tell what extentions are loaded
http://localhost/mw/index.php/Special:Version
easier to NOT do a export import of your old wiki intoyour new wiki
do upgrades, maybe a version to jump to first, then get to your final version
backups
images and DB
images are in the images directory
../maintenance
helper scripts for mediawiki, run from command line
defaultsettings.php loads first, every single setting is listed here, where it
then localsettings gets loaded
localsettings.php,
colon pages: how to find them
850 extentions
serious search, good extention
usage stats
bots
auto block Ips
sustain wiki automatically
enforcement
mediawiki has api
special pages
api
python wiki bo
framework for manking your own bot link checker?
templates
link checker
table of contents
if you use headers, tOC automatically created
rendering parser
teawiki better for bold and italics
github. Markdown files.
Indentation; colon
talk pages
magic words
current date
currnet
double bracket internal link pagename single bracket external link
name space
main page talk user file template
transcluded template link
http://www.w3schools.com/css/css_margin.asp
patroling
watching
lets you review someone you don't know, making edits
mass move of pages
id pages that havn't been updated in ## time?
List abonded pages
move a bunch a files
add a category to 300 pages
can you have numerous categories for a page?
Top 10 admin tasks
redirects
images files, only can upload images
monitor mediawiki processes
log files, rotate apache. Error
special pages http://localhost/mw/index.php/MediaWiki:Sidebar
- navigation
- mainpage|mainpage-description
- recentchanges-url|recentchanges
- randompage-url|randompage
- helppage|help
- link|mylink
- SEARCH
- TOOLBOX
- LANGUAGES
dave
sql enter into db name show tables; use wikidb