From: Krabina B. <kr...@kd...> - 2007-11-26 14:56:25
|
Dear SMW-Users, I'm having difficulties upgrading from 0.6 to 1.0. Everything seems to = be fine at first. The Wiki shows 3 Attributes in the Attributes list. I can search for these Attributes fine. But the pages have more Attributes: e. g. I have the Attribute "Geplante Rechnung" that shows in the Factbox on the pages that use it. But when I click on the magnifying glass to search for the attribute, no pages are found and this attribute is not in the list of attributes from the = special pages.=20 When I now enter one of the pages that use it, update one insignificant piece of text and save the page again, all attributes of this page work correctly (clicking on the magnifying glass next to the attribute). The attribute now shows in the list of attributes, but only one page uses it (the one I manually changed). Of course, I cannot manually open and save all my pages, so what can I = do? Your help is very much appreciated! regards, Bernhard |
From: Stefano C. <st...@io...> - 2007-11-26 15:21:20
|
Il giorno lun, 26/11/2007 alle 15.56 +0100, Krabina Bernhard ha scritto: > > Of course, I cannot manually open and save all my pages, so what can I > do? You could try using Pywikipediabot, with the touch.py script. I have used it several times and, despite not being too fast, it's efficient and clean. http://meta.wikimedia.org/wiki/Using_the_python_wikipediabot http://meta.wikimedia.org/wiki/Touch.py Best, Stefano -- Stefano Costa http://www.iosa.it Archeologia e Software Libero Io uso Debian GNU/Linux! |
From: Yaron K. <ya...@gm...> - 2007-11-26 16:04:04
|
A better solution, I think, is to use the SMW_refreshData.php script - it resaves all the semantic data in your pages, without needing to resave the pages themselves. It's found in SMW's "maintenance" directory - you just need to copy it to MW's main "maintenance" directory, then follow the instructions in the file on how to run it. -Yaron On Nov 26, 2007 9:20 AM, Stefano Costa <st...@io...> wrote: > > Il giorno lun, 26/11/2007 alle 15.56 +0100, Krabina Bernhard ha scritto: > > > > Of course, I cannot manually open and save all my pages, so what can I > > do? > > You could try using Pywikipediabot, with the touch.py script. I have > used it several times and, despite not being too fast, it's efficient > and clean. > > > http://meta.wikimedia.org/wiki/Using_the_python_wikipediabot > http://meta.wikimedia.org/wiki/Touch.py > > Best, > Stefano > > -- > Stefano Costa > http://www.iosa.it Archeologia e Software Libero > Io uso Debian GNU/Linux! > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > |
From: Thomas B. <Tho...@gm...> - 2007-11-26 16:01:19
|
* Krabina Bernhard <kr...@kd...> [2007-11-26 16:49]: > Dear SMW-Users, >=20 > I'm having difficulties upgrading from 0.6 to 1.0. Everything seems to be > fine at first. The Wiki shows 3 Attributes in the Attributes list. I can > search for these Attributes fine. >=20 > But the pages have more Attributes: e. g. I have the Attribute "Geplante > Rechnung" that shows in the Factbox on the pages that use it. AFAIK the factbox is generated on Pageview, so it is independent from the database. > But when I > click on the magnifying glass to search for the attribute, no pages are > found and this attribute is not in the list of attributes from the special > pages.=20 Probably the DB has not been initialized correctly. Did you run first "php SMW_refreshData.php -pv" and then "php SMW_refreshData.php -v" as described in INSTALL? This should normally fix your issues. > When I now enter one of the pages that use it, update one insignificant > piece of text and save the page again, all attributes of this page work > correctly (clicking on the magnifying glass next to the attribute). The > attribute now shows in the list of attributes, but only one page uses it > (the one I manually changed). BTW: pywikipedia offers a tool to do exactly that (IIRC it's called touch.py), but normally this should not be needed. Regards, Thomas |