Last modified: 2007-09-25 07:28:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11237 - smwfLoadAllMessages has unnecessary argument.
smwfLoadAllMessages has unnecessary argument.
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
All Linux
: Normal trivial with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---


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" 

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.