dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
[lhc/web/wiklou.git]
/
includes
/
SpecialDisambiguations.php
diff --git
a/includes/SpecialDisambiguations.php
b/includes/SpecialDisambiguations.php
index
6267dd2
..
3404566
100644
(file)
--- a/
includes/SpecialDisambiguations.php
+++ b/
includes/SpecialDisambiguations.php
@@
-1,10
+1,12
@@
<?php
/**
<?php
/**
- *
- * @package MediaWiki
- * @subpackage SpecialPage
+ * @file
+ * @ingroup SpecialPage
*/
*/
+/**
+ * @ingroup SpecialPage
+ */
class DisambiguationsPage extends PageQueryPage {
function getName() {
class DisambiguationsPage extends PageQueryPage {
function getName() {
@@
-16,12
+18,11
@@
class DisambiguationsPage extends PageQueryPage {
function getPageHeader( ) {
function getPageHeader( ) {
- global $wgOut;
- return $wgOut->parse( wfMsg( 'disambiguations-text' ) );
+ return wfMsgExt( 'disambiguations-text', array( 'parse' ) );
}
function getSQL() {
}
function getSQL() {
- $dbr =
&
wfGetDB( DB_SLAVE );
+ $dbr = wfGetDB( DB_SLAVE );
$dMsgText = wfMsgForContent('disambiguationspage');
$dMsgText = wfMsgForContent('disambiguationspage');
@@
-105,5
+106,3
@@
function wfSpecialDisambiguations() {
return $sd->doQuery( $offset, $limit );
}
return $sd->doQuery( $offset, $limit );
}
-
-?>
\ No newline at end of file