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:
81b3a1a
)
Fixed some doxygen warnings
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Mon, 8 Feb 2010 20:41:05 +0000
(20:41 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Mon, 8 Feb 2010 20:41:05 +0000
(20:41 +0000)
includes/specials/SpecialMostlinked.php
patch
|
blob
|
history
includes/specials/SpecialMostlinkedtemplates.php
patch
|
blob
|
history
includes/specials/SpecialUncategorizedtemplates.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialMostlinked.php
b/includes/specials/SpecialMostlinked.php
index
1730159
..
f112ae1
100644
(file)
--- a/
includes/specials/SpecialMostlinked.php
+++ b/
includes/specials/SpecialMostlinked.php
@@
-70,8
+70,9
@@
class MostlinkedPage extends QueryPage {
* Make a link to "what links here" for the specified title
*
* @param $title Title being queried
* Make a link to "what links here" for the specified title
*
* @param $title Title being queried
+ * @param $caption String: text to display on the link
* @param $skin Skin to use
* @param $skin Skin to use
- * @return
s
tring
+ * @return
S
tring
*/
function makeWlhLink( &$title, $caption, &$skin ) {
$wlh = SpecialPage::getTitleFor( 'Whatlinkshere', $title->getPrefixedDBkey() );
*/
function makeWlhLink( &$title, $caption, &$skin ) {
$wlh = SpecialPage::getTitleFor( 'Whatlinkshere', $title->getPrefixedDBkey() );
diff --git
a/includes/specials/SpecialMostlinkedtemplates.php
b/includes/specials/SpecialMostlinkedtemplates.php
index
339822d
..
71a6b53
100644
(file)
--- a/
includes/specials/SpecialMostlinkedtemplates.php
+++ b/
includes/specials/SpecialMostlinkedtemplates.php
@@
-16,7
+16,7
@@
class SpecialMostlinkedtemplates extends QueryPage {
/**
* Name of the report
*
/**
* Name of the report
*
- * @return
s
tring
+ * @return
S
tring
*/
public function getName() {
return 'Mostlinkedtemplates';
*/
public function getName() {
return 'Mostlinkedtemplates';
@@
-25,7
+25,7
@@
class SpecialMostlinkedtemplates extends QueryPage {
/**
* Is this report expensive, i.e should it be cached?
*
/**
* Is this report expensive, i.e should it be cached?
*
- * @return
bool
+ * @return
Boolean
*/
public function isExpensive() {
return true;
*/
public function isExpensive() {
return true;
@@
-34,7
+34,7
@@
class SpecialMostlinkedtemplates extends QueryPage {
/**
* Is there a feed available?
*
/**
* Is there a feed available?
*
- * @return
bool
+ * @return
Boolean
*/
public function isSyndicated() {
return false;
*/
public function isSyndicated() {
return false;
@@
-43,7
+43,7
@@
class SpecialMostlinkedtemplates extends QueryPage {
/**
* Sort the results in descending order?
*
/**
* Sort the results in descending order?
*
- * @return
bool
+ * @return
Boolean
*/
public function sortDescending() {
return true;
*/
public function sortDescending() {
return true;
@@
-52,7
+52,7
@@
class SpecialMostlinkedtemplates extends QueryPage {
/**
* Generate SQL for the report
*
/**
* Generate SQL for the report
*
- * @return
s
tring
+ * @return
S
tring
*/
public function getSql() {
$dbr = wfGetDB( DB_SLAVE );
*/
public function getSql() {
$dbr = wfGetDB( DB_SLAVE );
@@
-70,8
+70,8
@@
class SpecialMostlinkedtemplates extends QueryPage {
/**
* Pre-cache page existence to speed up link generation
*
/**
* Pre-cache page existence to speed up link generation
*
- * @param
Database $dbr
Database connection
- * @param
int $res Result point
er
+ * @param
$db
Database connection
+ * @param
$res ResultWrapp
er
*/
public function preprocessResults( $db, $res ) {
$batch = new LinkBatch();
*/
public function preprocessResults( $db, $res ) {
$batch = new LinkBatch();
@@
-86,9
+86,9
@@
class SpecialMostlinkedtemplates extends QueryPage {
/**
* Format a result row
*
/**
* Format a result row
*
- * @param
Skin
$skin Skin to use for UI elements
- * @param
object
$result Result row
- * @return
s
tring
+ * @param $skin Skin to use for UI elements
+ * @param $result Result row
+ * @return
S
tring
*/
public function formatResult( $skin, $result ) {
$title = Title::makeTitleSafe( $result->namespace, $result->title );
*/
public function formatResult( $skin, $result ) {
$title = Title::makeTitleSafe( $result->namespace, $result->title );
@@
-102,10
+102,10
@@
class SpecialMostlinkedtemplates extends QueryPage {
/**
* Make a "what links here" link for a given title
*
/**
* Make a "what links here" link for a given title
*
- * @param
Title
$title Title to make the link for
- * @param
Skin
$skin Skin to use
- * @param
object
$result Result row
- * @return
s
tring
+ * @param $title Title to make the link for
+ * @param $skin Skin to use
+ * @param $result Result row
+ * @return
S
tring
*/
private function makeWlhLink( $title, $skin, $result ) {
global $wgLang;
*/
private function makeWlhLink( $title, $skin, $result ) {
global $wgLang;
@@
-119,7
+119,7
@@
class SpecialMostlinkedtemplates extends QueryPage {
/**
* Execution function
*
/**
* Execution function
*
- * @param
mixed $par P
arameters passed to the page
+ * @param
$par Mixed: p
arameters passed to the page
*/
function wfSpecialMostlinkedtemplates( $par = false ) {
list( $limit, $offset ) = wfCheckLimits();
*/
function wfSpecialMostlinkedtemplates( $par = false ) {
list( $limit, $offset ) = wfCheckLimits();
diff --git
a/includes/specials/SpecialUncategorizedtemplates.php
b/includes/specials/SpecialUncategorizedtemplates.php
index
cb2a6d4
..
7e6fd24
100644
(file)
--- a/
includes/specials/SpecialUncategorizedtemplates.php
+++ b/
includes/specials/SpecialUncategorizedtemplates.php
@@
-23,8
+23,6
@@
class UncategorizedTemplatesPage extends UncategorizedPagesPage {
/**
* Main execution point
/**
* Main execution point
- *
- * @param mixed $par Parameter passed to the page
*/
function wfSpecialUncategorizedtemplates() {
list( $limit, $offset ) = wfCheckLimits();
*/
function wfSpecialUncategorizedtemplates() {
list( $limit, $offset ) = wfCheckLimits();