Last modified: 2013-10-30 11:30:10 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 T37449, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35449 - Robot policy set twice in Special:Watchlist class
Robot policy set twice in Special:Watchlist class
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Watchlist (Other open bugs)
1.19
All All
: Unprioritized trivial (vote)
: ---
Assigned To: Alexandre Emsenhuber [IAlex]
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-24 07:03 UTC by Bagariavivek
Modified: 2013-10-30 11:30 UTC (History)
2 users (show)

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


Attachments

Description Bagariavivek 2012-03-24 07:03:08 UTC
consider these two lines

1) $output->setRobotPolicy( 'noindex,nofollow' );
2) $this->setHeaders();

The first line is unnecessary because in the function setHeaders of SpecialPage .
The "noindex, nofollow" policy is already set.
Comment 1 Alexandre Emsenhuber [IAlex] 2012-03-24 07:25:01 UTC
Fixed in https://gerrit.wikimedia.org/r/3678 ; will be backported to 1.19 later.
Comment 2 Bagariavivek 2012-03-24 09:01:46 UTC
Thanks for the patch.

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


Navigation
Links