dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c65ccea
)
@private is a lie, based on usage, it'd need to be at least protected
author
Sam Reed
<reedy@users.mediawiki.org>
Mon, 19 Dec 2011 01:07:30 +0000
(
01:07
+0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Mon, 19 Dec 2011 01:07:30 +0000
(
01:07
+0000)
Removing useless documentation replacing with param/return doc
includes/context/RequestContext.php
patch
|
blob
|
history
diff --git
a/includes/context/RequestContext.php
b/includes/context/RequestContext.php
index
8c85605
..
c57399d
100644
(file)
--- a/
includes/context/RequestContext.php
+++ b/
includes/context/RequestContext.php
@@
-146,7
+146,8
@@
class RequestContext implements IContextSource {
/**
* Accepts a language code and ensures it's sane. Outputs a cleaned up language
* code and replaces with $wgLanguageCode if not sane.
- * @private
+ * @param $code string
+ * @return string
*/
static function sanitizeLangCode( $code ) {
global $wgLanguageCode;