mediawiki-extensions-Visual.../includes
Umherirrender c9a3bf9fa5 Use DerivativeContext in ApiVisualEditorEdit
Using DerivativeContext also makes the code easier to read.
getContext() returns an IContextSource, in this interface has no
setRequest() method and this can fail for some kinds of IContextSource.
$view is a ContextSource, which implements setContext().
This also allows us pass in a new context with the right request object,
and also to set the title so we don't have different titles
on $view and the main context.

Change-Id: Ia575cd6163defeb423a542e342034cac5eb6108c
2019-03-04 18:36:47 +00:00
..
ApiVisualEditor.php Improve param docs 2019-01-26 14:50:22 +01:00
ApiVisualEditorEdit.php Use DerivativeContext in ApiVisualEditorEdit 2019-03-04 18:36:47 +00:00
SpecialCollabPad.php doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
VisualEditorDataModule.php Improve param docs 2019-01-26 14:50:22 +01:00
VisualEditorDesktopArticleTargetInitModule.php doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
VisualEditorHooks.php Use RecentChange::getAttribute instead of property access 2019-01-11 20:35:48 +01:00