Last modified: 2007-09-25 07:28:02 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 T13237, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11237 - smwfLoadAllMessages has unnecessary argument.
smwfLoadAllMessages has unnecessary argument.
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All Linux
: Normal trivial with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-08 15:24 UTC by Purodha Blissenbach
Modified: 2007-09-25 07:28 UTC (History)
2 users (show)

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


Attachments

Description Purodha Blissenbach 2007-09-08 15:24:08 UTC
Function smwfLoadAllMessages has an unnecessary argument
causing a php warning when the function is called.
Here is the resulting html source:

<br />
<b>Warning</b>:  Missing argument 1 for smwfLoadAllMessages() in 

<b>/.../extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php</b> on line 

<b>348</b><br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
...

The argument is not used within the function.
Suggested solutions:
1. delete it, or
2. give it a sensitive default value.

This version of SMW was freshly checked out from svn.

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


Navigation
Links