Hello; I've been attempting to install the xymtex package for WikiTex. I uploaded the entire 17 megabyte package to my webspace, then I pasted an example from Wikisophia into a new page:
<chem>\octamethylene{4==S;5==S}{1W==HO;1D==O;8D==O;8W==OH;2SB==H; 7SA==H;2SA==NH$_2$;7SB==NH$_2$}</chem>
The following error was returned:
This is TeX, Version 3.14159 (Web2C 7.4.5) (./2c67c000747b6ff14054bb48ef81ba6e LaTeX2e <2001/06/01> Babel and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo))
! LaTeX Error: File `xymtex/xymtex.sty' not found.
Type X to quit or to proceed, or enter new name. (Default extension: sty)
Enter file name: ! Emergency stop.
l.3 \usepackage {chemist}^^M No pages of output. Transcript written on 2c67c000747b6ff14054bb48ef81ba6e.log.
I've been trying to fix this all evening. I've been messing with the wikitex.chem.inc.tex file. Also of note, the xymtex directory is within wikitex directory. That's why I used "xymtex/xymtex.sty".
Any thoughts are appreciated.
--- Phyco.org: For A Phyco Future.
On Dec 4, 2005, at 5:03 AM, mediawiki-l-request@Wikimedia.org wrote:
Send MediaWiki-l mailing list submissions to mediawiki-l@Wikimedia.org
To subscribe or unsubscribe via the World Wide Web, visit http://mail.wikipedia.org/mailman/listinfo/mediawiki-l or, via email, send a message with subject or body 'help' to mediawiki-l-request@Wikimedia.org
You can reach the person managing the list at mediawiki-l-owner@Wikimedia.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of MediaWiki-l digest..."
Today's Topics:
- Help to create navigation links (Sandrine CAR)
- Announcing Graphviz and Associated Extensions (Gregory Szorc)
- 1.4.12 -> 1.5.2 update failing (David J. Biesack)
- Re: Help to create navigation links (Rowan Collins)
- Re: Help to create navigation links (Jama Poulsen)
- Re: Appending content to article end (Jama Poulsen)
- Newbie Question: Infoboxes (Billy Covington)
- Re: upload directory changed (Rob Church)
- MediaWiki 1.5.3 released [SECURITY] (Brion Vibber)
- not able to preserve with copy and past (gangleri)
Message: 1 Date: Wed, 30 Nov 2005 14:15:59 +0100 From: Sandrine CAR sandrine.car@hsoftware.com Subject: [Mediawiki-l] Help to create navigation links To: mediawiki-l@Wikimedia.org Message-ID: 438DA60F.4030803@hsoftware.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi !
I installed MediaWiki in my company and I would to customize it. I would like to add "History navigation links" at the top of the page. For exemple : MainPage > MyProject > ProjectDocumentation when I visit MainPage, then MyProject page, then ProjectDocumentation page in order to quickly return to the last page instead of return to MainPage each time. How could I make this in MediaWiki ?
Thanks for your help.
Sandrine Paris (France)
--
Sandrine CAR Administrateur RĂ©seau
HORIZON SOFTWARE 3, rue Meyerbeer 75009 Paris
Message: 2 Date: Fri, 02 Dec 2005 12:34:10 -0500 From: Gregory Szorc greg@zorro.STUDENT.CWRU.edu Subject: [Mediawiki-l] Announcing Graphviz and Associated Extensions To: MediaWiki announcements and site admin list mediawiki-l@Wikimedia.org Message-ID: 43908592.6070207@zorro.case.edu Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I have two new extensions to through into the mix:
- Graphviz embedding extension. It generates Graphviz
(http://www.graphviz.org) images from embedded markup. Although one already exists, I couldn't find the source code, so I wrote a new one.
- Graph generating SpecialPage. This extension allows you to query
your wiki for both XML and Graphviz markup of subsets of your wiki. As an added bonus, the content can be transparently included in pages so dynamic graphs (images) of relations can be generated.
The extensions can be downloaded from http://opensource.case.edu/projects/MediaWikiHacks/ A live example of these extensions is the Case Western Reserve University Wiki (http://wiki.case.edu). Some links of interest are: http://wiki.case.edu/Special:Graphs http://wiki.case.edu/Category:Staff http://wiki.case.edu/Category:ITS_Employees http://wiki.case.edu/CaseWiki:Categories
As you can see, for all smaller category pages, a graph of the category layout is automatically generated. (Yes, I know about the font issues).
This extension is a work in progress and is a little rough around the edges. I welcome any input others should provide and am open to suggestions for future possibilities.
Gregory Szorc gregory.szorc@case.edu
Message: 3 Date: Fri, 2 Dec 2005 16:43:15 -0500 (EST) From: "David J. Biesack" David.Biesack@sas.com Subject: [Mediawiki-l] 1.4.12 -> 1.5.2 update failing To: mediawiki-l@Wikimedia.org Message-ID: 200512022143.jB2LhFB10333@mozart.unx.sas.com
I am getting a failure trying to upgrade from 1.4.12 to 1.5.2. I have problems running update.php :
from update.php:
...converting from cur/old to page/revision/text DB structure. 1133553182......checking for duplicate entries. 1133553182......Creating tables. 1133553182......Locking tables. 1133553182......maxold is 6155 1133553182......Moving text from cur. 1133553182......Setting up revision table. 1133553182......Setting up page table. 1133553182......Unlocking tables. 1133553182......Renaming old. 1133553182...done. revision timestamp indexes already up to 2005-03-13 Adding rev_text_id field... Query "UPDATE revision SET rev_text_id=rev_id" failed with error code "".
Note that my page and revision tables exist at this point but both are empty:
mysql> show tables; +--------------------------+ | Tables_in_saspediadb_dev | +--------------------------+ | archive | | blobs | | brokenlinks | | categorylinks | | cur | | hitcounter | | image | | imagelinks | | interwiki | | ipblocks | | links | | linkscc | | logging | | math | | objectcache | | oldimage | | page | | querycache | | recentchanges | | revision | | searchindex | | site_stats | | text | | trackbacks | | transcache | | user | | user_newtalk | | user_rights | | validate | | watchlist | +--------------------------+ 30 rows in set (0.00 sec) mysql> select * from page; Empty set (0.00 sec) mysql> select * from revision; Empty set (0.00 sec)
I have narrowed this down to execution of the following query from updaters.inc near line 390:
$wgDatabase->query( "INSERT INTO $revision (rev_id,
rev_page, rev_comment, rev_user, rev_user_text, rev_timestamp, rev_minor_edit) SELECT old_id, cur_id, old_comment, old_user, old_user_text, old_timestamp, old_minor_edit FROM $old,$cur WHERE old_namespace=cur_namespace AND old_title=cur_title", $fname );
If I run this query directly via mysql
INSERT INTO revision (rev_id, rev_page, rev_comment, rev_user, rev_user_text, rev_timestamp, rev_minor_edit) SELECT old_id, cur_id, old_comment, old_user, old_user_text, old_timestamp, old_minor_edit FROM old,cur WHERE old_namespace=cur_namespace AND old_title=cur_title;
I get the following error:
ERROR 1062 (23000): Duplicate entry '5-1' for key 1
How do I correct this so I can convert from 1.4.12 to 1.5?
(Possibly relevant: MySQL bug http://bugs.mysql.com/bug.php? id=12695 but I don't know how it may apply)
We're running (Special:Version) :
MediaWiki (http://wikipedia.sf.net/): 1.4.12 PHP (http://www.php.net/): 4.4.1 (apache) MySQL (http://www.mysql.com/): 4.1.7-standard-log
here is what update.php showed before trying to convert the tables:
# php update.php X-Powered-By: PHP/4.1.2 Content-type: text/html
Going to run database updates for saspediadb_dev Depending on the size of your database this may take a while! Abort with control-c in the next five seconds... 5 4 3 2 1 0 ...hitcounter table already exists. ...querycache table already exists. ...objectcache table already exists. ...categorylinks table already exists. ...logging table already exists. Creating validate table...ok ...user_newtalk table already exists. Creating transcache table...ok Creating trackbacks table...ok ...have ipb_id field in ipblocks table. ...have ipb_expiry field in ipblocks table. ...have rc_type field in recentchanges table. ...have rc_ip field in recentchanges table. ...have rc_id field in recentchanges table. ...have rc_patrolled field in recentchanges table. ...have user_real_name field in user table. ...have user_token field in user table. Adding user_email_token field to table user...ok ...have log_params field in logging table. Adding ar_rev_id field to table archive...ok Adding ar_text_id field to table archive...ok ...page table does not exist, skipping new field patch ...revision table does not exist, skipping new field patch Adding img_width field to table image...ok Adding img_metadata field to table image...ok Adding img_media_type field to table image...ok ...have val_ip field in validate table. ...have ss_total_pages field in site_stats table. Adding iw_trans field to table interwiki...ok ...already have interwiki table ...indexes seem up to 20031107 standards Converting links table to ID-ID... Schema already converted ...image primary key already set. The watchlist table is already set up for email notification. User table contains old email authentication field. Dropping... ok Logging table has correct title encoding.
Thanks for any assistance.
-- David J. Biesack SAS Institute Inc. (919) 531-7771 SAS Campus Drive http://www.sas.com Cary, NC 27513
Message: 4 Date: Fri, 2 Dec 2005 21:52:56 +0000 From: Rowan Collins rowan.collins@gmail.com Subject: Re: [Mediawiki-l] Help to create navigation links To: MediaWiki announcements and site admin list mediawiki-l@wikimedia.org Message-ID: 9f02ca4c0512021352m62930c76x@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1
On 30/11/05, Sandrine CAR sandrine.car@hsoftware.com wrote:
I installed MediaWiki in my company and I would to customize it. I would like to add "History navigation links" at the top of the page. For exemple : MainPage > MyProject > ProjectDocumentation when I visit MainPage, then MyProject page, then ProjectDocumentation page in order to quickly return to the last page instead of return to MainPage each time. How could I make this in MediaWiki ?
Somebody has hacked together an extension to do exactly this, see http://public.kitware.com/Wiki/User:Barre/MediaWiki/Extensions/ kw_bread_crumbs I gather that to get it working with 1.5 you'll need to make some changes, explained on the 'discussion' tab of that page.
-- Rowan Collins BSc [IMSoP]
Message: 5 Date: Fri, 2 Dec 2005 22:53:40 +0100 From: Jama Poulsen jama@debianlinux.net Subject: Re: [Mediawiki-l] Help to create navigation links To: MediaWiki announcements and site admin list mediawiki-l@Wikimedia.org Message-ID: 20051202215340.GE23888@conuropsis.org Content-Type: text/plain; charset=us-ascii
On Wed, Nov 30, 2005 at 02:15:59PM +0100, Sandrine CAR wrote:
I installed MediaWiki in my company and I would to customize it. I would like to add "History navigation links" at the top of the page. For exemple : MainPage > MyProject > ProjectDocumentation when I visit MainPage, then MyProject page, then ProjectDocumentation page in order to quickly return to the last page instead of return to MainPage each time. How could I make this in MediaWiki ?
You can use this extension: http://public.kitware.com/Wiki/User:Barre/MediaWiki/Extensions/ kw_bread_crumbs
Jama Poulsen
Message: 6 Date: Fri, 2 Dec 2005 23:00:16 +0100 From: Jama Poulsen jama@debianlinux.net Subject: Re: [Mediawiki-l] Appending content to article end To: MediaWiki announcements and site admin list mediawiki-l@Wikimedia.org Message-ID: 20051202220016.GF23888@conuropsis.org Content-Type: text/plain; charset=us-ascii
On Thu, Dec 01, 2005 at 03:29:56PM -0500, Amruta Lonkar wrote:
I wanted to know how i can add content that obtain from the DB to every article in the wiki at the end of the article if i am using the ParserAfterstrip hook event to get the DB content.
Have a look at how this is done in the SMWOnParserBeforeStrip() function in this file (from the SemanticMediaWiki project):
http://cvs.sourceforge.net/viewcvs.py/semediawiki/SemanticMediaWiki/ extensions/SMW_Hooks.php?rev=1.10&view=auto
Jama Poulsen
Message: 7 Date: Fri, 2 Dec 2005 15:28:09 -0800 From: Billy Covington wrcovington@gmail.com Subject: [Mediawiki-l] Newbie Question: Infoboxes To: mediawiki-l@Wikimedia.org Message-ID: 11d5adb10512021528u3737a2c6rc9062117fa4f7117@mail.gmail.com Content-Type: text/plain; charset="iso-8859-1"
Hi there wikipeople! Thanks for your help on the installation issues I was having earlier.
I'm up and running at http://www.singletrackwiki.com however, I'm now having difficulty finding an article that explains in plain english, without much mumbo-jumbo, how to create a template for an infobox.
I've looked through http://en.wikipedia.org/wiki/Infobox and also http://en.wikipedia.org/wiki/Wikipedia:Infobox_templates and also found http://meta.wikimedia.org/wiki/Help:Template
The problem however, is, as you may know, I am not a programmer and have little experience with code other than HTML and CSS... can anyone explain, or point me to an example that explains more simply how to create a template for an infobox like the one attached? My brain shut off when I read "...can be inserted into another page via a process called transclusion. It is comparable to a subroutine." This is supposed to be helpful?!? :)
Anyway, thank you in advance for any help you may be able to offer. I appreciate it greatly.
Attached is what I want to create.
--Billy
Message: 8 Date: Sat, 3 Dec 2005 19:28:03 +0000 From: Rob Church robchur@gmail.com Subject: Re: [Mediawiki-l] upload directory changed To: MediaWiki announcements and site admin list mediawiki-l@wikimedia.org Message-ID: e92136380512031128g5e440b97v@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1
Look at the top of the file; there should be a few lines which are responsible for preventing users executing the scripts directly. Comment them out or remove them.
Rob Church
On 02/12/05, Richard Gravois rgravois@yahoo.com wrote:
I copied LocalSetting.php to testsetting.php to see if I could echo the actual values but something jumped in the way and said:
"This file is part of MediaWiki and is not a valid entry point"
I suppose that came from the includes.
Is there a php script that will exhibit the settings of LocalSettings.php ?
Thanks _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Message: 9 Date: Sun, 04 Dec 2005 03:31:59 -0800 From: Brion Vibber brion@pobox.com Subject: [Mediawiki-l] MediaWiki 1.5.3 released [SECURITY] To: mediawiki-announce@wikimedia.org, mediawiki-l@wikimedia.org, wikitech-l@wikimedia.org Message-ID: 4392D3AF.4060500@pobox.com Content-Type: text/plain; charset=ISO-8859-1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
MediaWiki 1.5.3 is a security and bugfix maintenance release.
Validation of the user language option was broken by a code change in May 2005, opening the possibility of remote code execution as this parameter is used in forming a class name dynamically created with eval().
The validation has been corrected in this version. All prior 1.5 release and prerelease versions are affected; 1.4 and earlier and not affected.
Additionally several bugs have been fixed; see the changelog in the release notes for a complete list.
Release notes: http://sourceforge.net/project/shownotes.php?release_id=375755
Download: http://prdownloads.sourceforge.net/wikipedia/mediawiki-1.5.3.tar.gz? download
MD5 checksum: fc697787f04208d1842a2c646deca626 mediawiki-1.5.3.tar.gz
SHA-1 checksum: 070189e29ace2ef9ab0589db42ecf849f2b88ee5 mediawiki-1.5.3.tar.gz
Before asking for help, try the FAQ: http://meta.wikimedia.org/wiki/MediaWiki_FAQ
Low-traffic release announcements mailing list: http://mail.wikipedia.org/mailman/listinfo/mediawiki-announce
Wiki admin help mailing list: http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Bug report system: http://bugzilla.wikimedia.org/
Play "stump the developers" live on IRC: #mediawiki on irc.freenode.net
- -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFDktOvwRnhpk1wk44RAi/tAJ9NlfTJTqW+9xTC6xaeOple14hFLQCgpyBn /hIyYleol9gFbHfMgzJCyy8= =fdzu -----END PGP SIGNATURE-----
Message: 10 Date: Sun, 4 Dec 2005 12:58:30 +0100 From: "gangleri" gangleri@wikimagic.com Subject: [Mediawiki-l] not able to preserve with copy and past To: "mediawiki-l @ wikimedia.org" mediawiki-l@wikimedia.org Message-ID: 001101c5f8ca$1c16b6a0$561cfea9@gangleri Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Hallo!
at the beginning of http://yi.wiktionary.org/wiki/project:bugzilla/ 02042#more_test_links_available_soon there are three links regarding tests with *Unicode Character NO-BREAK SPACE - U+00A0* 1.. project:bugzilla/02042/ - tried to generate the UTF-8 character with "copy and paste" in Firefox 2.. project:bugzilla/02042/ - tried to generate the UTF-8 character with "copy and paste" in Outlook Express 3.. project:bugzilla/02042/ - tried to generate the UTF-8 character with "copy and paste" in Word 4.. project:bugzilla/02042/ - generated with   5.. project:bugzilla/02042/ - generated with
I copied the fourth link on a Windows XP SP2 system
1 in Firefox (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: 1.7.12) Gecko/20050915 Firefox/1.0.7) 2 in Outlook Express 3 in Word
However I was not able to copy and generate the correct link using an UTF-8 character.
Is this a) a MediaWiki character conversion issue b) an issue related to the operating system c) an issue related to the used programs
Would be happy about your feedback.
best regards reinhardt [[user:gangleri]] irc://irc.freenode.net/mediawiki irc://irc.freenode.net/wiktionary ICQ: 317732084
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
End of MediaWiki-l Digest, Vol 27, Issue 6
Well, let's ask the obvious questions, then. Does the file it's looking for exist? Try altering the paths a little. Can the directory/file be written to (if TeX needs to write to it)?
Rob Church
On 05/12/05, Alex Trujillo cryptoquick@phyco.org wrote:
Hello; I've been attempting to install the xymtex package for WikiTex. I uploaded the entire 17 megabyte package to my webspace, then I pasted an example from Wikisophia into a new page:
<chem>\octamethylene{4==S;5==S}{1W==HO;1D==O;8D==O;8W==OH;2SB==H; 7SA==H;2SA==NH$_2$;7SB==NH$_2$}</chem>
The following error was returned:
This is TeX, Version 3.14159 (Web2C 7.4.5) (./2c67c000747b6ff14054bb48ef81ba6e LaTeX2e <2001/06/01> Babel and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo))
! LaTeX Error: File `xymtex/xymtex.sty' not found.
Type X to quit or to proceed, or enter new name. (Default extension: sty)
Enter file name: ! Emergency stop.
l.3 \usepackage {chemist}^^M No pages of output. Transcript written on 2c67c000747b6ff14054bb48ef81ba6e.log.
I've been trying to fix this all evening. I've been messing with the wikitex.chem.inc.tex file. Also of note, the xymtex directory is within wikitex directory. That's why I used "xymtex/xymtex.sty".
Any thoughts are appreciated.
Phyco.org: For A Phyco Future.
mediawiki-l@lists.wikimedia.org