Last modified: 2012-08-20 22:16:13 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 T41514, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39514 - Many chained calls in Skins to $this->msg() which doesn't return a value
Many chained calls in Skins to $this->msg() which doesn't return a value
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.20.x
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 39515
  Show dependency treegraph
 
Reported: 2012-08-20 21:57 UTC by Sam Reed (reedy)
Modified: 2012-08-20 22:16 UTC (History)
0 users

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


Attachments

Description Sam Reed (reedy) 2012-08-20 21:57:28 UTC
Caused by https://gerrit.wikimedia.org/r/#/c/16464/

Fatal error:  Call to a member function text() on a non-object in /usr/local/apache/common-local/php-1.20wmf10/skins/CologneBlue.php on line 87


	function msg( $str ) {
		echo $this->getMsg( $str )->escaped();
	}

	function msgHtml( $str ) {
		echo $this->getMsg( $str )->text();
	}

	function msgWiki( $str ) {
		echo $this->getMsg( $str )->parseAsBlock();
	}


110 usages of $this->msg(), many of which then chain something onto it...
Comment 1 Sam Reed (reedy) 2012-08-20 22:16:08 UTC
Trunk in https://gerrit.wikimedia.org/r/#/c/20825/

wmf10 in https://gerrit.wikimedia.org/r/#/c/20826/

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


Navigation
Links