Michael added a comment.

  This is actually the case and apparently this is intentional?
  
    
                        if ( this._cache.term === term ) {
                                return hookResults; // Don't fire hook when 
paginating
                        }
  
  from 
https://github.com/wikimedia/Wikibase/blob/6ac4b05a5f804acb1c3452cdfe0306c1ac2027a1/view/resources/jquery/wikibase/jquery.wikibase.entityselector.js#L348-L350
  
  This code was added in Introduce entity suggestions hook (I88ab3709) 
<https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/446775> for 
T199672 <https://phabricator.wikimedia.org/T199672>. Though in neither I can 
find a discussion for _why_ the hook doesn't fire for pagination.

TASK DETAIL
  https://phabricator.wikimedia.org/T321180

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: Lydia_Pintscher, Michael, ItamarWMDE, Naseweis520, Nikki, Aklapper, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to