Steps to replicate the issue (include links if applicable):
- Open an unreviewed page so the Page Curation toolbar (page triage) appears.
- Use a user script that listens to the wikipage.content hook.
- Click the "Info" (i) button in the toolbar to load the article information and history.
What happens?:
The page information content is dynamically added into the .mwe-pt-tool-content container, but the wikipage.content hook is not fired. Any script or gadget relying on that hook to process new links or content is unable to detect the update. This prevents scripts and gadgets that perform functions such as highlighting blocked users, adding content previews, etc. from working within the Page Curation toolbar.
What should have happened instead?:
The extension should call mw.hook('wikipage.content').run($content) when new content is added to the DOM.
That applies to all content additions by the Page Curation toolbar, not just the "Info" button.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
English Wikipedia
Other information (browser name/version, screenshots, etc.):
When the "Info" button is clicked, this:
<div class="mwe-pt-tool-content"> <!-- content goes here --> </div>
is updated to something like this:
<div class="mwe-pt-tool-content"><!-- basic article information --> <div class="mwe-pt-info-basic"> <!-- status icon --> <div class="mwe-pt-info-status-icon"> <img src="/w/extensions/PageTriage/modules/ext.pageTriage.toolbar/images/pageInfo/icon_reviewed.png" width="21" height="21" title="This page has been reviewed."> </div> <!-- page status --> <div class="mwe-pt-info-page-status"> <p>Marked as reviewed on 19 April 2026 by <a href="//en.wikipedia.org/wiki/User:CostalCal" class="">CostalCal</a> (<a href="//en.wikipedia.org/wiki/User_talk:CostalCal" class="">talk</a> | <a href="//en.wikipedia.org/wiki/Special:Contributions/CostalCal" class="">contribs</a>)</p> <!-- talk page comments exist --> </div> <!-- author info --> <span class="mwe-pt-author"> This page was created on 19 April 2026 by <a href="//en.wikipedia.org/wiki/User:CoryGlee" class="">CoryGlee</a> (<a href="//en.wikipedia.org/wiki/User_talk:CoryGlee" class="">talk</a> | <a href="//en.wikipedia.org/wiki/Special:Contributions/CoryGlee" class="">contribs</a>) <div> <!-- if user is registered (user_id is 0 for IP users) --> 14624 edits since 10 July 2019 </div> </span> <div class="mew-pt-info-stat"> Stats: 7580 bytes · 2 edits · 10 categories </div> </div> <br> <!-- possible problems section --> <!-- history section --> <div class="mwe-pt-info-header"> History <span class="mwe-pt-info-header-details"> 2 edits · <a href="https://en.wikipedia.org/w/index.php?title=2026_state_visit_by_Javier_Milei_to_Israel&action=history">show full history</a> · <a href="https://en.wikipedia.org/w/index.php?title=Special:Log&page=2026_state_visit_by_Javier_Milei_to_Israel">show logs</a> </span> </div> <div class="mwe-pt-info-content" id="mwe-pt-info-history-container"><div id="mwe-pt-info-history"><span class="mwe-pt-info-history-date"> 19 April 2026 </span> <li class="mwe-pt-info-history-entry"> <!-- TODO(sohom): This section seems to not be in line with what is shown in MediaWiki history, we should clean this up and have it reflect the styles used in the MediaWiki history page --> <a href="/w/index.php?title=2026_state_visit_by_Javier_Milei_to_Israel&oldid=1349970605">18:24</a> · <a href="/wiki/User:CoryGlee">CoryGlee</a> </li> <span class="mwe-pt-info-history-date"> </span> <li class="mwe-pt-info-history-entry"> <!-- TODO(sohom): This section seems to not be in line with what is shown in MediaWiki history, we should clean this up and have it reflect the styles used in the MediaWiki history page --> <a href="/w/index.php?title=2026_state_visit_by_Javier_Milei_to_Israel&oldid=1349970512">18:24</a> · <a href="/wiki/User:CoryGlee">CoryGlee</a> · creating // I will ad pictures and stylize dates when it is over </li> </div></div> </div>
without the wikipage.content hook firing.