Last modified: 2006-08-21 04:50:16 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 T9080, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7080 - PHP notice with error_reporting(E_ALL) on bad input to {{padleft}} / {{padright}}
PHP notice with error_reporting(E_ALL) on bad input to {{padleft}} / {{padrig...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.8.x
All All
: Normal minor (vote)
: ---
Assigned To: Rob Church
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-21 03:11 UTC by Nick Jenkins
Modified: 2006-08-21 04:50 UTC (History)
1 user (show)

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


Attachments

Description Nick Jenkins 2006-08-21 03:11:39 UTC
small thing with the padleft/padright stuff - this wiki text:
===============
{{padright:}}
{{padleft:}}
===============

Gives this on a wiki with error_reporting(E_ALL) enabled:
===============
<b>Warning</b>:  Missing argument 3 for CoreParserFunctions::padright() in
<b>/var/www/hosts/mediawiki/phase3/
includes/CoreParserFunctions.php</b> on line <b>154</b><br />
<br />
<b>Notice</b>:  Undefined variable: length in
<b>/var/www/hosts/mediawiki/phase3/includes/CoreParserFunctions.
php</b> on line <b>155</b><br />
===============
Comment 1 Rob Church 2006-08-21 03:25:55 UTC
Fixed in SVN trunk, r16149.
Comment 2 Nick Jenkins 2006-08-21 04:50:16 UTC
Thank you!

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


Navigation
Links