r106619 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r106618
|
r106619
|
r106620
>
Date:
01:07, 19 December 2011
Author:
reedy
Status:
resolved (
Comments
)
Tags:
Comment:
@private is a lie, based on usage, it'd need to be at least protected
Removing useless documentation replacing with param/return doc
Modified paths:
/trunk/phase3/includes/context/RequestContext.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/context/RequestContext.php
—
—
@@ -146,7 +146,8 @@
147
147
/**
148
148
* Accepts a language code and ensures it's sane. Outputs a cleaned up language
149
149
* code and replaces with $wgLanguageCode if not sane.
150
- * @private
150
+ * @param $code string
151
+ * @return string
151
152
*/
152
153
static function sanitizeLangCode( $code ) {
153
154
global $wgLanguageCode;
Follow-up revisions
Revision
Commit summary
Author
Date
r106672
Followup
r106619
, mark said method public due to callers
reedy
19:07, 19 December 2011
Comments
#
Comment by
😂
(
talk
|
contribs
)
15:59, 19 December 2011
If you're going to remove a fake visibility, add a real one.
Status & tagging log
20:06, 20 December 2011
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r106619
[
removed:
new
added:
resolved]
19:07, 19 December 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r106619
[
removed:
fixme
added:
new]
18:59, 19 December 2011
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r106619
[
removed:
new
added:
fixme]