I have a question, I'm trying to dock the outliner panel in Maya; most of the syntax I find online mention; outlinerWindow, but the docs only mention outlinerEditor & outlinerPanel which do I use when it comes to docking a panel ?
Please don't direct me to a page with code for any MEL or Python questions I have now or in the future. I want to learn RAW it may be frustrating, but it's the method I prefer.

Replies
I know you want to learn it raw, the examples at the bottom of this one are... kind of minimal (lol), so no worries about spoiling yourself.
By the way, you just have to give the name of the command in bold, I have some local docs I prefer to use, instead, as I said, I want to keep things RAW
try dockControl
dockControl, docks the outliner, yes, not as the official outliner is there not another command for docking torn away windows ?
global proc dev_outlinerMenuItem(){ global string $gMainWindowMenu; string $mayaWindowMenu[] = `menu -q -ia $gMainWindowMenu`; int $i = 0; while ($i < `size $mayaWindowMenu`){ string $target = "MayaWindow|" + $gMainWindowMenu + "|" + $mayaWindowMenu[$i]; if (`menuItem -q -l $target` == "Outliner") menuItem -e -c "dev_dockOutliner" $target; $i++; } } global proc dev_dockOutliner(){ if (!`window -q -exists dev_outlinerDockWindow`){ window -widthHeight 300 1000 -t "" dev_outlinerDockWindow; frameLayout -parent dev_outlinerDockWindow -mh 0 -mw 0 -bv on -lv off dev_outlinerDockFrame; } if (!`dockControl -q -ex dev_outlinerDockControl`){ dockControl -label "Outliner" -area right -allowedArea "right" -width 300 -content dev_outlinerDockWindow dev_outlinerDockControl; } else { dockControl -e -vis 1 dev_outlinerDockControl; } if (!`outlinerPanel -q -exists dev_dockedOutliner`){ outlinerPanel -parent "dev_outlinerDockFrame" dev_dockedOutliner; } else { panel -e -parent "dev_outlinerDockFrame" dev_dockedOutliner; } global int $dev_dockedOutlinerFix; if (!$dev_dockedOutlinerFix){ $dev_dockedOutlinerFix = 1; scriptJob -cu true -pro -e "PostSceneRead" "dev_dockOutliner"; scriptJob -cu true -pro -e "NewSceneOpened" "dev_dockOutliner"; } } dev_dockOutliner;You are welcome!Why does MEL require the use of ticks for some things ?
It docked an outliner, but not the vanilla outliner ?
?