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:
511ae2a
)
Follow-up for r39935: re-fix bug 14651 by making the first letter uppercase if needed...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Mon, 25 Aug 2008 05:51:46 +0000
(
05:51
+0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Mon, 25 Aug 2008 05:51:46 +0000
(
05:51
+0000)
includes/api/ApiQueryBase.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryBase.php
b/includes/api/ApiQueryBase.php
index
b5ceb75
..
af71a56
100644
(file)
--- a/
includes/api/ApiQueryBase.php
+++ b/
includes/api/ApiQueryBase.php
@@
-324,6
+324,9
@@
abstract class ApiQueryBase extends ApiBase {
* @return string Page title with underscores
*/
public function titleToKey($title) {
+ global $wgContLang, $wgCapitalLinks;
+ if($wgCaptialLinks)
+ $title = $wgContLang->ucfirst($title);
return str_replace(' ', '_', $title);
}