Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F32383799
parsoid config
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
brennen
Oct 13 2020, 10:02 PM
2020-10-13 22:02:34 (UTC+0)
Size
865 B
Referenced Files
None
Subscribers
None
parsoid config
View Options
# Extensions:
16:02:16 brennen@inertia:~/code/wmf/mediawiki/core (master=) ❀ ls extensions
README VisualEditor
# Here's what I have in LocalSettings.php
# Parsoid stuffs {{{
$PARSOID_INSTALL_DIR = 'vendor/wikimedia/parsoid';
if ( $PARSOID_INSTALL_DIR !== 'vendor/wikimedia/parsoid' ) {
AutoLoader::$psr4Namespaces += [
// Keep this in sync with the "autoload" clause in
// $PARSOID_INSTALL_DIR/composer.json
'Wikimedia\\Parsoid\\' => "$PARSOID_INSTALL_DIR/src",
];
}
wfLoadExtension( 'Parsoid', "$PARSOID_INSTALL_DIR/extension.json" );
# Manually configure Parsoid
$wgVisualEditorParsoidAutoConfig = false;
$wgParsoidSettings = [
'useSelser' => true,
'rtTestMode' => false,
'linting' => false,
];
$wgVirtualRestConfig['modules']['parsoid'] = [];
# }}}
wfLoadExtension( 'VisualEditor' );
wfLoadSkin( 'Vector' );
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8586504
Default Alt Text
parsoid config (865 B)
Attached To
Mode
P12981 parsoid config
Attached
Detach File
Event Timeline
Log In to Comment