https://bugzilla.wikimedia.org/show_bug.cgi?id=29908

--- Comment #11 from Bartosz DziewoƄski <[email protected]> ---
The patch has been reverted, back to drawing board.

We need a way to let extensions decide whether the toolbar should be displayed
on pages they manage. It seems there are two competing solutions pending:

(Quoting Helder from bug 69447 comment 21)
> 1) Create a function shouldShowToolbar which returns true if the content
> model is wikitext (extensions would subclass EditPage I think):
> https://gerrit.wikimedia.org/r/#/c/157054/1/includes/EditPage.php,unified
> 
> 2) Create a hook to allow extensions to redefined the value of the variable
> $showToolbar:
> https://gerrit.wikimedia.org/r/#/c/120357/6/includes/EditPage.php,unified

I can help review and merge, but don't ask me to decide which makes more sense
:)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to