Last modified: 2013-04-22 16:15:00 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 T42845, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40845 - InfoAction->pageInfo() accepts a title parameter, and then overwrites it
InfoAction->pageInfo() accepts a title parameter, and then overwrites it
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: design, easy
Depends on:
Blocks: 38450
  Show dependency treegraph
 
Reported: 2012-10-07 21:11 UTC by Sam Reed (reedy)
Modified: 2013-04-22 16:15 UTC (History)
3 users (show)

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


Attachments

Description Sam Reed (reedy) 2012-10-07 21:11:01 UTC
Remove the overwrite, or remove the parameter

	protected function pageInfo( $title ) {
		global $wgContLang, $wgDisableCounters, $wgRCMaxAge;

		$user = $this->getUser();
		$lang = $this->getLanguage();
		$title = $this->getTitle();
		$id = $title->getArticleID();
Comment 1 Alex Monk 2012-10-07 21:38:19 UTC
Gerrit change #27119
Comment 2 Madman 2012-10-07 23:08:34 UTC
Copy/paste fail. Good catch, Reedy. :)
Comment 3 MZMcBride 2012-10-25 06:25:11 UTC
This looks like it was merged by Reedy on October 11. Marking this as resolved.

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


Navigation
Links