Vernon Thommeret | 1 Feb 06:37 2007
Picon

Making category links with articles, but no text, active

In short, how might I make it so that links to categories are active  
if there are any links in the categories, regardless of whether there  
is content in the pages?

Thanks!
Brion Vibber | 1 Feb 06:45 2007
Picon

Re: special characters in custom namespaces


Nino Novak wrote:
> in spanish the term "discussion" is translated "discusión" (with 
> ó). 
> 
> Now how to set up a custom namespace called "ES_Discusión" in an 
> international (utf-8) wiki? If following the description from 
> Help:Custom namespaces (from meta) and coding it as html "ó" it 
> is displayed as is - and if coding it in iso-8859, it is displayed with 
> the small black questionmark rhomb - which is normal behavior in utf-8. 

First, use the real ó character, not ó

Second, save the file as UTF-8.

Third, make sure there isn't a hidden "BOM" character at the start of
the file after you save it -- Windows Notepad will insert this when you
save a file as Unicode, but it will mess up some things (broken RSS
feeds, broken caching, possibly visible error messages). I recommend
using a programming editor such as jEdit which allows saving as UTF-8
without the BOM character.

(Sorry for the BOM problems, but this is an issue with how PHP handles
files.)

> The meta instruction says "Do not save LocalSettings.php as Unicode, 
> because PHP cannot handle it" - so is there any possibility to get 
> things done?

Some editors such as Notepad mark simply "Unicode" for UTF-16, a form of
(Continue reading)

Laird Shaw | 1 Feb 07:51 2007
Picon

[ANN]: Treeview skin 1.0 beta released

The Treeview skin has finally made it out of alpha and is available for 
public use as a beta.  The skin adds a dynamic and configurable 
javascript-based treeview component in place of Monobook's navigation 
sidebar, supporting load-on-demand when expanding nodes.  It also adds a 
couple of other niceties that you can see here:
http://clc-wiki.net
The skin can be downloaded from here:
http://members.dodo.com.au/~netocrat/software
and feedback can be viewed/added here:
http://clc-wiki.net/wiki/Planning:Treeview_skin:Feedback

The skin is best suited to small-medium sized sites with relatively low 
edit rates and with a MediaWiki cache manager enabled.

--

-- 
http://members.dodo.com.au/~netocrat
Rob Church | 1 Feb 09:23 2007
Picon

Re: Making category links with articles, but no text, active

On 01/02/07, Vernon Thommeret <synotic@...> wrote:
> In short, how might I make it so that links to categories are active
> if there are any links in the categories, regardless of whether there
> is content in the pages?

I'm guessing you mean you want them rendered as a blue link all the
time. Probably the best way to do this is to hack includes/Linker.php
- find the method Linker::isAlwaysKnown() and add NS_CATEGORY to the
namespace conditions for it to return true.

This will cause MediaWiki to treat all links to category pages as
being known to exist. In the case where the category doesn't exist,
this will merely lead to a blank category page listing the category
members. For existing categories, it will continue to work as normal,
of course.

Rob Church
Nino Novak | 1 Feb 11:59 2007

Re: special characters in custom namespaces

On Thursday 01 February 2007 06:45, Brion Vibber wrote:
> Nino Novak wrote: [...]
>
> First, use the real ó character, not &oacute;
>
> Second, save the file as UTF-8.

cool, this works!

> Third, make sure there isn't a hidden "BOM" character at the start of
> the file after you save it -- Windows Notepad will insert this when
> you save a file as Unicode, but it will mess up some things (broken
> RSS feeds, broken caching, possibly visible error messages). I
> recommend using a programming editor such as jEdit which allows
> saving as UTF-8 without the BOM character.

I'm working with vi - and this worked w/o problems ;-)

> (Sorry for the BOM problems, but this is an issue with how PHP
> handles files.)
>
> > The meta instruction says "Do not save LocalSettings.php as
> > Unicode, because PHP cannot handle it" - so is there any
> > possibility to get things done?
>
> Some editors such as Notepad mark simply "Unicode" for UTF-16, a form
> of Unicode text which is basically wildly incompatible with
> everything. ;) Most Internet-friendly Unicode usage is done in the
> UTF-8 encoding.

(Continue reading)

aretai aretai | 1 Feb 12:42 2007
Picon

Re: mass image upload (zip)

Thx Rob. I couldn't find this script.

I'm using MW 1.6.7. Maybe there is different way to achieve it?

Regards,
Aretai

