What is this "controller" in MediaWiki
context? Do you have any example of
how this would work?
For instance, you could call the `::execute()` method on a class that
extends SpecialPage directly. It might be helpful to know what you are
trying to do though.
Basically what Gergo said. :)
On Wed, Oct 2, 2019 at 11:33 PM Jeroen De Dauw <jeroendedauw(a)gmail.com>
wrote:
> Hey,
>
> Your best bet might be making actual web requests. You can use Selenium
> > from PHPUnit, ...
> >
>
> Is there an example of a test doing either of those?
>
> The web request case is apparently not as simple as stuffing
> Title::newFromText()->getCannonicalUrl() into Http::get() and I'd rather
> not be making an abstraction for this myself as it requires a bunch of MW
> knowledge I do not have.
>
> Therefore, you must call the "controller" directly from your test.
> >
>
What is this "controller" in MediaWiki
context? Do you have any example of
how this would work?
>
> Cheers
>
> --
> Jeroen De Dauw |
www.EntropyWins.wtf <https://EntropyWins.wtf> |
>
www.Professional.Wiki <https://Professional.Wiki>
> Entrepreneur | Software Crafter | Speaker | Open Souce and Wikimedia
> contributor
> ~=[,,_,,]:3
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l(a)lists.wikimedia.org
>
https://lists.wikimedia.org/mailman/listinfo/wikitech-l