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
(from parent 1:
e9daa06
)
output: Narrow Title type hint to LinkTarget
author
Thiemo Kreuz
<thiemo.kreuz@wikimedia.de>
Fri, 13 Sep 2019 09:34:33 +0000
(11:34 +0200)
committer
Thiemo Kreuz
<thiemo.kreuz@wikimedia.de>
Fri, 13 Sep 2019 09:34:33 +0000
(11:34 +0200)
The code never needs a full Title object, but only what the (more
narrow) interface provides.
Change-Id: I3a7aa35c7e90fffaf37f4cb444549237c20e0bd9
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
7f005fb
..
9dbbf13
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-2822,7
+2822,7
@@
class OutputPage extends ContextSource {
/**
* Add a "return to" link pointing to a specified title
*
- * @param
Title
$title Title to link
+ * @param
LinkTarget
$title Title to link
* @param array $query Query string parameters
* @param string|null $text Text of the link (input is not escaped)
* @param array $options Options array to pass to Linker