Hi,
I am an intern working on reaching out to third-party MediaWiki users. I
was pointed to this link with notes on discussion at NOLA Hackaton 2011. I
was wondering if these issues/ideas are still valid and if there was any
follow up on them?
http://www.mediawiki.org/wiki/NOLA_Hackathon/Saturday#Third-party_committer…
Thank you.
Mariya
Hi all,
Over at Wikivoyage, Mediawiki's automatically generated Table of
Contents (TOC) is intentionally floated left (I'm assuming but might
be wrong that this is done with CSS somewhere but I don't know where)
so that page content flows arround it. We do this to get more travel
content and photos onto the first screen of text, and it usually works
fine.
However, when a bullet list flows arround the TOC some weird things happen:
1) The bullets move left more than they should. In Firefox and Chrome
it is only a little and not critical. But in Internet Explorer (I
tested in IE 9.0 on Windows 7) the bullets jump clear across the TOC
box and show in the left edge of the TOC, instead of where they belong
which is outside the right edge of the TOC next to the list items
flowing around the right edge of the TOC.
See first two bullet items on this page:
http://en.wikivoyage.org/wiki/Long_Island
2) Nested lists fail to indent.
3) Lists that flow past the bottom edge of the TOC jump to left margin
at that point which is expected behavior for text but is jarring for a
bullet list to do.
The first two bullet items flowing to right of TOC box in the page
linked to in item 1 above, when viewed in IE 9.0, loose their bullets
which instead show up in the left edge of the TOC.
I enclosed the next bullet list that flows to right of TOC on that
page in a div tag, styled overflow:hidden, which for some reason I
don't understand causes the unorded list's box and the content in it,
including the bullets, to hold their places on the page without
sliding away to the left.
I'm in over my head here--I don't want to do something silly that
could be done better by someone whe knows more about CSS. I'd like to
find an elegant solution that we could implement sitewide at
Wikivoyage.
Could someone knowledgeable about CSS help us out with this over at Wikivoyage?
If you are willing to help us with this CSS puzzle, please give me a
heads up on my Wikivoyage talk page (below my sig) or at this thread
in the Wikivoyage Travelers' Pub:
http://en.wikivoyage.org/wiki/Wikivoyage:Travellers%27_pub#Coding%20error
Thanks!
Roger :-)
http://en.wikivoyage.org/wiki/User:Rogerhc
Mark,
Unable to reach you at that address.
-------- Original Message --------
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
mah(a)everybody.org
retry timeout exceeded
------ This is a copy of the message, including all the headers. ------
First, um, is this the correct list to be posting general quetsions to?
Second, a very knowledgable person has advised me:
"As I told you already, set the configuration variables to the
canonical paths. As long as you keep it set to a target that is a
redirect, things like saving preferences will be broken and
everything else will be delayed or slow. Your server is configured
as "www.mysite.us" with "mysite.us" as a redirect to that. If your
wiki is configured as "mysite.us" then any and all requests and
submissions will go to that, only to be redirected to
"www.mysite.us". Redirects don't handle POST submissions very well,
only GET requests. As a result, Preferences can't be saved (this is
not MediaWiki related actually but general web server behaviour)."
I'm really not sure what this means. There are all kinds of definitions
of "canonical paths" out there but none I've found have given me an
example of what a canonical path actuall IS.
In general, I want my users to be seeing "www" in their address path. I
also don't want script path and article path arguing with each other. I
renamed my /wiki/ directory to /w/ and then changed my .htaccess file to
what is shown below. It appears to work for me, but is it correct?
Should I change $wgServer = "http://mysite.us"; to $wgServer =
"http://www.mysite.us"; and get rid of the redirect at the beginning?
Do something else?
# Follow symbolic links (dunno if this is needed or not)
Options +FollowSymLinks
# Enable the rewrite engine
RewriteEngine On
# Do some magic stuff that forces pages to use www
RewriteCond %{HTTP_HOST} !^www\.mysite\.us [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^/?(.*) http://www.mysite.us/$1 [L,R,NE]
# Write something here soon
RewriteCond %{REQUEST_FILENAME} !-f
# Short url for wiki pages
RewriteRule ^/?wiki(/.*)$ /w/index.php?title=$1 [L,QSA]
# Redirect / to Main Page
# RewriteRule ^/*$ /w/Main_Page [L,QSA] <-------wiki didn't work with this line
RewriteRule ^/*$ %{DOCUMENT_ROOT}/w/index.php [L,QSA]
Here are what I think are the relevant portions of LocalSettings.php.
## The protocol and server name to use in fully-qualified URLs
$wgServer = "http://mysite.us";
## The relative URL path to the skins directory
$wgStylePath = "$wgScriptPath/skins";
#
# BUNCH OF STUFF CHOPPED OUT HERE FOR THE THE LIST POST
#
# End of automatically generated settings.
# Add more configuration options below.
#
# BUNCH OF STUFF CHOPPED OUT HERE FOR THE THE LIST POST
#
# FAVICON IDENTITY
$wgFavicon = "$wgScriptPath/favicon.ico";
# Enable Short URLs
# http://www.mediawiki.org/wiki/Manual:Short_URL
$wgUsePathInfo = true;
$wgArticlePath = "/wiki/$1";
I've been playing around with getting the Lucene search to work on our
Wiki. So far so good although I've noticed that the "live" search
suggestions are relatively slow compared to the MediaWiki.org/Wikipedia
sites: 100ms compared to 30ms even though I'm physically much closer to our
site than the other sites.
I'm curious is the MediaWiki sites use a custom search suggestion
via $wgMWSuggestTemplate or some other way? I'll be playing some more with
the Lucene index to see if that can be improved in speed or not as well.
--
Dave Humphrey -- dave(a)uesp.net
Founder/Server Admin of the Unofficial Elder Scrolls Pages -- www.uesp.net
OK, this is my first attempt to use rewrite rules.
I've done the best I can to follow the instructions at
http://www.mediawiki.org/wiki/Manual:Short_URL/Apache .
I've created an .htaccess file and put it at root at
http://www.vanslyck.us as follows:
## http://www.mediawiki.org/wiki/Manual:Short_URL/Apache
# Follow symbolic links(dunno if this is needed or not)
Options +FollowSymLinks
# Enable the rewrite engine
RewriteEngine On
# Short url for wiki pages(dunno if [PT,L] is required instead)
RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/wiki/index.php [L]
# Redirect / to Main Page(dunno if [PT,L] is required instead)
RewriteRule ^/*$ %{DOCUMENT_ROOT}/w/index.php [L]
then I added the following lines to the end of LocalSettings.php:
# Enable Short URLs
# http://www.mediawiki.org/wiki/Manual:Short_URL
$wgUsePathInfo = true; # added this after getting the redirect loop error.
$wgScriptPath = "/wiki";
$wgArticlePath = "/wiki/$1";
Can anyone see something obviouis that I know how to recognize?
Hi everyone,
As a part of my WMF internship, I have compiled a list of MediaWiki
"vendors" <http://www.mediawiki.org/wiki/MediaWiki_vendors#Active_Vendors>and
am about to initiate discussions with them on a variety of topics at
http://www.mediawiki.org/wiki/Talk:MediaWiki_vendors. I would like to
invite you to join the discussions and to add discussion threads with
relevant discussion topics you are interested in. I am starting to contact
them today to initiate the conversations.
Thank you.
Mariya
My question is simple: How do I (A) clone the Vector skin and (B) make it so my customized Vector skin can have custom background and text colors.
I tried using this skin initially: https://code.google.com/p/darkvector/
Unfortunately, it has graphical errors in my version of MediaWiki (currently 1.19.3), so I decided it would be better to take my own version of Vector, clone under a different name (currently DarkVector is the name I'm using), then I planned to make my own version of darkvector (I was going to change the colors slightly, but I like the version on google code)
Unfortunately, I'm only really good at editing CSS. I tried editing my clone .php files, but I either (A) keep screwing up the layout (and the sidebar disappears) or (B) I get it looking right but all of my edits to the screen.css to change the colors have no effect.
I'm not sure I know what I doing, so if someone could walk me through what I'd like to do or could provided me pointers on what I might be getting wrong, I would appreciate the assistance.