Hello all.
In the major pages are show blank father installing mediawiki software and
imported xml dump, I enable the $wgDebugLogFile and $wgShowExceptionDetails
and see this error on log file
Class PEAR_Error not found; skipped loading
thanks
Hola,
Estoy empezando con el proyecto de una wiki y se me presenta la siguiente
duda, puedo hacer una wiki que se comporte con si fueran varias.
Por ejemplo si yo a un determinado grupo de usuarios les doy como entrada la
url http://mymediawiki.com/dep1 solo puedan ver contenido referido a ellos
y asi con el http://mymediawiki.com/dep2, http://mymediawiki.com/dep3,
etc.
Es posible hacer esto.
______________
Best regards
favrycio tello
Cell. Phone: 096901744
Gmail: favrycio(a)gmail.com
Messenger: favrycio(a)hotmail.com
Skype: favrycio
site: www.imapax.com
Hello,
Good morning!
I performed the installation of the extension DocumentApproval.php, ran the
three scripts listed in the documentation, but had to change some Cóias, I
run the following commands to the scripit 2, could run:
alter table fm_revision change rev_id rev_id int(10) unsigned;
alter table fm_revision drop primary key;
alter table fm_revision add primary key (rev_id,rev_page);
alter table fm_revision change rev_id rev_id int(10) UNSIGNED
auto_increment;
But after installing the special page VERSION goes blank if I go in and
comment on the call LocalSettings.php "require_once ("$ IP / extensions /
DocumentApproval.php")", the special page returns to normal.
Can anyone help me?
Here is what I could get the error_log:
[Wed Sep 15 10:36:38 2010] [error] [client 192.168.9.39] PHP Warning:
include_once(extensions/ScriptManager/SM_Initialize.php):
failed to open stream: No such file or directory in
/srv/www/mediawiki/LocalSettings.php on line 148, referer:
http://164.164.164.142/wikifumo/index.php?title=Special:UserLogin&returnto=…
[Wed Sep 15 10:36:38 2010] [error] [client 192.168.9.39] PHP Warning:
include_once():
Failed opening 'extensions/ScriptManager/SM_Initialize.php' for inclusion
(include_path='/srv/www/mediawiki:/srv/www/mediawiki/includes:/srv/www/mediawiki/languages:.:/usr/share/php5:/usr/share/php5/PEAR')
in /srv/www/mediawiki/LocalSettings.php on line 148, referer:
http://164.164.164.142/wikifumo/index.php?title=Special:UserLogin&returnto=…
[Wed Sep 15 10:36:38 2010] [error] [client 192.168.9.39] PHP Warning:
Parameter
1 to Language::getMagic() expected to be a reference, value given in
/srv/www/mediawiki/includes/StubObject.php on line 58, referer:
http://164.164.164.142/wikifumo/index.php?title=Special:UserLogin&returnto=…
[Wed Sep 15 10:36:38 2010] [error] [client 192.168.9.39] PHP Notice: Undefined
variable: spns_text in
/srv/www/mediawiki/extensions/HaloACL/includes/HACL_GlobalFunctions.php on
line 220, referer:
http://164.164.164.142/wikifumo/index.php?title=Special:UserLogin&returnto=…
[Wed Sep 15 10:36:38 2010] [error] [client 192.168.9.39] PHP Notice: Undefined
variable: spns_text in
/srv/www/mediawiki/extensions/HaloACL/includes/HACL_GlobalFunctions.php on
line 221, referer:
http://164.164.164.142/wikifumo/index.php?title=Special:UserLogin&returnto=…
[Wed Sep 15 10:36:38 2010] [error] [client 192.168.9.39] PHP Warning:
include_once(extensions/ScriptManager/SM_Initialize.php):
failed to open stream: No such file or directory in
/srv/www/mediawiki/LocalSettings.php on line 148, referer:
http://164.164.164.142/wikifumo/index.php/Special:Version
[Wed Sep 15 10:36:38 2010] [error] [client 192.168.9.39] PHP Warning:
include_once():
Failed opening 'extensions/ScriptManager/SM_Initialize.php' for inclusion
(include_path='/srv/www/mediawiki:/srv/www/mediawiki/includes:/srv/www/mediawiki/languages:.:/usr/share/php5:/usr/share/php5/PEAR')
in /srv/www/mediawiki/LocalSettings.php on line 148, referer:
http://164.164.164.142/wikifumo/index.php/Special:Version
[Wed Sep 15 10:36:38 2010] [error] [client 192.168.9.39] PHP Warning:
Parameter
1 to Language::getMagic() expected to be a reference, value given in
/srv/www/mediawiki/includes/StubObject.php on line 58, referer:
http://164.164.164.142/wikifumo/index.php/Special:Version
[Wed Sep 15 10:36:39 2010] [error] [client 192.168.9.39] PHP Warning:
include_once(extensions/ScriptManager/SM_Initialize.php):
failed to open stream: No such file or directory in
/srv/www/mediawiki/LocalSettings.php on line 148
[Wed Sep 15 10:36:39 2010] [error] [client 192.168.9.39] PHP Warning:
include_once():
Failed opening 'extensions/ScriptManager/SM_Initialize.php' for inclusion
(include_path='/srv/www/mediawiki:/srv/www/mediawiki/includes:/srv/www/mediawiki/languages:.:/usr/share/php5:/usr/share/php5/PEAR')
in /srv/www/mediawiki/LocalSettings.php on line 148
[Wed Sep 15 10:36:39 2010] [error] [client 192.168.9.39] PHP Warning:
Parameter
1 to Language::getMagic() expected to be a reference, value given in
/srv/www/mediawiki/includes/StubObject.php on line 58
Waiting in the wings.
Sincerely,
Hello,
There is a Wiki that has approximately 25 menu items on the main page,
and one of the menu items lost the content of the pages below it.
Therefore, if you click the menu item, the page displays the pages below
it in red text. The owner of the wiki indicated that he had access the
pages a couple of days prior to noticing the loss.
I've checked the wiki for records of the pages existing and had no
success. There was also an extensive search in the database backup, and
there was no trace of the pages ever existing. It is as if the pages had
never existed. However, the owner indicated that he did save the pages
originally and had accessed them on many occasions.
I would appreciate it if someone could shed some light on this.
Here is the configuration:
MediaWiki 1.11.0
PHP 5.1.6
MySQL 5.0.77
Here is part of what the wiki text looks like for the page is question:
=== [[Registration:ReportCalendar|Registration Calendar]] ===
Year break-down of what-happens-when, including reports to be run.
=== [[Registration:Law|Law Registration Notes]] ===
=== [[Registration:Error Reports|Registration Error Reports]] ===
=== [[Registration:Clean Up|Clean-up Reports]] ===
=== [[Registration:Status Codes|Registration Status Codes - Adding,
Dropping & Auditing]] ===
=== [[Registration:XY|X/Y-Course Registration]] ===
Thanks,
Graham
I'm looking for a quick and easy way of helping a user to create a new
page. Either through a sidebar link or a page that could contain a box
to write in the title.
I found the NewPage extension but currently it's not available. Does
anyone know of any other extensions that could achieve this?
Charlie
Hi,
I run an internal wiki which is protected with
$wgGroupPermissions['*']['read'] = false;
$wgWhitelistRead = array ("Special:Userlogin", "MediaWiki:Common.css",
"MediaWiki:Common.js", "MediaWiki:Monobook.css",
"MediaWiki:Monobook.js", "-");
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['createaccount'] = false;
so I cannot get in without an administrator-created account. However,
file downloads of course seem to work directly if the URL is known, as
they are directly served via Apache.
Is there any mod_rewrite rule that requires MediaWiki authentication
before offering file downloads (from the images directory), or an
extension that does not let users download files directly, but rather
uses a MediaWiki wrapper?
I know that wikis are not meant to be private, and a simple .htaccess
password protection helps here as well, but maybe there is an easy
solution for my needs. ;-)
Thanks,
Florian
I would only want to import a couple tables and any tables they
reference. For example, I'd want whatever table holds the reference to
the articles which might then link to a table that actually links to the
binary data source of the article. I don't want to break things again
:-) lol.
Bruce
Henny Savenije wrote:
> You may try to import the file in MySQL and use
> the update script to update the database. Make a backup before you try this.
>
> At 09:50 ¿ÀÀü 2010-09-13, you wrote:
>> Hello all,
>> I had a somewhat small wiki with not a lot of content in it, so
>> when things went wrong with my mediawiki 1.15.x installation upgrade to
>> mediawiki 1.16.0, I just started with a fresh install. At about the
>> time that I figured out that mediawiki 1.16 was the latest version and I
>> was using 1.15.x, I also was running into an error when I added a couple
>> extensions. It was telling me that a cache table did not exist and this
>> was crashing my site, my wiki. I couldn't just create an empty table
>> because I had no idea how many columns were in that table.
>> Anyway, I thought with the new installation I could bring in
>> the content, the articles from the old installation. The problem is
>> that in looking at my exported db, a mysql db, that I exported from
>> phpmyAdmin and my cpanel, and from just browsing the db, I see that the
>> content of the articles are in binary files. So, it's not text that I
>> can just copy and paste into new articles - I only had about 10 of them.
>> Is there a way to get at those binary files that contain the text of
>> the articles, and the wiki code and somehow either import it into my new
>> wiki install or look at it and examine it in some way so that I could
>> copy and paste the content so as to recreate the articles.
>> I should note that I don't seem to have shell access, so I have to
>> use the cpanel and phpmyadmin.
>> Thanks for any tips,
>> Bruce
>>
>> --
>>
>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>> B. M. Whealton - Web Developer, Programmer, Owner:
>> Future Wave Designs: http://FutureWaveDesigns.com
>> "On Being a Poet and Other Existential Ideas":>
>> http://WordSaladPoetryMagazine.com/words/
>> Publisher of Word Salad Poetry Magazine:
>> http://WordSaladPoetryMagazine.com/ - Submit your poetry
>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l(a)lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>> No virus found in this incoming message.
>> Checked by AVG - www.avg.com
>> Version: 9.0.851 / Virus Database: 271.1.1/3131
>> - Release Date: 09/13/10 03:34:00
>
> _ _
> (o) (o)
> oOOO----(_)----OOOo---
> Henny (Lee Hae Kang)
> -----------------------------
> http://www.henny-savenije.pe.kr Portal to all my sites
> http://www.hendrick-hamel.henny-savenije.pe.kr
> (in English) Feel free to discover Korea with Hendrick Hamel (1653-1666)
> http://www.hendrick-hamel.henny-savenije.pe.kr/indexk2.htm In Korean
> http://www.hendrick-hamel.henny-savenije.pe.kr/Dutch In Dutch
> http://www.vos.henny-savenije.pe.kr Frits Vos
> Article about Witsen and Eibokken and his first Korean-Dutch dictionary
> http://www.cartography.henny-savenije.pe.kr (in
> English) Korea through Western Cartographic eyes
> http://www.hwasong.henny-savenije.pe.kr Hwasong the fortress in Suwon
> http://www.oldKorea.henny-savenije.pe.kr Old Korea in pictures
> http://www.british.henny-savenije.pe.kr A British encounter in Pusan (1797)
> http://www.genealogy.henny-savenije.pe.kr/ Genealogy
> http://www.henny-savenije.pe.kr/phorum Bulletin board for Korean studies
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
B. M. Whealton - Web Developer, Programmer, Owner:
Future Wave Designs: http://FutureWaveDesigns.com
"On Being a Poet and Other Existential Ideas":>
http://WordSaladPoetryMagazine.com/words/
Publisher of Word Salad Poetry Magazine:
http://WordSaladPoetryMagazine.com/ - Submit your poetry
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I'm trying to use MediaWiki with PostgreSQL 8.4.4 - however, it fails miserably.
It installs fine:
PHP 5.3.2-1ubuntu4.2 installed
Found database drivers for: PostgreSQL
PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title)
Have XML / Latin1-UTF-8 conversion support.
Session save path (/var/lib/php5) appears to be valid.
PHP's memory_limit is 128M bytes.
Couldn't find eAccelerator, APC or XCache; cannot use these for object caching.
Found GNU diff3: /usr/bin/diff3.
Couldn't find GD library or ImageMagick; image thumbnailing disabled.
Installation directory: /shared/sites/intra.dooster.net/wiki
Script URI path: /wiki
Installing MediaWiki with php file extensions
Environment checked. You can install MediaWiki.
Generating configuration file...
Database type: PostgreSQL
Loading class: DatabasePostgres
Attempting to connect to database "intrawikidb" as "intrawikiuser"...
Checking the version of Postgres...version 8.4.4 is OK.
Checking for Pl/Pgsql ...not installed. Attempting to install Pl/Pgsql ...OK
Creating schema mediawiki ...OK
Setting the timezone to GMT for user "intrawikiuser" ...OK
Setting the datestyle to ISO, YMD for user "intrawikiuser" ...OK
Setting the search path for user "intrawikiuser" ...OK
Connected to postgres 8.4.4
Creating tables... done.
Populating interwiki table... successfully populated.
Initializing statistics...
Created sysop account WikiSysop.
Creating LocalSettings.php...
-----------------------------------------------
However as I try to use the wiki, all I see is:
A database error has occurred
Query: INSERT INTO l10n_cache (lc_lang,lc_key,lc_value) VALUES ('en','messages:clearyourcache','s:438:"''''''Note: After saving, you may have to bypass your browser''s cache to see the changes.''''''
''''''Mozilla / Firefox / Safari:'''''' hold ''''Shift'''' while clicking ''''Reload'''', or press either ''''Ctrl-F5'''' or ''''Ctrl-R'''' (''''Command-R'''' on a Macintosh);
''''''Konqueror: ''''''click ''''Reload'''' or press ''''F5'''';
''''''Opera:'''''' clear the cache in ''''Tools → Preferences'''';
''''''Internet Explorer:'''''' hold ''''Ctrl'''' while clicking ''''Refresh,'''' or press ''''Ctrl-F5''''.";'),('en','messages:usercssyoucanpreview','s:83:"''''''Tip:'''''' Use the "{{int:showpreview}}" button to test your new CSS before saving.";'),('en','messages:userjsyoucanpreview','s:90:"''''''Tip:'''''' Use the "{{int:showpreview}}" button to test your new JavaScript before saving.";'),('en','messages:usercsspreview','s:91:"''''''Remember that you are only previewing your user CSS.''''''
''''''It has not yet been saved!''''''";'),('en','messages:userjspreview','s:106:"''''''Remember that you are only testing/previewing your user JavaScript.''''''
''''''It has not yet been saved!''''''";'),('en','messages:userinvalidcssjstitle','s:178:"''''''Warning:'''''' There is no skin "$1".
Remember that custom .css and .js pages use a lowercase title, e.g. {{ns:user}}:Foo/monobook.css as opposed to {{ns:user}}:Foo/Monobook.css.";'),('en','messages:updated','s:9:"(Updated)";'),('en','messages:note','s:11:"''''''Note:''''''";'),('en','messages:previewnote','s:81:"''''''Remember that this is only a preview.''''''
Your changes have not yet been saved!";'),('en','messages:previewconflict','s:102:"This preview reflects the text in the upper text editing area as it will appear if you choose to save.";'),('en','messages:session_fail_preview','s:179:"''''''Sorry! We could not process your edit due to a loss of session data.''''''
Please try again.
If it still does not work, try [[Special:UserLogout|logging out]] and logging back in.";'),('en','messages:session_fail_previe
PostgreSQL reports this in the log:
2010-09-14 00:23:47 CEST WARNING: nonstandard use of \\ in a string literal at character 113
2010-09-14 00:23:47 CEST HINT: Use the escape string syntax for backslashes, e.g., E'\\'.
2010-09-14 00:23:47 CEST WARNING: nonstandard use of \\ in a string literal at character 115
2010-09-14 00:23:47 CEST HINT: Use the escape string syntax for backslashes, e.g., E'\\'.
2010-09-14 00:23:47 CEST WARNING: nonstandard use of \\ in a string literal at character 108
2010-09-14 00:23:47 CEST HINT: Use the escape string syntax for backslashes, e.g., E'\\'.
2010-09-14 00:23:47 CEST WARNING: nonstandard use of \\ in a string literal at character 2307
2010-09-14 00:23:47 CEST HINT: Use the escape string syntax for backslashes, e.g., E'\\'.
2010-09-14 00:23:47 CEST ERROR: character 0xe28692 of encoding "UTF8" has no equivalent in "LATIN1"
2010-09-14 00:24:02 CEST LOG: could not receive data from client: Connection reset by peer
2010-09-14 00:24:02 CEST LOG: unexpected EOF within message length word
2010-09-14 00:24:05 CEST WARNING: nonstandard use of \\ in a string literal at character 2307
2010-09-14 00:24:05 CEST HINT: Use the escape string syntax for backslashes, e.g., E'\\'.
2010-09-14 00:24:05 CEST ERROR: character 0xe28692 of encoding "UTF8" has no equivalent in "LATIN1"
Is the newest MediaWiki usable with PostgreSQL, or is it something wrong with my setup (I tried MediaWiki 1.15.5, but it didn't even install, as it detected PostgreSQL 8.4.4 as 7.x)?
--
Tomasz Chmielewski
http://wpkg.org