https://bugzilla.wikimedia.org/show_bug.cgi?id=60319
Web browser: ---
Bug ID: 60319
Summary: Create an OutputPage::removeMeta (or subtractMeta)
function
Product: MediaWiki
Version: 1.23-git
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: General/Unknown
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
[[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.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l