Thanks for the suggestion. However, when I run the rebuildall.php script I
get an error and the namespaces do not reorganize themselves:
After this:
Refreshing redirects table.
Starting from page_id 1 of 1072.
100
200
300
400
500
600
700
800
900
1000
Refreshing links table.
Starting from page_id 1 of 1072.
It goes through several thousand lines of this:
caching in /var/www/html/includes/objectcache/XCacheBagOStuff.php on line 39
PHP Warning: xcache_set(): xcache.var_size is either 0 or too small to
enable var data caching in
/var/www/html/includes/objectcache/XCacheBagOStuff.php on line 67
PHP Warning: xcache_get(): xcache.var_size is either 0 or too small to
enable var data
These are the referenced lines in the XCacheBagOStuff.php file:
38 public function get( $key, &$casToken = null ) {
*39 $val = xcache_get( $key );*
40
41 if ( is_string( $val ) ) {
42 if ( $this->isInteger( $val ) ) {
43 $val = intval( $val );
44 } else {
45 $val = unserialize( $val );
46 }
47 } elseif ( is_null( $val ) ) {
48 return false;
49 }
50
51 return $val;
52 }
and
62 public function set( $key, $value, $expire = 0 ) {
63 if ( !$this->isInteger( $value ) ) {
64 $value = serialize( $value );
65 }
66
* 67 xcache_set( $key, $value, $expire );*
68 return true;
* 69 }*
70
Again, any thoughts are greatly appreciated,
Devin
p.s. apologies for forgetting to put a subject line in this thread.
Message: 6
> Date: Thu, 17 Oct 2013 19:52:02 +0000
> From: Daniel Renfro <drenfro(a)vistaprint.com>
> To: MediaWiki announcements and site admin list
> <mediawiki-l(a)lists.wikimedia.org>
> Subject: Re: [MediaWiki-l] (no subject)
> Message-ID:
> <E58FBDFD91EB95418AF02101DAAFCD5D24A9BCA6(a)WNDMAIL02.vistaprint.net
> >
> Content-Type: text/plain; charset=UTF-8
>
> Rebuilding the indexes might do it, see
> https://www.mediawiki.org/wiki/Manual:Rebuildall.php for more info.
> --Daniel (User:AlephNull)
>
> -----Original Message-----
> From: mediawiki-l-bounces(a)lists.wikimedia.org [mailto:
> mediawiki-l-bounces(a)lists.wikimedia.org] On Behalf Of John
> Sent: Thursday, October 17, 2013 3:02 PM
> To: MediaWiki announcements and site admin list
> Subject: Re: [MediaWiki-l] (no subject)
>
> Make sure you rebuild the search indexes after the namespace move
>
> On Thursday, October 17, 2013, Devin Roark wrote:
>
> > Hello mailing list!
> >
> > This is my first time posting to the mediawiki list so bear with me if
> > I break any protocols and please correct me as needed.
> >
> > I came into maintaining an internal wiki that has logs set up for
> > every day of the week that are filled out every day. There are over
> > 200 of these logs as of today. This idea works well until someone
> > goes to search and they come across hundreds of useless log entries in
> > their search that clog up results. To add insult to injury, these
> > results conveniently begin with a NUMBER so they are always the first
> > hits and users have to wade past them to see their search results.
> >
> > We still want to be able to search these logs, so putting them into
> > one page and referencing the view history is not an option. My idea
> > to clean this up was to put these existing logs into their own
> > namespace, and I'm trying to test out this idea in a development wiki
> > server. I'm able to do the mysql query listed the namespace manual,
> > and when I use the {{NAMESPACE}} magic word the pages show up in the
> > new namespace, but they are not separated from searching main, and
> > when I click on the new namespace in the advanced search and search,
> they don't show up.
> >
> > Really scratching my head with this one. I would be grateful for any
> > suggestions or alternate solutions.
> >
> > Many thanks,
> > Devin
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l(a)lists.wikimedia.org <javascript:;>
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
Hello,
I have a wiki with instant commons enabled. When using images from Commons,
the thumbs are sometimes served from there, and sometimes from my server.
How does that work? What causes the wiki to use remote thumbs?
/Leo
_______________
Leonard Wallentin
mail(a)leowallentin.se
@leo_wallentin
+46(0)735 - 933 543
Skype: leo_wallentin
http://leowallentin.se
Hello mailing list!
This is my first time posting to the mediawiki list so bear with me if I
break any protocols and please correct me as needed.
I came into maintaining an internal wiki that has logs set up for every day
of the week that are filled out every day. There are over 200 of these
logs as of today. This idea works well until someone goes to search and
they come across hundreds of useless log entries in their search that clog
up results. To add insult to injury, these results conveniently begin with
a NUMBER so they are always the first hits and users have to wade past them
to see their search results.
We still want to be able to search these logs, so putting them into one
page and referencing the view history is not an option. My idea to clean
this up was to put these existing logs into their own namespace, and I'm
trying to test out this idea in a development wiki server. I'm able to do
the mysql query listed the namespace manual, and when I use the
{{NAMESPACE}} magic word the pages show up in the new namespace, but they
are not separated from searching main, and when I click on the new
namespace in the advanced search and search, they don't show up.
Really scratching my head with this one. I would be grateful for any
suggestions or alternate solutions.
Many thanks,
Devin
I recently allowed some extra domains expire (like .org and .net) that simply forwarded to my main domain for my mediawiki site. Since then I've noticed that many pages don't display correctly unless I log in and edit the page.. afterwards they display correctly if I'm not logged in.
How can I fix this besides manually finding all of this pages and hitting edit and then saving them?
Hi,
I need to fix some links and i want to use a bot for this. I tried the
ApiBot 0.4 but could not succeed with that. I faced a few issues, and do
not know the solution yet. If anyone can provide me solution using any
other bot framework then it is also ok for me.
Goal:
I have a list of 100 pair of article titles and i want to replace the old
title with a new one.
Issues faced with ApiBot:
I tried the example and it works for a single pair, but the script never
ends and edit the same page again and again. how can i stop this?
how can i use this bot to fix my 100 pair of links?
thanks in advance.
*--
**Nasir Khan Saikat* <http://profiles.google.com/nasir8891>
www.nasirkhn.com
Hi all,
I wrote the extension matrix bot. However, I no longer rely on it and the
web server it is hosted on was upgraded, breaking the bot.
bot results: http://www.mediawiki.org/wiki/Extension_Matrix
bot error:
https://gist.github.com/brianmingus/8d7730d42df9b1fec707/raw/0dec7acb0610dd…
There are no published statistics on how frequently the bot results are
accessed, so I have no idea whether anyone relies on it. Thus, I'm not sure
if it's worth my time to fix the bot.
In general, it would be for the best if the WMF took over this bot and ran
it on their own server. It has been running on http://grey.colorado.edu for
years, but that's really not the intended purpose of that server.
I posted this in IRC but didn't get any feedback. If nobody cares about the
bot results it might just die.. which would be kinda' sad.
Brian
Hello,
I just moved all images on my wiki to Amazon, for performance. Now I wonder
what the best way is to change all thumb and image paths in the wiki.
Browsing through the file related hooks I find no obvious candidate. For
now I just do a replace in ParserAfterTidy, but that i quite ugly, and will
sooner or later have a false positive. Surely there must be a better way?
/Leo
> From: Leonard Wallentin <leo.wallentin(a)gmail.com>
>
> I just moved all images on my wiki to Amazon, for performance. Now I wonder
> what the best way is to change all thumb and image paths in the wiki.
Isn't this just a virtual file system? Can't you just create a symbolic link between the two?
mv /var/httpd/wiki/images /volumes/amazon
ln -s /volumes/amazon/images /var/httpd/wiki
:::: A cynic is a man who knows the price of everything and the value of nothing. -- Oscar Wilde
:::: Jan Steinman, EcoReality Co-op ::::