On 1/31/07, Rob Church <robchur@...> wrote:
>
> On 31/01/07, aretai aretai <aretaiuc@...> wrote:
> > Is it possible to mass upload images from a zip archive. If yes how?
>
> Place the files on the server in a readable location and execute the
> maintenance/importImages.php script from the command line.
>
>
> Rob Church
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l@...
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
Laibeus Lord | 1 Feb 14:07 2007
Picon

MW Statistic error count or missing article?

Hi,

   I'm new here and new to MediaWiki, so greetings to all, I'm JC, from the
Philippines.

   Anyway, just noticed after copying a template-DB for MediaWiki that after
importing it to a fresh MW installation, the -
[[Special:Statistics|{{NUMBEROFARTICLES}}]] - is showing " 1 article " to be
existing.  My problem is, there is supposed to be no article.  If I checked
it out, the article is non-existent.  Also, if I compared everything from my
template-DB, everything is correct and exact.

   Did I do something wrong somewhere?  Coz from my template-DB for MW, the
stats shows 0 article, but when importing to a fresh MW installation, it
shows there's 1 article already.  Btw, when I exported the template-DB, I
included "DROP table if exists" to be sure there's an exact clean copy of
the imported template-DB.

   Not that it matters much, but it just kinda, well, you know... there's
"1" non-existent article/mis-count.  ^_^

   Thank you very much.

Regards,
JCuneta.
Veronica Lopez Diaz | 1 Feb 15:45 2007
Picon
Picon

(no subject)

Hello everybody,

I have "inherited" a wiki project running

MediaWiki:1.6.5 (cgi-fcgi)
PHP:5.1.4
MySQL:4.1.14-nt

at my working place (I am a working student at SAP), and was wondering:

1) if there is anything similar to webs in Twiki, maybe an extension,
or is it necessary to install another wiki, in order to get this
functionality?

2) In our Wiki it is not possible to upload files of type pdf, ppt,
xls or doc, but I read in this list, that it is possible (e.g Arne
Bittig: Subject: [Mediawiki-l] Problem uploading certain files (blank
upload form) How can these be enabled? Does this depend on the
version, an extension, ...???

3) Would you recommend us, to upgrade it to the latest version?

4) Is it possible, to login to it via Single Sign On? Does anybody know an Extension for this?

5) Is there anything special, I have to put attention over (Appart from Recent Changes)???

Thank you very very much in advance and kind regards,

Veronica

(Continue reading)

aretai aretai | 1 Feb 15:47 2007
Picon

Re: MW Statistic error count or missing article?

Maybe the main page (or the page you have this template) is counted as well?

Regards,
Aretai

On 2/1/07, Laibeus Lord <laibcoms@...> wrote:
>
> Hi,
>
>   I'm new here and new to MediaWiki, so greetings to all, I'm JC, from the
> Philippines.
>
>   Anyway, just noticed after copying a template-DB for MediaWiki that
> after
> importing it to a fresh MW installation, the -
> [[Special:Statistics|{{NUMBEROFARTICLES}}]] - is showing " 1 article " to
> be
> existing.  My problem is, there is supposed to be no article.  If I
> checked
> it out, the article is non-existent.  Also, if I compared everything from
> my
> template-DB, everything is correct and exact.
>
>   Did I do something wrong somewhere?  Coz from my template-DB for MW, the
> stats shows 0 article, but when importing to a fresh MW installation, it
> shows there's 1 article already.  Btw, when I exported the template-DB, I
> included "DROP table if exists" to be sure there's an exact clean copy of
> the imported template-DB.
>
>   Not that it matters much, but it just kinda, well, you know... there's
(Continue reading)

Rob Church | 1 Feb 15:51 2007
Picon

Re: (no subject)

On 01/02/07, Veronica Lopez Diaz <ve-nokta@...> wrote:
> 1) if there is anything similar to webs in Twiki, maybe an extension,
> or is it necessary to install another wiki, in order to get this
> functionality?

You'll need to describe what that is, for the benefit of those of us
who haven't been exposed to that particular feature before.

> 2) In our Wiki it is not possible to upload files of type pdf, ppt,
> xls or doc, but I read in this list, that it is possible (e.g Arne
> Bittig: Subject: [Mediawiki-l] Problem uploading certain files (blank
> upload form) How can these be enabled? Does this depend on the
> version, an extension, ...???

Read the FAQ.

> 3) Would you recommend us, to upgrade it to the latest version?

Yes; upgrade to at least 1.6.9 if running under PHP 4.4, or 1.9.1 if
running PHP 5.

> 4) Is it possible, to login to it via Single Sign On? Does anybody know an Extension for this?

Write an authentication plugin.

> 5) Is there anything special, I have to put attention over (Appart from Recent Changes)???

What's important to you about what happens on your wiki?

Rob Church
(Continue reading)


Gmane