Page MenuHomePhabricator

not all editing icons always applicable
Closed, InvalidPublic

Description

Let's look at some of what that row of buttons on top of the edit
window inserts:
1.[[File:Example.jpg]]
2.[[Media:Example.ogg]]
3.<math>Insert formula here</math>
4.--~~~~

Perhaps 1 and 2 should not be available, or "greyed out" unless
$wgEnableUploads=true (but there still might be images on the site,
however). Perhaps 4 should only appear if this is a Talk page, (but
that is too Wikipedia specific.) Maybe 3 also needs to be sensitive to
some variable but I didn't check.


Version: 1.16.x
Severity: enhancement

Details

Reference
bz19848

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:38 PM
bzimport set Reference to bz19848.

Edit toolbar stuff -- putting this in Trevor's camp.

(In reply to comment #0)

Let's look at some of what that row of buttons on top of the edit
window inserts:
1.[[File:Example.jpg]]
2.[[Media:Example.ogg]]
3.<math>Insert formula here</math>
4.--~~~~

Perhaps 1 and 2 should not be available, or "greyed out" unless
$wgEnableUploads=true (but there still might be images on the site,
however).

Or an external repository could be configured. I think wikis not using any images anywhere ever are quite rare.

Perhaps 4 should only appear if this is a Talk page, (but
that is too Wikipedia specific.)

It's already hidden on main namespace pages, but still shown on pages in other namespaces, even non-talk ones (this is on purpose).

Maybe 3 also needs to be sensitive to
some variable but I didn't check.

Yes, that makes sense.

(In reply to comment #0)

3.<math>Insert formula here</math>

(...)

Maybe 3 also needs to be sensitive to some variable but I didn't check.

Solved by bug 60471?

Jdforrester-WMF subscribed.

The 2006 wikitext editor, to which this refers, has been removed from MediaWiki and Wikimedia servers, and so this task is no longer valid.