Indicate the default for magic words like FORCETOC, INDEX, and NEWSECTIONLINK
Open, NormalPublic1 Story Points


Current status: When you open Page Settings and Advanced Settings in the visual editor, there are several items witih three options: Always, Default, Never. Unless you happen to have previously learned what the default is for that namespace on that wiki, you have no idea whether the default is desirable.

Desired status: When you look at these, the default would be indicated. Either the label for "Default" should change to label it ("Always, Default (OFF), Never") or "Default" should go away and be replaced by the default being highlighted (reduing the options to two: "Always, Never").

Whatamidoing-WMF updated the task description. (Show Details)
Whatamidoing-WMF raised the priority of this task from to Needs Triage.
Whatamidoing-WMF added a project: VisualEditor.
Whatamidoing-WMF added a subscriber: Whatamidoing-WMF.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptDec 25 2015, 11:19 PM
Jdforrester-WMF triaged this task as Normal priority.Jan 19 2016, 8:09 PM
Jdforrester-WMF set Security to None.
Jdforrester-WMF edited a custom field.
Jdforrester-WMF added a subscriber: Jdforrester-WMF.

I like this idea.

Don't think we have one for FORCETOC?

Krenair added a comment.EditedJan 20 2016, 3:52 AM

Trying to guess defaults could get messy. E.g. Article::getRobotPolicy sets nofollow/noindex on user root pages who've been blocked (potentially via IP ranges, etc.).

And do you want to know what the FlaggedRevs extension does to robot policies?

Krenair added a comment.EditedJan 20 2016, 3:59 AM

NEWSECTIONLINK might be okay... SkinTemplate (okay, so this can be overridden by the skin, but in practice isn't) does this:

$showNewSection = !$out->forceHideNewSectionLink() && ( ( $isTalk && $this->isRevisionCurrent() ) || $out->showNewSectionLink() );

So all we'd need to know is whether it's in a talk namespace and is the current revision, I think. Should I try that?