Page MenuHomePhabricator

Add autocompletion to CodeMirror extension
Open, LowPublic

Description

List of all Magic words already loaded and used for highlighting.
It also can be used for auto completion.

Autocompletion also can be used for page names and Template data.

Event Timeline

Pastakhov raised the priority of this task from to Low.
Pastakhov updated the task description. (Show Details)
Pastakhov added a subscriber: Pastakhov.

Hi Pastakhov,

I asked some users of our wiki. One was really interested. Myself is thinking that this feature is not needed as most wikis do have a set of templates which seldom get changed. Maybe this might useful for some hackers doing mostly template changes. Maybe when adding this feature then add also an option in the user preferences so users can disable (or enable, depend on the default) the autocompletion. ;-)

Regards,

Dennis

For link auto-completion, it could use something similar to Extension:LinkSuggest

There’s also a fairly simple gadget in Hebrew Wikipedia that does this for pages and templates. Code.

I'd like to see this. We use CodeMirror (and LinkSuggest), but the latter doesn't work with CodeMirror.

MediaWiki-extensions-CodeMirror is incompatible with MediaWiki-extensions-LinkSuggest.

Should that be a separate bug report? This feature request in this ticket might have a wider scope than fixing the MediaWiki-extensions-LinkSuggest incompatibility.

There’s also a fairly simple gadget in Hebrew Wikipedia that does this for pages and templates. Code.

Compatible with MediaWiki-extensions-CodeMirror?

If there is specific info why things are incompatible, a separate ticket is welcome indeed. See https://www.mediawiki.org/wiki/How_to_report_a_bug - thanks!