Toolbar: Only show on WikiText pages
authorDerk-Jan Hartman <hartman.wiki@gmail.com>
Sun, 22 Jun 2014 14:04:22 +0000 (16:04 +0200)
committerDerk-Jan Hartman <hartman.wiki@gmail.com>
Sun, 22 Jun 2014 20:15:38 +0000 (22:15 +0200)
commit7263ef1e002786b27fa06db43aa7a6fca00461fb
tree10a17449fd9829e58ffb9317e12fdac5b2663062
parent3fd9ff66f5718de594e567fd55285740e84faf9e
Toolbar: Only show on WikiText pages

The toolbar is highly specific to Wikitext anyway. It was already not
added to JS and CSS subpages, but still visible on site css/js pages
and on Lua pages. This was inconsistent.

Ideally at some point, we might want a 'toolbar api' where you can
configure a 'toolbar' per content model, but let's first make it
consistent and then iterate from there when required.

Bug: 29908
Change-Id: If0853e9faf640f93b7030c4937137149d3f08cf5
includes/EditPage.php