Last modified: 2014-01-22 02:41:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62319, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60319 - Create an OutputPage::removeMeta (or subtractMeta) function
Create an OutputPage::removeMeta (or subtractMeta) function
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.23.0
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-22 02:41 UTC by Nathan Larson
Modified: 2014-01-22 02:41 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nathan Larson 2014-01-22 02:41:31 UTC
[[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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links