Last modified: 2006-05-25 01:18:35 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 5900 - ParserFunctions switch fails if leading whitespace
ParserFunctions switch fails if leading whitespace
Product: MediaWiki extensions
Classification: Unclassified
General/Unknown (Other open bugs)
PC Linux
: Normal normal with 1 vote (vote)
: ---
Assigned To: Greg Sabino Mullane
: patch-need-review
Depends on:
  Show dependency treegraph
Reported: 2006-05-10 20:09 UTC by Greg Sabino Mullane
Modified: 2006-05-25 01:18 UTC (History)
1 user (show)

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

Trim the value passed to switchHook (517 bytes, patch)
2006-05-10 20:11 UTC, Greg Sabino Mullane

Description Greg Sabino Mullane 2006-05-10 20:09:48 UTC
The switchHook function needs to trim both the value and the compared string.
Comment 1 Greg Sabino Mullane 2006-05-10 20:11:49 UTC
Created attachment 1708 [details]
Trim the value passed to switchHook

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