Last modified: 2013-05-30 13:20:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49557, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47557 - VisualEditor: Clean up the way that VE must be configured per wiki
VisualEditor: Clean up the way that VE must be configured per wiki
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Technical Debt (Other open bugs)
unspecified
All All
: Low enhancement
: VE-deploy-2013-05-27
Assigned To: Roan Kattouw
:
Depends on:
Blocks: 48426
  Show dependency treegraph
 
Reported: 2013-04-23 15:44 UTC by James Forrester
Modified: 2013-05-30 13:20 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description James Forrester 2013-04-23 15:44:13 UTC
As suggested by Timo - currently we have 'wmgUseVisualEditor' and 'wmgVisualEditorParsoidPrefix' which both need to be defined for each wiki we're putting VE on, which is a bit annoying (and prone to mistakes) - when we have all 295 Wikipedias with it switched on, it will be even worse. We should probably clean this up a bit.
Comment 1 Roan Kattouw 2013-05-17 05:56:01 UTC
We could replace wgUseVisualEditor with a visualeditor.dblist file, and change the Parsoid prefixes to be equal to $wgDBname.
Comment 2 James Forrester 2013-05-17 06:05:41 UTC
(In reply to comment #1)
> We could replace wgUseVisualEditor with a visualeditor.dblist file, and
> change the Parsoid prefixes to be equal to $wgDBname.

That sounds like a start, but we're going to want to run some wikis in nothing (no preference to switch on - just not in the .dblist file?), some in alpha (opt-in, limited namespaces) and some in beta (default, all "content" even-numbered namespaces that won't break - e.g. MediaWiki:, Template:, Schema:, ? others). Would we want two .dblist files? And some magic juice to decide what namespaces were safe?
Comment 3 Gerrit Notification Bot 2013-05-18 16:56:45 UTC
Related URL: https://gerrit.wikimedia.org/r/64493 (Gerrit Change I621e98da3be4f787e294d97b350b92d217f43a00)
Comment 4 Krinkle 2013-05-21 14:07:58 UTC
(In reply to comment #1)
> We could replace wgUseVisualEditor with a visualeditor.dblist file, and
> change the Parsoid prefixes to be equal to $wgDBname.

$wgUseVisualEditor (or wmgUseVisualEditor) seems fine to me, not sure if a dblist would make things easier.

Getting rid of having to configure wmgVisualEditorParsoidPrefix for each wiki would be great (or at least setting it dynamically/automatically from CommonSettings.php).
Comment 5 James Forrester 2013-05-30 13:20:23 UTC
This is now done and live in production.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links