Page MenuHomePhabricator

Create an OutputPage::removeMeta (or subtractMeta) function
Open, LowPublicFeature

Description

[[mw:Extension:AllowInternetArchiver]] allows the Internet Archiver to index all pages on the wiki (including history pages) when it's supposed to leave those out. The reason is that the OutputPageBeforeHTML hook is run at least twice, and on one of those runs, the action is empty even though it will later be "history". This causes <meta name="ia_archiver" content="index, follow" /> to be added to those history pages.

A workaround would be to remove the meta tag on the later run, but mMetatags is private (or at any rate "Should be private") so either now, or when it's fixed, there's (or there'll be) no way to do it without a function that has that capability.


Version: 1.23.0
Severity: enhancement

Details

Reference
bz60319

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:54 AM
bzimport set Reference to bz60319.
bzimport added a subscriber: Unknown Object (MLST).
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM
Aklapper removed a subscriber: leucosticte.