Last modified: 2006-09-11 12:23:33 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 7064 - Replace hard-coded empty message checks with wfEmptyMsg
Replace hard-coded empty message checks with wfEmptyMsg
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal trivial with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
  Show dependency treegraph
Reported: 2006-08-18 22:32 UTC by Dan Li
Modified: 2006-09-11 12:23 UTC (History)
0 users

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

patch for r16128 to have SkinTemplate use wfEmptyMsg (845 bytes, patch)
2006-08-18 22:33 UTC, Dan Li
patch (3.85 KB, patch)
2006-09-10 17:38 UTC, Dan Li

Description Dan Li 2006-08-18 22:32:20 UTC
SkinTemplate checks for empty messages using <[msg]> instead of wfEmptyMsg.

Not a big deal, but who knows, wfMsg might start returning some other default
message in the future.
Comment 1 Dan Li 2006-08-18 22:33:21 UTC
Created attachment 2248 [details]
patch for r16128 to have SkinTemplate use wfEmptyMsg
Comment 2 Rob Church 2006-08-18 22:34:05 UTC
A lot of code does this; SkinTemplate.php is not unique in this respect.
Comment 3 Dan Li 2006-08-18 22:36:58 UTC
I just happened to see that, looking over SkinTemplate.php. Is there any attempt
to correct this kind of hard-coding in other places?
Comment 4 Dan Li 2006-09-10 17:38:08 UTC
Created attachment 2339 [details]

I think I found them all...
Comment 5 Brion Vibber 2006-09-11 12:23:33 UTC
Committed on trunk in r16475

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