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
Fix Special:Import for new schema; make it create page records as needed and hook...
[lhc/web/wiklou.git]
/
includes
/
SpecialNewimages.php
diff --git
a/includes/SpecialNewimages.php
b/includes/SpecialNewimages.php
index
9d55f0b
..
55b43f6
100644
(file)
--- a/
includes/SpecialNewimages.php
+++ b/
includes/SpecialNewimages.php
@@
-5,6
+5,7
@@
* @subpackage SpecialPage
*/
* @subpackage SpecialPage
*/
+/** */
require_once( 'ImageGallery.php' );
/**
require_once( 'ImageGallery.php' );
/**
@@
-85,7
+86,7
@@
function wfSpecialNewimages() {
$nt = Title::newFromText( $name, NS_IMAGE );
$img = Image::newFromTitle( $nt );
$nt = Title::newFromText( $name, NS_IMAGE );
$img = Image::newFromTitle( $nt );
- $ul = $sk->makeLink
( $wgContLang->getNsText( Namespace::getUser() ) . ":{$ut}"
, $ut );
+ $ul = $sk->makeLink
Obj( Title::makeTitle( NS_USER, $ut )
, $ut );
$gallery->add( $img, $ul.'<br /><i>'.$wgLang->timeanddate( $s->img_timestamp, true ).'</i><br />' );
$gallery->add( $img, $ul.'<br /><i>'.$wgLang->timeanddate( $s->img_timestamp, true ).'</i><br />' );