1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Xomw: Change href to use proper File: namespace

This commit is contained in:
gnosygnu
2017-02-19 11:11:26 -05:00
parent 704809e5b9
commit 7894c6d6f4
14 changed files with 6443 additions and 113 deletions

View File

@@ -260,7 +260,6 @@ public abstract class XomwMediaTransformOutput {
// }
attribs.Clear();
// 'href' => $this->file->getTitle()->getLocalURL( $query ),
attribs.Add_many(Gfh_atr_.Bry__href, this.file.getTitle().getLocalURL(query));
attribs.Add_many(Gfh_atr_.Bry__class, Bry__class__image);
if (title != null) {

View File

@@ -182,7 +182,7 @@ public class XomwThumbnailImage extends XomwMediaTransformOutput { private final
}
}
if (!Php_utl_.empty(options.no_dimensions)) {
if (Php_utl_.empty(options.no_dimensions)) {
attribs.Add_many(Gfh_atr_.Bry__width, Int_.To_bry(width));
attribs.Add_many(Gfh_atr_.Bry__height, Int_.To_bry(height));
}