Hello, Alexis. Thank you for your feedback.
On Tue, 21 May 2013, Alexis Moinet wrote:
I am not so skillful in writing scripts; yet I could not make the ShortURL work, nor even
make a workable copy of existing skin "Vector".
So, I modify "Vector"; you may look at the result at http://mizugadro.mydns.jp/t
The most of space is reserved for the original text, and only narrow strips at
the top and at the left are occupied by the menu.
I'm sorry to tell you that your skin is unreadable in Firefox 21 on ubuntu
12.04:
the first letter(s) of each line of each menu is (are ?) out of the frame.
It looks as if you're using negative absolute positionning (e.g. "left:
-38px;") on the menu ...
Yes, namely -38px. How do you count these pixels?
I change it to -28px; now, looking with Safari, I see few millimeters unused at
left.
Could you visit http://mizugadro.mydns.jp/t again, does it look better?
As for ShortURL, it seems to be working more or less on your test wiki ..
??
If I try to open
http://mizugadro.mydns.jp/q/Main_Page or
http://mizugadro.mydns.jp/k/Main_Page
i.e., without to mention "index.php/", the answer is "Not Found"
So, I would say, the ShortURL does not work at all.
The problem is that I do not understand explanations at
http://www.mediawiki.org/wiki/Extension:ShortUrl
but you seem to have something wrong in the template $wgShortUrlTemplate.
At the end of LocalSettings.php I have line
$wgShortUrlTemplate = "http://mizugadro.mydns.jp/k";
I expected this to enable the short URL
http://mizugadro.mydns.jp/k/Main_Page
but this does not happen.
What shoudd I type there instead of
$wgShortUrlTemplate = "http://mizugadro.mydns.jp/k";
?
For instance:
http://mizugadro.mydns.jp/q/index.php/Special:ShortUrl/2
is a ShortURL that redirects correctly to
http://mizugadro.mydns.jp/q/index.php/Test
Well, how to make it to work, if I skip index.php/ in the URL?
Likewise http://mizugadro.mydns.jp/q/index.php/Special:ShortUrl/1 redirects to
the Mediawiki:Sidebar
it seems, and http://mizugadro.mydns.jp/q/index.php/Special:ShortUrl/3 to
http://mizugadro.mydns.jp/q/index.php/Test1
on each of these pages there is a link "Short URL" in the toolbox. That link is
messed up though.
How to access the toolbox to add the ShortUrl there?
.. something might have to be fixed in $wgShortUrlTemplate.
The Main page does not seem to have that Short URL link,
but I don't know if it's a bug or a feature of this extension (Main Page has
its own very short url as
http://mizugadro.mydns.jp/q/index.php )
Maybe re-run populateShortUrlTable.php ?
I found ... q/extensions/ShortUrl
and I type from the command line:
php populateShortUrlTable.php
It answers:
4 titles done
Done
But this does not affect anything, again I see message "Not Found".
May be, one day someone rewrites the instruction at
http://www.mediawiki.org/wiki/Extension:ShortUrl
indicating, how to say to the software, that I want
http:/mizugadro.mydns.jp/k/Test1
mean
http://mizugadro.mydns.jp/q/index.php/Test1
and similar for other pages..
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l