James | 27 Aug 04:05 2015
Picon

Mediawiki 301 redirect to elimiate /Main_Page

Hi,

I have a previous domain.
I moved my Mediawiki from http://wiki.old-domain.com tohttp://wiki.domain.co
.

On vhost wiki.old-domain.com, this is the content of .htaccess file.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^wiki.old-domain.net$ [NC,OR]
RewriteCond %{HTTP_HOST} ^wiki.old-domain.org$ [NC]
RewriteRule ^(.*)$ http://wiki.domain.co/$1 [L,R=301,NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ %{DOCUMENT_ROOT}/index.php?title=$1 [PT,L,QSA]

Here is .htaccess file for vhost wiki.domain.co:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ %{DOCUMENT_ROOT}/index.php?title=$1 [PT,L,QSA]

When I access wiki.old-domain.net or .org, it will redirect me to
http://wiki.domain.co/Main_Page.
Now, I want to eliminate "/Main_Page" and make it single URL
http://wiki.domain.co only.

The reason behind all of this is due to errors getting when changing of
address on Google search console which G wants to make it wiki.domain.co
(Continue reading)

Eli Handel | 25 Aug 08:42 2015
Picon

Re: CSS media designations on IE9

Thank you Bartosz Dziewoński,

I hadn't known that, but I'm not using media queries in the 
ResourceLoader module definition, and it does work when I load the page 
with ?debug=true. So I guess I need more suggestions for the difference 
between debug mode and regular mode.

Eli Handel

> From:
> Bartosz Dziewoński <matma.rex <at> gmail.com>
>
> On Wed, 19 Aug 2015 03:22:09 +0200, Eli Handel <elihandel <at> gmail.com> 
> wrote:
>
>> Hi,
>>
>> I've been having this problem for a couple of years, but now it's 
>> becoming more pressing as I add responsive support to my skin.
>>
>> If there are  <at> media designations in my skin's LESS or CSS files, then 
>> when I view the site on IE9, the  <at> media designations are ignored and 
>> everything follows the latest CSS rules even if the  <at> media 
>> designations don't apply. On the other hand when I load the pages 
>> with ?debug=true, there's no problem and the  <at> media designations are 
>> respected.
>>
>> Can anyone offer suggestions?
>
> IE 9 does not support nested  <at> media declarations. [1] Make sure that 
(Continue reading)

Btavavakoli Makbari | 25 Aug 00:59 2015
Picon

(kein Betreff)


_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Brenton Horne | 24 Aug 23:20 2015
Picon

Short URLs with Apache on Sabayon Linux

Hi,

I'm running Sabayon Linux (64-bit, up to date with all updates -- it's a
rolling release system to version numbers are irrelevant) and while I
managed to install MW 1.25.2 on it successfully I cannot seem to shorten
URLs properly. My MediaWiki base directory (i.e., the one with index.php,
LocalSettings.php, etc. in it) is /var/www/localhost/htdocs/w and I am
using MariaDB as my RDBMS, if relevant. To shorten my URL (from w/index.php
to wiki) I added:

AllowOverride All
RewriteEngine On
RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]

to /etc/apache2/httpd.conf and added:

$wgScriptPath = "/w";
$wgArticlePath = "/wiki/$1";
$wgUsePathInfo = true;

to my LocalSettings.php file. I also ran:

systemctl restart apache2
php maintenance/update.php

after this. I then opened up http://localhost/wiki/Linux_Wiki (my main
page) in Google Chrome and got a page with the error message:

This web page is not available
> ERR_CONNECTION_REFUSED
(Continue reading)

Hong, Yongmin | 24 Aug 15:17 2015
Picon

Login info

Hello,

Is it possible to retrieve information about 'whether user has logged in
for last 1 year or not' in mediawiki?

Thanks.

(context: Korean law requires service provider to separate user database
for those who hasn't used their service for a year)

--
Revi
https://revi.me
-- Sent from Android --
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
谢朝钦 | 22 Aug 16:36 2015

Uluru


_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
谢朝钦 | 22 Aug 13:50 2015

这个对的


_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Btavavakoli Makbari | 22 Aug 02:04 2015
Picon

(kein Betreff)


_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
谢朝钦 | 21 Aug 18:27 2015

为 w3c理念和使命而来

          尊敬的北航及W3c领导及工作人员:你们好!

           我全名;谢朝钦,男.工作单位:在河南省固始县农村商业银行

           中共党员,中级职称,1967年6月12出生现年47岁

            另外在:广东省东莞市宏振精密模具配件有限公司

                          担 任总经理一职,并负责全面工作!


          从国际组织到中国北京W3c招聘这个职位已经许久,我深深知道自己的责任

重大!不能违背版权验证时对联合王国卫生组织的许诺!再不能等闲视之!否则就

没有人能开启这扇千年之门,这也是我兴趣所在,所以为了证明中国人的实力,

我想有北航作后盾,团队有凝聚力上进心,把所有全域最高标准化所附于的权力用

足用好,在适当的时候还可授予帐戶权力,达到传递正能目的!

         只因外部因素和维基媒体基金会(吉米)因版权及编辑之争现在他们把手伸到

W3c来了,这里和元维基本是一家只是分工不同,统统归属于(St管家)协调分配

资源及网络交通安全等,从Wik档案看W3C建网于1964年本人有存档案!其中包括

许多高级别功能都未被开发利用!
 
另外下面这些条件有些离谱,那样会把人吓跑的……!
(Continue reading)

Kevin Owen | 21 Aug 03:51 2015
Picon

Advice for using Git with MediaWiki

Hey,

I'm trying to figure out a way to version control any configuration changes
we make to our wiki installation so it's easy to a) upgrade versions, b)
revert if we need to undo something, c) maybe one day have a development
site to verify functionality when upgrading, etc.  The problem is, it seems
impossible to track it all in an elegant, simple manner.

The first and main issue is with LocalSettings.php. This is not tracked in
the main git repository, which I totally understand and am not here to
start an argument over that.  Rather, I'd like a way to track changes to
that, perhaps in its own repository and not have it accidentally disappear
if I try to checkout a different branch of the main repository.  Currently,
it's in its own private git repository ".gitlocal", which means to handle
it, all my commands are "git --git-dir=.gitlocal ...". This works, I guess,
but it's not ideal.

Anyway, I've looked into a lot of options (submodules, subtrees, you name
it), but everything appears to only work with subdirectories, and mediawiki
clearly states that the LocalSettings.php file MUST be in the same
directory as everything else.  Also, trying to handle the main mediawiki
repository as a subtree or otherwise trying to merge a branch just simply
doesn't work.

TL;DR Basically what I want is to be able to open up a bash shell in the
wiki directory and say "hey, Git, mind grabbing me this version of
mediawiki, and also this version of my LocalSettings file, and these
versions of my extensions?" and have it reply "sure, buddy, here ya go!"

Sorry for the life story, hopefully someone has some thoughts, or at least
(Continue reading)

Filip Martinu | 20 Aug 16:59 2015
Picon

RDFIO extension causing blank page

Hello,

I'm facing problems regarding the RDFIO extension for semantic mediawiki.
As soon as I want to save an edit of a page, I get a blank page. However,
the changes are still stored in the database and it displays it correctly.
I realized that when I turn off RDFIO in LocalSettings.php the blank page
is gone and it shows the usual "the edit was saved"-page. Any clue what
exactly could cause that? Must be somehow connected to the RDFIO extension.

Thanks all,

Filip

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Gmane