mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-15 03:34:03 +00:00
0d2d6d4c9b
The method itself has not much to do with gateways as such, it's more about the general preview type selection. Since the preview types "live" in the model, I thought it might good to move it there. Doing that the "original" getPreviewType method in the model was renamed to avoid conflicts. If I get this right, that method is quite specific to page previews, since it processes the output from the TextExtracts API- request. - Therefore I also removed the TYPE_REFERENCE there, because this code path will never be reached with that type afaik. Inspired by the comments in Id1fa7dad59d8fe80bc60c1e2d7c3fb4087e52d1f and as preparation for that patch. Bug: T215420 Change-Id: Ic9e24a73e945c7d56435c656ecfdb42b65601d22 |
||
---|---|---|
.. | ||
dist | ||
ext.popups | ||
ext.popups.images |