Axel Etzold | 22 Nov 21:35

Offline wikipedia installation with mwimport question

Dear all,

I am trying to set up a multilanguage Wikipedia for offline use from xml dumps using
mediawiki. To do this, I have downloaded dumps from wikimedia foundation and  tried to set up
a Mysql server following the instructions given here:

http://modzer0.cs.uaf.edu/~dev2c/wiki/How_to_mirror_Wikipedia

I managed to go all the way through these instructions, and the mwimport line 

<dawiki-<date>.xml mwimport | mysql -f -u <admin name> -p <database name> ,

(where <database name> was wikidb).

finished without errors. But I can't find my (Danish) wikipedia now !
From a similar instructions page as the one above, I would  expect to find it in http://localhost/wikidb/ ,
but there seems is nothing there (404 error), although I can find that a database wikidb has been created from
myphpadmin, with 185000 entries in it.

Thank you very much for your help !

Best regards,

Axel 

--

-- 
Sensationsangebot nur bis 30.11: GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
Platonides | 22 Nov 13:22

Re: common.js and setting the value of a hidden form field

Alain wrote:
> Hi,
> 
> I'm having a small problem with setting the value of a hidden form field 
> in the customUserCreateForm extension.
> The alert gives the correct value, but somehow it doesn't get posted 
> after the user created a new account.
> 
> The value of the hidden value has to be set when someone checks a checkbox.
> 
> <input type='checkbox' name="wpFacultyCheck" onChange="createUserToggle(this)"
> id="wpFacultyChecker" /> 
> 
> <input type="hidden" id="hiddenFacultyField" name="hiddenFacultyField" value="" />
> 
> 
> Then in common.js I have:
> 
> function createUserToggle(obj){
> 
> if(obj.checked){
> document.userlogin2.hiddenFacultyField.value="yes";
> }else{
> document.userlogin2.hiddenFacultyField.value="no";
> }
> alert(obj.value +" "+ document.getElementById('hiddenFacultyField').value)
> }
> 
> addOnloadHook(createUserToggle);
> 
(Continue reading)

jidanni | 21 Nov 22:53
Favicon

Re: How to retrieve wiki text from wikipedia html page?

>> I want to know how can i get wikitext from simple wikipedia html page.
One answer: example:
http://en.wikipedia.org/wiki/Nerd
is the same as
http://en.wikipedia.org/w/index.php?title=Nerd
and one way to get its wikitext is via
http://en.wikipedia.org/w/index.php?title=Nerd&action=raw
ganesh gajre | 21 Nov 12:56

How to retrieve wiki text from wikipedia html page?

Hi to all,

I want to know how can i get wikitext from simple wikipedia html page.

e.g i search for free keyword. I get wikipedia HTML text of that page. How
can i get it's wikitext and save it at my desktop. For further use.

Regards,
Ginovation.
Javier Bezos | 21 Nov 11:40

Order of tag extensions

Given the following text

<out2>blah <in2>blah</in2></out2>
<out1>blah <in1>blah</in1></out1>

where out1, in1, in2, out2 are tags defined as usual in
that order. In which order are these tags "expanded"?

out1 in1 in2 out2 (ie, as defined)?
out2 in2 out1 in1 (ie, as found)?
in2 out2 in1 out1?
Someting else?

Thanks
Javier
..................
www.wikilengua.org
Daniel Friesen | 20 Nov 18:30
Gravatar

Re: Newbie question - Move from Ubuntu to Windows

Just install MediaWiki from the official source.
The .deb package adds no extra benefit, and only makes it harder to 
understand where things are and what is wrong because the .deb package 
does not use the standard locations for things in MediaWiki.

~Daniel Friesen (Dantman, Nadir-Seen-Fire)
~Profile/Portfolio: http://nadir-seen-fire.com
-The Nadir-Point Group (http://nadir-point.com)
--It's Wiki-Tools subgroup (http://wiki-tools.com)
--The ElectronicMe project (http://electronic-me.org)
-Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
--Animepedia (http://anime.wikia.com)
--Narutopedia (http://naruto.wikia.com)

Menachem Bazian wrote:
> Hi,
>
> I have to move a mediawiki install from an Ubuntu server (which was installed with the .deb package) to a
windows server. I saw the how to and it talks about copying all the mediawiki files over but I can't seem to
find them in one place on the ubuntu server. I am sure I am missing simple.
>
> I tried to find a paper on the differences in directory structure between windows and the ubuntu but could
not find anything.
>
> If you could point me in the right direction, I would appreciate it.
>
> Thanks
>
> Menachem Bazian
>   
(Continue reading)

ganesh gajre | 20 Nov 07:38

extraction of wikimedia

hi, does any one know how to extract the wikipedia dump.
It is downloaded from the following link:
http://static.wikipedia.org/downloads/2008-06/en.
i tried to extract the above 15 GB compressed data which is in tar.7z
format, but after extracting upto 33GB it reports an error.

please give me the solution.

Regards,
Ginovation.
River Tarnell | 20 Nov 06:56

Welcome to mediawiki-l (weekly posting)

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 
(Continue reading)

Platonides | 19 Nov 01:46

Re: configuration settings for deploying to MediaWiki

Linda Rose wrote:
> Hi,
> 
> I am using a tool called ePublisher, which converts Framemaker files to 
> MediaWiki output and deploys the files to the wiki. Our IT department set 
> up an instance of Mediawiki for me to test. I can login to the Media wiki 
> instance, but when I test the deployment configuration in ePublisher 
> (using the same username and password as I can login with), I get the 
> error "Connection or Authentication Failed". 
> 
> I have set $wgEnableWriteAPI = true; in LocalSettings.php. 
> 
> Are there other configuration settings I need to set to deploy files to 
> Media Wiki?
> 
> I have successfully used this tool before to deploy output to a MoinMoin 
> wiki (once I got the configuration set correctly) so I know it works.
> 
> Thanks for your help.
> 
> Linda

Without knowing what are you actually doing, there's little we can do. 
What steps are taken by the "deployment"?
Jack D. Pond | 18 Nov 14:28
Gravatar

"Sortable" (Table Sorting) Not working

I probably did something to screw up my wikis, but all of them couldn't use
the standard javascript table sorting function in MediaWiki
(class="sortable).  Thought I'd document a little to save future admins some
work.  If this is a common problem, someone create a bug and I'll look into
fixing it.

The symptom was that class="sortable" was being ignored (tables wouldn't
sort).

The way you make tables sortable is to add the table to a javascript class
"sortable".  This is done by (example)

{| class="sortable"
! ColHdr1
! ColHdr2
|-
| r1c1
| r1c2
|-
| r2c1
| r2c2
|}

Table sorting in MediaWiki is done via javascript found in
skins/common/wikibits.js in it's own section.

I didn't stop to figure out why it wasn't sorting, I just replaced it with
the original source code, which can be found in
http://www.joostdevalk.nl/code/sortable-table/

(Continue reading)

Javier Bezos | 18 Nov 11:20

TeX with dvipng and Linux


Here is an alternative for the default math using dvipng:

http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Windows

I've tried it out in my Windows box and it worked.
Unfortunately, I haven't managed to get it to work on
Linux (both TeX and dvipng work in the server when
called in the terminal). Any hint or pointer would be
appreciated.

(fyi, what I intend is to use TeX as a typographical
tool and not only for math formulae, and the dvipng
approach seems more convenient for our purposes.)

Javier
--------------------------
http://www.wikilengua.org

Gmane