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
Merge "Live Preview: Cope with the edit summary being an OOjs UI widget"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialVersion.php
diff --git
a/includes/specials/SpecialVersion.php
b/includes/specials/SpecialVersion.php
index
caa0e1f
..
3ea1d03
100644
(file)
--- a/
includes/specials/SpecialVersion.php
+++ b/
includes/specials/SpecialVersion.php
@@
-511,7
+511,7
@@
class SpecialVersion extends SpecialPage {
// in their proper section
continue;
}
// in their proper section
continue;
}
- $authors = array_map( function( $arr ) {
+ $authors = array_map( function
( $arr ) {
// If a homepage is set, link to it
if ( isset( $arr['homepage'] ) ) {
return "[{$arr['homepage']} {$arr['name']}]";
// If a homepage is set, link to it
if ( isset( $arr['homepage'] ) ) {
return "[{$arr['homepage']} {$arr['name']}]";
@@
-840,7
+840,7
@@
class SpecialVersion extends SpecialPage {
// Finally! Create the table
$html = Html::openElement( 'tr', [
'class' => 'mw-version-ext',
// Finally! Create the table
$html = Html::openElement( 'tr', [
'class' => 'mw-version-ext',
- 'id' => Sanitizer::escapeId( 'mw-version-ext-' . $type . '-' . $extension['name'] )
+ 'id' => Sanitizer::escapeId
ForAttribute
( 'mw-version-ext-' . $type . '-' . $extension['name'] )
]
);
]
);