Welcome to mediawiki-l. This mailing list exists for discussion and questions
about the MediaWiki software[0]. Important MediaWiki-related announcements
(such as new versions) are also posted to this list.
Other resources.
If you only wish to receive announcements, you should subscribe to
mediawiki-announce[1] instead.
MediaWiki development discussion, and all Wikimedia technical questions, should
be directed to the wikitech-l[2] mailing list.
Several other MediaWiki-related lists exist:
- mediawiki-api[5] for API discussions,
- mediawiki-enterprise[6] for discussion of MediaWiki in the enterprise,
- mediawiki-cvs[7] for notification of commits to the Subversion repository,
- mediawiki-i18n[8] for discussion of MediaWiki internationalisation support,
- wikibugs-l[9] for notification of changes to the bug tracker.
List administrivia (unsubscribing, list archives).
To unsubscribe from this mailing list, visit [12]. Archives of previous postings
can be found at [3].
This list is also gatewayed to the Gmane NNTP server[4], which you can use to
read and post to the list.
Posting to the list.
Before posting to this list, please read the MediaWiki FAQ[10]. Many common
questions are answered here. You may also search the list archives to see if
your question has been asked before.
Please try to ask your question in a way that enables people to answer you.
Provide all relevant details, explain your problem clearly, etc. You may
wish to read [13], which explains how to ask questions well.
To post to the list, send mail to <mediawiki-l(a)lists.wikimedia.org>. This is a
public list, so you should not include confidential information in mails you
send.
When replying to an existing thread, use the "Reply" or "Followup" feature of
your mail client, so that clients that understand threading can sort your
message properly. When quoting other messages, please use the "inline" quoting
style[11], for clarity.
When creating a new thread, do not reply to an existing message and change the
subject. This will confuse peoples' mail readers, and will result in fewer
people reading your mail. Instead, compose a new message for your post.
Messages posted to the list have the "Reply-To" header set to the mailing list,
which means that by default, replies will go to the entire list. If you are
posting a reply which is only interesting to the original poster, and not the
list in general, you should change the reply to only go to that person. This
avoids cluttering the list with irrelevant traffic.
About this message.
This message is posted to the list once per week by <river(a)wikimedia.org>.
Please contact me if you have any questions or concerns about this mailing.
References.
[0] http://www.mediawiki.org/
[1] http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
[2] http://lists.wikimedia.org/mailman/listinfo/wikitech-l
[3] http://lists.wikimedia.org/pipermail/mediawiki-l/
[4] http://dir.gmane.org/gmane.org.wikimedia.mediawiki
[5] http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
[6] http://lists.wikimedia.org/mailman/listinfo/mediawiki-enterprise
[7] http://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
[8] http://lists.wikimedia.org/mailman/listinfo/mediawiki-i18n
[9] http://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[10] http://www.mediawiki.org/wiki/FAQ
[11] http://en.wikipedia.org/wiki/Posting_style#Inline_replying
[12] http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
[13] http://www.catb.org/~esr/faqs/smart-questions.html
Hi,
I would like to extend the search in the Special:Newimages page to
search for keywords in the image description as well.
Could anyone point me to the database string to edit?
Thanks,
Alain
----- original Nachricht --------
Betreff: Re: [Mediawiki-l] change {{NUMBEROFARTICLES}}
Gesendet: Di 19 Aug 2008 22:08:17 CEST
Von: "Benjamin Lees"<emufarmers(a)gmail.com>
> On Fri, May 2, 2008 at 1:46 PM, Steffen Grimm
> <grimm.otzberg(a)freenet.de>wrote:
>
> >
> >
> > Hello,
> > I've got a wiki abot a special theme. All pages, which doesn,t apply to
> the
> > wiki are linked to wikipedia (with a template) But I want, that these
> pages
> > aren't counted in {{NUMBEROFARTICLES}}. I've got pages in other
> namespaces,
> > which should be counted, too.
> > This variable isn't working right, so I decided to change the code:
> > <?
> > include ('dbpass.php');
> > @mysql_connect($dbhost, $dbuser, $dbpass);
> > @$x=mysql_select_db($dbdata);
> > if (empty($x)) {
> > echo "Fehler beim Verbinden mit dem Datenbankserver<br>";
> > exit;
> > }
> > $sql = " page WHERE page_namespace = 0 OR
> > page_namespace = 4;";
> > $result = mysql_query($sql);
> >
> > $a = 0;
> > while ($resuld = mysql_fetch_array($result, MYSQL_NUM)) {
> > $a++;
> > }
> > $sql = " page WHERE page_is_redirect > 0;";
> > $result = mysql_query($sql);
> >
> > $c = 0;
> > while ($resuld = mysql_fetch_array($result, MYSQL_NUM)) {
> > $c++;
> > }
> > $sql = " page WHERE page_len = 5;";
> > $result = mysql_query($sql);
> >
> > $d = 0;
> > while ($resuld = mysql_fetch_array($result, MYSQL_NUM)) {
> > $d++;
> > }
> > $summe = $a + $b;
> > $summe -= $c + $d;
> > ?>
> > This code is working allright, but I don't know where to place it. Must I
> > put it to initStats.inc in the maintenance-folder, or in
> > SpecialStatistics.php?
> > Please help me!! :-(
> >
> >
> Just change $wgContentNamespaces <
> http://www.mediawiki.org/wiki/Manual:$wgContentNamespaces>.
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
--- original Nachricht Ende ----
Thank you, but I want to count all pages with a size bigger than 5 Bytes (because of the redirecting-template
Unbegrenzter Speicher, Top-Spamschutz, 120 SMS und eigene E-MailDomain inkl.
http://office.freenet.de/dienste/emailoffice/produktuebersicht/power/mail/i…
Hi--
I'm stumped. I have a mediawiki installation and am using the default
monobook skin. I'd like to target an anchored heading of a page, where:
(a) Main_Page is the page I am targetting.
(b) The <a> element I would like to target on the main page is called
"How_We_Can_Help".
Problem: In the sidebar, I typed:
* About
** [[Main_Page#How_We_Can_Help]]|How We Can Help
But this did not work.
I also tried many variants, with and without the "[[ ]]". The <a> exists,
and I was able to do what I want successfully in normal HTML. Can I make
this work in mediawiki, and if so how?
Many thanks.
I'm getting serious about SEO with a forthcoming site and I was thinking
about all the edit links on my pages. I really don't want google or others
crawling these links and I have stopped that with robots.txt. But, is there
any way (without me hacking the core MW code) to put a rel="nofollow"
directive in links pointing to action=edit pages?
I'm currently achieving this in the following way:
my Robots.txt file has the following line:
Disallow: w/
And my wiki lives in w/. However, I've set up nice URLs so that the pages
are read via mywki/ . This then catches all links to unwritten pages
(because these refer to the w/ ) and also print links and so on. I'm
wondering if this is a good solution long term. I'm also using Sitemaps
properly to make sure every page can be found and "good" links that point to
content already written are found and followed by search engines.
Thoughts anyone?
Hi--
I'm stumped. I have a mediawiki installation and am using the default
monobook skin. I'd like to target an anchored heading of a page, where:
(a) Main_Page is the page I am targetting.
(b) The <a> element I would like to target on the main page is called
"How_We_Can_Help".
Problem: In the sidebar, I typed:
* About
** [[Main_Page#How_We_Can_Help]]|How We Can Help
But this did not work.
I also tried many variants, with and without the "[[ ]]". The <a> exists,
and I was able to do what I want successfully in normal HTML. Can I make
this work in mediawiki, and if so how?
Many thanks.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki and ImageMagick are both installed and usable, however,
MediaWiki can't use ImageMagick to make thumbnails because it doesn't
have permission to execute convert. This is on an OS X system, from
inside an administrator account. Anybody got any ideas?
audacitor(a)gmail.com
"Just because it's automatic doesn't mean it works."
Hello All,
I am in dire need of some help regarding RSS feed caching on mediawiki 1.12.
Basically, we have thousands of uses signing up for the following RSS feeds:
http://site.com/index.php?title=Special:Recentchanges&feed=rsshttp://site.com/index.php?title=Special:Recentchanges&feed=atom
Basically, when I have the RSS feeds enabled the frontend servers get overly utilized.
We have four frontend servers, one DB server and one image server all running RHEL 5. The frontend servers are running APC 3.0.18, Apache 2.2 PHP 5.1.6 and we also utilize a memcached cluster of four.
The caching is working since I see cache hits on the apc statistics page and when I telnet to the memcached port it also shows cache hits.
The four frontend servers are the ones that suffer when I have these feeds enabled. They get a load of 60 - 100 (Linux Load), which makes the site unresponsive until I restart Apache (but the load comes right back).
I have tried using wget to get the rss feed and use mod_rewrite to direct them to static content, but the site comes up as the Recentchanges page, not an RSS feed.
Can anyone help me out here? I would like to re-enable the feeds, but I want a usable site at the same time.
Thanks!
Hello,
I've got a wiki abot a special theme. All pages, which doesn,t apply to the wiki are linked to wikipedia (with a template) But I want, that these pages aren't counted in {{NUMBEROFARTICLES}}. I've got pages in other namespaces, which should be counted, too.
This variable isn't working right, so I decided to change the code:
<?
include ('dbpass.php');
@mysql_connect($dbhost, $dbuser, $dbpass);
@$x=mysql_select_db($dbdata);
if (empty($x)) {
echo "Fehler beim Verbinden mit dem Datenbankserver<br>";
exit;
}
$sql = "SELECT page_namespace FROM page WHERE page_namespace = 0 OR page_namespace = 4;";
$result = mysql_query($sql);
$a = 0;
while ($resuld = mysql_fetch_array($result, MYSQL_NUM)) {
$a++;
}
$sql = "SELECT page_namespace FROM page WHERE page_is_redirect > 0;";
$result = mysql_query($sql);
$c = 0;
while ($resuld = mysql_fetch_array($result, MYSQL_NUM)) {
$c++;
}
$sql = "SELECT page_namespace FROM page WHERE page_len = 5;";
$result = mysql_query($sql);
$d = 0;
while ($resuld = mysql_fetch_array($result, MYSQL_NUM)) {
$d++;
}
$summe = $a + $b;
$summe -= $c + $d;
?>
This code is working allright, but I don't know where to place it. Must I put it to initStats.inc in the maintenance-folder, or in SpecialStatistics.php?
Please help me!! :-(
Steffen Grimm