Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Numinix MediaWiki Demo
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Manual/Importing XML dumps
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Troubleshooting == <!--T:14--> === Merging histories, revision conflict, edit summaries, and other complications === <!--T:15--> </translate> <translate><!--T:145--> When importing a page with history information, if the user name already exists in the target project, change the user name in the XML file to avoid confusion.</translate> <translate><!--T:146--> If the user name is new to the target project, the contributions will still be available, but no account will be created automatically.</translate> <translate><!--T:147--> When a page is referenced through a link or a URL, generic namespace names are converted automatically.</translate> <translate><!--T:148--> If the prefix is not a recognized namespace name, the page will default to the main namespace.</translate> <translate><!--T:149--> However, prefixes like <tvar name=1><code>mw:</code></tvar> might be ignored on projects that use them for interwiki linking.</translate> <translate><!--T:150--> In such cases, it might be beneficial to change the prefix to "Project:" in the XML file before importing.</translate> <translate><!--T:151--> If a page with the same name already exists, importing revisions will combine their histories.</translate> <translate><!--T:152--> Adding a revision between two existing ones can make the next user's changes appear different.</translate> <translate><!--T:153--> To see the actual change, compare the two original revisions, not the inserted one.</translate> <translate><!--T:154--> So, only insert revisions to properly rebuild the page history.</translate> <translate><!--T:155--> A revision won't be imported if there's already a revision with the same date and time.</translate> <translate><!--T:156--> This usually happens if it's been imported before, either to the current, a previous wiki, or both, possibly from a third site.</translate> <translate><!--T:157--> An edit summary might reference or link to another page, which can be confusing if the page being linked to has not been imported, even though the referencing page has been.</translate> <translate><!--T:158--> The edit summary doesn't automatically indicate whether the page has been imported, but in the case of an upload import, you can add this information to the edit summaries in the XML file before the import.</translate> <translate><!--T:159--> This can help prevent confusion. When modifying the XML file with find/replace, keep in mind that adding text to the edit summaries requires differentiating between edits with and without an edit summary.</translate> <translate><!--T:160--> If there are multiple comment tags in the XML file, only the last set will be applied.</translate> <translate> === Interwikis === <!--T:16--> </translate> </tvar> linking.</translate> |1= }} <translate><!--T:74--> For example, ones with a prefix of 'Meta:' would conflict with the interwiki prefix <tvar name=2><code>meta:</code></tvar> which by default links to <tvar name=3><nowiki>https://meta.wikimedia.org</nowiki></tvar>.</translate> <translate> <!--T:46--> You can do any of the following. </translate> *<translate><!--T:47--> Remove the prefix from the <tvar name=2></tvar> table.</translate> <translate><!--T:55--> This will preserve page titles, but prevent interwiki linking through that prefix.</translate> *:<translate><!--T:48--> Example: you will preserve page titles 'Meta:Blah blah' but will not be able to use the prefix 'meta:' to link to meta.wikimedia.org (although it will be possible through a different prefix).</translate> *:<translate><!--T:49--> How to do it: before importing the dump, run the query <tvar name=1><code>DELETE FROM interwiki WHERE iw_prefix='prefix'</code></tvar> (note: do not include the colon in the <code>prefix</code>).</translate> <translate><!--T:56--> Alternatively, if you have [[<tvar name=2>Special:MyLanguage/Manual:Guide to setting up interwiki linking</tvar>|enabled editing the interwiki table]], you can simply go to <tvar name=3>[[Special:Interwiki]]</tvar> and click the 'Delete' link on the right side of the row belonging to that prefix.</translate> *<translate><!--T:50--> Replace the unwanted prefix in the XML file with "Project:" before importing. This will preserve the functionality of the prefix as an interlink, but will replace the prefix in the page titles with the name of the wiki where they're imported into, and might be quite a pain to do on large dumps.</translate> *:<translate><!--T:51--> Example: replace all 'Meta:' with 'Project:' in the XML file. MediaWiki will then replace 'Project:' with the name of your wiki during importing.</translate> <translate>
Summary:
Please note that all contributions to Numinix MediaWiki Demo may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)