Topic on Project:Support desk

Export only latest versions of all articles of my wiki

12
Polyphon522 (talkcontribs)

Hi Im a total newb. Im using MediaWiki 1.23 on blaced.net.

When I want to make a bacup of my articles, i go through bplaced to phpMyAdmin and then export a single file (localhost.sql). I suppose this contains the full version history.


The problem is, that the export file gets from time to time bigger (now 60MB). I dont need the full version history of every article, its enough for me to export only the latest version of all articles.


How can I do this? Remember, Im newb.

Thank very much.


Malyacko (talkcontribs)
Leaderboard (talkcontribs)

There is an option in Special:Export to select only the latest revision.

Polyphon522 (talkcontribs)

Thanks. I know this page. But there is a problem. I would have to add each article of my wiki seperately in the list.

Is it possible, to secure all articles at once? I didnt put all articles in one same category.

Leaderboard (talkcontribs)

In "Add pages from namespace", select all. Leave the other columns blank and click add.

Polyphon522 (talkcontribs)

Thanks, I see. Im sorry but in my case I have to use the old version 1.23, where I dont see the bar "Add pages from namespace".

I have only the bar "Add pages from category" and "Add pages manually"  :(


Is there another way to export all latest articles, without doing it manually?

Leaderboard (talkcontribs)

You're right, but surely you can't upgrade to the latest version?

AhmadF.Cheema (talkcontribs)
Polyphon522 (talkcontribs)

Thanks for your patience guys. No it will be too much trouble to update the wiki now.

Ahmad ! I see your link Manual:$wgExportFromNamespaces, but what exactly do I have to do, to activate the bar?

Do I need to go to the article MediaWiki:Common.css ?? This article contains already this:

.tocnumber {

   display: none;

}

Leaderboard (talkcontribs)

Add $wgExportFromNamespaces = true in localsettings.php.

Polyphon522 (talkcontribs)

Thanks it helped me !

MarkAHershberger (talkcontribs)