Mediawiki - Links not showing up in galleries - gallery

I made a gallery in MediaWiki with this code:
<gallery caption="a caption" captionalign="center" bordersize="medium" perrow=4 widths="110">
File:blabla1.jpg|'''Caption1'''|link=Page 1
File:blabla2.jpg|'''Caption2'''|link=Page 2
</gallery>
Ok, the gallery works, but the caption of the first image is: Caption1|link=Page 1
And the caption of the second image is: Caption2|link=Page 1
So the links are not recognized and are included in the caption
What can be wrong? I am using MediaWiki 1.19, I've also tried to write File:blabla2.jpg|link=Page 2|'''Caption2''' with no results

This looks like a bug in 1.19. You should upgrade, because this seems to work in later versions.
Here is a sample of it working in MW 1.22: https://www.mediawiki.org/w/index.php?title=Project:Sandbox&oldid=803401

Related

WordPress problem with setting options value for rtl

I have added php snippet that get terms option and display frontend.
But there is problem after switching to Hebrew.
values are displayed with "-" at the end, instead in front.
I tried almost every css code for unsetting rtl like direction: ltr !important;, but unfortunatelly without success.
I will attach two images.
Thanks!
<div class="elementor-shortcode">
<p>מ <strong class="none-rtl">-0.75</strong> ל <strong>-2.25</strong></p>
</div>

How to add a package logo picture (which has finished design & saved as png) in README at Github

I add <img src="man/figure/logo.png" align="right" height="138.5"/> in README.md
And also put logo.png into that file. (ps. I design the logo using IDesign)
However, the logo does not shows up in my README file at Github
I wonder whether if my size of logo is too big? (105kb)
I tried to change picture size in IDesign through change the parameter of quality & Resoulution, however if I change it too small, it would be hard to recognise the pattern on the logo.
Or there is something else I need to fix
I use in below way for my avatar image
![Vipul Avatar](./avatar.png "I'm Vipul")
![Vipul Avatar](https://github.com/vipulkumarsviit/randomcodes/blob/master/avatar.png "I'm Vipul")
in the same way, you can also use
![Alt Text for your logo](./man/figure/logo.png "My Logo")
![Alt Text for your logo](https://github.com/vipulkumarsviit/randomcodes/blob/master/man/figure/logo.png "My Logo")
Hope I was able to solve your problem

Material design lite and small screens

I'm having some trouble with material design lite. I've made a page that looks great on a computer, but its not responsive at all. I'm using example code copied directly from the getmdl.io components page...and on that page everything looks great on a phone, but on my page it looks like a desktop only site (really small, hard to read). Any ideas what I could be doing wrong?
I have the same problem, i solved it in this form:
My Code Navbar Header of MDL:
<div class="mdl-layout mdl-js-layout">
Try with this form:
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
Greetz.

Not able to see icons in android-4.2

I am not able to see the icon in android-4.2 but can see in lower versions. Can anyone explain what is the issue? Here is the html body:
<div class="ss-symbolicons-block ss-car" data-rel="test"></div>
You can find the sample icon here:
http://jsfiddle.net/72k8n/1/
It looks in Android-4.2.1 like:
And in Android-4.0.4 like:
We are using these files for displaying icons:
http://apps.innofied.com/sencha/anand/symbolset/ss-symbolicons-block.css
http://apps.innofied.com/sencha/anand/symbolset/ss-symbolicons-block.svg
http://apps.innofied.com/sencha/anand/symbolset/ss-symbolicons-block.ttf
http://apps.innofied.com/sencha/anand/symbolset/ss-symbolicons-block.woff
I tried adding z-index : 1 to the parent container and that is working fine

How can I fix the indentation in a facebook like-box?

I can go to facebook and get the code for a "like box". Very handy.
Problem is, the display of this box is lame. it's not consistent. The first article in the 'stream' is displayed with this sort of indentation:
The next article in the stream is displayed with different (lame) indentation.
This is in the same likebox, I merely scrolled down.
The effect is not limited to the stream for "Facebook Platform". I've seen it in the Likebox for other streams as well.
I'd like to style the box, to try to make the indentation consistent, but it appears to be rendered as an iframe, which (I think) means I cannot style it because of the S.O.P.
How can I fix this?
Is there a workaround to display a likebox in a div that is not, eventually, an iframe?
EDIT: bug logged: http://developers.facebook.com/bugs/237053466346453
EDIT: I compared the fb:fan control and the likebox control. With the fb:fan thing, it is possible to provide custom CSS to style the contents. (There are some caveats.) I set the width and margins of the text, and also erased the actorName, which is the same for every post. This is the result:
The left side is produced with this code:
<fb:fan profile_id='19292868552' width='292'
connections='0' show_faces='false' stream='true' header='false'
css='http://example.org/fb/customfanbox.css?_=6392'></fb:fan>
The right side is produced with this:
<iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fplatform&width=292&colorscheme=light&show_faces=false&border_color&stream=true&header=false&height=525"
scrolling="no"
frameborder="0"
style="border:none; overflow:hidden; width:292px; height:525px;"
allowTransparency="true">
For the left-hand-side, if you don't want the fb:fan element, you can use an iframe that points to fan.php, like this:
<iframe src='http://www.facebook.com/plugins/fan.php?connections=0&css=http%3A%2F%2Fexample.org%2Ffb%2Ffb%2Fcustomfanbox.css%3F_%3D0292&id=19292868552&locale=en_US&sdk=joey&stream=true&width=292&height=560'
scrolling="no"
frameborder="0"
style="border-bottom:1px grey solid; overflow:hidden; width:292px; height:525px;"
allowTransparency="true">
You could try using the older fan box plugin which offered loading an external CSS file. I don't know if it still works. If so, it could stop working any moment.
You certainly are not the only one with such problems. I suggest you file a feature request / vote for an existing one.
You cannot style pages form other domains.
That would also make XSS possible.

Resources