Anne Wilson | 2 Jul 15:11 2011
Picon

"What links here" and DPL problem

Last week we became aware that "What links here" searches were missing some 
items.  Evidence appeared to point to interference by the Special:myLanguage 
links that we are using (according to Nikerabbit WhatLinksHere should not find 
pages containing such links), so we set out to find ways around this, starting 
with a DPL query.  Gradually other factors became clear - some links had a 
space in the name and others had an underscore.  Finally, links were not 
always on the same namespace.  At that point a template was made:

<quote>
Finding all pages linking to {{{1}}}: <code><nowiki>{{LinksTo</nowiki>{{!}}
{{{1}}}<nowiki>}}</nowiki></code>

{{#dpl:
| namespace = Main
| nottitleregexp = .*(/..(-..)?{{!}}_[(].*[)])$
| include = *
| includematch =  <at> \[\[([Ss]pecial\:[mM]y[lL]anguage/)?{{{1}}}(\]{{!}}\{{!}}
{{!}}#) <at> 
| includemaxlength = 0
| format = ,\n* [[%PAGE%|%TITLE%]],,
}}
{{#dpl:
| namespace = User
| nottitleregexp = .*(/..(-..)?{{!}}_[(].*[)])$
| include = *
| includematch =  <at> \[\[([Ss]pecial\:[mM]y[lL]anguage/)?{{{1}}}(\]{{!}}\{{!}}
{{!}}#) <at> 
| includemaxlength = 0
| format = ,\n* [[%PAGE%|%TITLE%]],,
}}
(Continue reading)

Rahul Sharma | 2 Jul 18:31 2011
Picon

Unserialize error in recent changes

Dear all..

I got unserialize error when i go to recent changes or related changes
page.it shows error in lc_value can not serialize the row value which is
return there.
what is sectionlink message?
any possible solution?

--

-- 

Thanks & With Regards,

*Rahul*
Eric K | 3 Jul 02:11 2011
Picon

Page title different from URL

I want to be able to specify a page's own title which may be different from the URL. For example I could make a page:
/wiki/Apple
I dont want the page's title to be "Apple" but rather something else, for example: "Apple, the Fruit"
 
One reason for wanting to do this is that some web interaces (emails, websites, forums and so on) render
some Mediawiki links broken if there are certain characters present in the URL such as: (, ' , & and so on.
This problem can be avoided if we make error-free URL's while having the freedom to have the page title as
anything we want.
 
I've forgotten the page where such a method was listed using CSS or something like that.
thanks
Eric
Tim Landscheidt | 3 Jul 03:22 2011
Picon

Re: Page title different from URL

(anonymous) wrote:

> I want to be able to specify a page's own title which may be different from the URL. For example I could make a page:
> /wiki/Apple
> I dont want the page's title to be "Apple" but rather something else, for example: "Apple, the Fruit"

> One reason for wanting to do this is that some web interaces (emails, websites, forums and so on)
render some Mediawiki links broken if there are certain characters present in the URL such as: (, ' , & and so
on. This problem can be avoided if we make error-free URL's while having the freedom to have the page title
as anything we want.

> I've forgotten the page where such a method was listed using CSS or something like that.

Take a look at
<URI:http://www.mediawiki.org/wiki/Manual:$wgAllowDisplayTitle>.

Tim
Harsh Mathur | 3 Jul 09:02 2011
Picon

Writing my own javascript

Hey,
I have written my javascript code in common.js but still it is not working,
I tried writing in monobook.php also but same result.
Basically, I want to have a toggle effect  on some content, like as in faq,
click on question, to show the ans, again click, ans will be hidden, how to
do it.

Regards
Harsh Mathur
B.Tech (2013)  Computer Engg,
NIT Surathkal, Karnataka

harshmathur.1990 <at> gmail.com
Igor Chudov | 3 Jul 19:13 2011
Picon

Separating code and local data of Mediawiki?

I happen to have several wikis.

Some of them are nonworking, but I have database dumps.

I am trying to recreate them, and I want to do a nice job.

Specifically, I want to

a) Share the same code base
b) Keep them in separate MySQL databases
c) Preferably, keep images in databases to ease backup.

What really irks me at the moment, is that a mediawiki installation has
local data (LocalSettings, images etc) completely intermixed with code.

Is there some way to separate this? To have code in one place and several
directories with data in another place?

I did read a few instructions and was slightly put off by needing to create
a cornucopia of symbolic links, etc.

I wonder if, perhaps, there is some mediawiki implementation that separates
data from code in some nice, clean way.

Thanks a lot, guys!

Igor
Daniel Friesen | 4 Jul 03:51 2011

Re: Separating code and local data of Mediawiki?

You can control most of the paths MediaWiki uses using some config settings.

For upload use these:
http://www.mediawiki.org/wiki/Manual:$wgUploadDirectory
http://www.mediawiki.org/wiki/Manual:$wgUploadPath

There's no way to store images inside the database unless you build your
own FileRepo impl, even then it would be a mess when things like
thumbnailing are done.

Multiple sites sharing the same code is done by using some domain or
path tests inside the LocalSettings.php file (that's half the reason
it's a php file and not a flat config file).

~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]

On 11-07-03 10:13 AM, Igor Chudov wrote:
> I happen to have several wikis.
>
> Some of them are nonworking, but I have database dumps.
>
> I am trying to recreate them, and I want to do a nice job.
>
> Specifically, I want to
>
> a) Share the same code base
> b) Keep them in separate MySQL databases
> c) Preferably, keep images in databases to ease backup.
>
> What really irks me at the moment, is that a mediawiki installation has
(Continue reading)

