mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-09-24 10:50:07 +00:00
Tweak readMore.minerva to reflect upstream changes
As of I6a5b43a, WatchstarPageList requires that options.api be an instance of mw.Api and fails, loudly, when it isn't passed. Bug: T117467 Change-Id: I7394dea5ab026de1a6709c56d8db4ff72788b59d
This commit is contained in:
parent
697bd7dfec
commit
816003cb48
|
@ -36,7 +36,9 @@
|
|||
// logs the event, has a sensible default value for
|
||||
// MobileWebWatching.funnel, but it's overwritten
|
||||
// by WatchstarPageList.
|
||||
funnel: MOBILE_WEB_WATCHING_FUNNEL
|
||||
funnel: MOBILE_WEB_WATCHING_FUNNEL,
|
||||
|
||||
api: new mw.Api()
|
||||
} );
|
||||
|
||||
$readMore = $( '<aside class="ra-read-more post-content"></aside>' );
|
||||
|
|
Loading…
Reference in a new issue