Re: [Tiki-devel] Changing page version number

Volker Wysk <post-hhF2Jplw28UoZk/[email protected]>
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
Looks like I made it.

The first version of my MoinMoin-to-Tiki migration tool is very near now. 
:-)

Happy hacking,
Volker


Am Montag, dem 01.08.2022 um 15:42 +0100 schrieb Jonny Bradley via TikiWiki-
devel:
> Hi Volker
> 
> Really couldn't say without trying it, i'd imaging you'd need to delete the record in `tiki_history` for the existing version 1 first, then you might need to flush the tiki caches, can you try on a test version?
> 
> Good luck!
> 
> jonny
> 
> 
> 
> 
> > On 31 Jul 2022, at 18:11, Volker Wysk <post-hhF2Jplw28UoZk/[email protected]> wrote:
> > 
> > Hi
> > 
> > Could it be as simple as:
> > 
> >   update tiki_pages set version = 1 
> >   where pageName = "mypage" and version = 2;
> > 
> > Or would that result in unexpected behavior?
> > Cheers, Volker
> > 
> > 
> > Am Sonntag, dem 31.07.2022 um 18:52 +0200 schrieb Volker Wysk:
> > > Hi!!
> > > 
> > > Is it possible to change the version number of a wiki page, which has one
> > > unique version with the number 2, to number 1?
> > > 
> > > I guess I would have to directly manipulate the database. Could some kind
> > > Tiki hacker show me how this is to be done?
> > > 
> > > I'm afraid I would break things, since I have hardly any experience.
> > > 
> > > Cheers,
> > > Volker
> > > _______________________________________________
> > > TikiWiki-devel mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> > _______________________________________________
> > TikiWiki-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> 
> 
> _______________________________________________
> TikiWiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE6QXGh82Ov3+2nrxp+K4ydFOsHoUFAmLoAWUACgkQ+K4ydFOs
HoWQaBAA1LCfTXTfL+ArixZGDVemGg54SmQiiON7ovqi5r93ZJxbXMmzlhMF/xVY
jtuI3wgGT3HNU3YdN6O2XLhhgvi+FVoAzd7luQSM1qrqvtyrww0+fyn8yJA2usDi
7E0ay+gJOg0RgAiGjhqkY9fUdX8H7TR/cM+RojdJ30qgalSp/dADqGffgdNg6PIw
WIop7qcD9BvqtlP3HzHUBZvR4E7kTQRESkiOW8x8RqMMD6IhExK15579it7zb/YE
3xJ3HF/0XGzEcyD23kx4Xy4IEw2b97VQKEAZFWe86s0RK3BLo7sn4+8+TngRj+29
djCGBXWWqFg+QErzczxrf6YtWwEYG8AUhlM6gZshGY7ZubRap78+XcB15Gwm2qMj
5f6TAPV2otVq6Y0RwnRtFR7vShJhHqd4vZTti7XlqStu1yDU0AM0KctbLDiN7zLT
AiqDHuB4cOW5JMf7jH750+awJX1AS4yeBz32uUWa9sOzPJTRd0gyqpENSNM0am3Y
lWr62c3DMwwAPXnR8arascYxp93Mq4mqQKiyWcsYAr+cYlfHdMr3o7z6LMFOTYmW
dUIfmMFVbtWSFcMvKLp0OBJIUhGLrymA5LghOFKYSCkN8rrI4qtDo/ieiE/k2fwl
gYFn10OKqB7wx/Mn96oVubxzBlG5/BJhQGw0HAHz/QeyquJAC8k=
=llDQ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.