Rahul Sharma | 4 Jul 10:31 2011
Picon

random image show in mw1.17

Dear all

I am working on mw1.17. i have installed random image or slideshow extension
but it does'nt work. can anybody tell me how can we do.

--

-- 

Thanks & With Regards,

*S*
Krinkle | 4 Jul 18:53 2011
Picon

Re: random image show in mw1.17

Rahul Sharma wrote:

> Dear all
>
> I am working on mw1.17. i have installed random image or slideshow  
> extension
> but it does'nt work. can anybody tell me how can we do.
>
>
> -- 
>
> Thanks & With Regards,
>
> *S*

Hi Rahul,

Please clarify which extensions you have attempted to install.
There is no extension by the name "Slideshow" in the SVN Repository.
Which extension do you mean ? A link would be helpful.

Also, what doesn't work ? What happends, and what have you tried so far.

And lastly, what is your goal in this process, why do you want to  
install
Slideshow ? Which functionality is it that you desire to have ? (this  
may
help in finding alternatives if needed).

Thanks,
(Continue reading)

Bruce Whealton | 4 Jul 22:56 2011

Help with sitemap

Hello all,
         I have not been able to get the google sitemap and the google 
analytics to work for me.  So, I have a MediaWiki site here:
http://whealton.info/w/
which redirects to http://whealton.info/wiki/Main_page.
So, I wasn't sure if I should setup a Google profile for whealton.info, 
whealton.info/w/
or whealton.info.wiki/
Webmaster Central at Google says that I can verify my site by uploading a 
page to
http://whealton.info/wiki/Googleanadlongstring.html
I had to create the directory wiki which I did and I uploaded the file to 
that directory.  The only possible problem was that the wiki software 
converted the link by capitalizing the G in google. No, wait, it says that 
it has the wrong content.
I tried to go into the shell account and make sure there was nothing in the 
file but that didn't work.  It still wouldn't verify.
Now, it is not accepting the sitemap either.  I think the reason for that is 
that the sitemap is using a url that has whealton.info/wiki/ in the path and 
yet the sitemap is at: http://whealton.info/w/sitemap.xml
Of course, when I manually copied the sitemap to 
http://whealton.info/wiki/sitemap.xml it didn't like that either.
I'm using the extensions from the MediaWiki site.
Can anyone help with this?
Thanks,
Bruce

++++++++++++++++++++++++++++++++++++++++++++++++++
Bruce Whealton, Owner Future Wave Designs
FOAF: http://whealton.info/BruceWhealtonJr/foaf.rdf
(Continue reading)


Gmane