Last modified: 2013-10-18 13:43:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57561, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55561 - Updating existing WikiPage in wikimedia
Updating existing WikiPage in wikimedia
Status: RESOLVED INVALID
Product: Datasets
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Ariel T. Glenn
aklapper-moreinfo
:
: 55504 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-10 13:34 UTC by rohinipagar1
Modified: 2013-10-18 13:43 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description rohinipagar1 2013-10-10 13:34:27 UTC
Hi,

I need to overwrite an existing Wiki page using Export and Import utility.

I have followed the below steps :

1. Extracted data of an existing Wikipage in XML using the "export utility" (http://www.mediawiki.org/wiki/Special:Export)

Note : kept the "Include Templates" checkbox untick. Other 2 were ticked.

Eg : abcd.xml

-<mediawiki xmlns="http://www.mediamediawiki.org/wiki " xmlns:xsl="http://www.w3.org/2001/"
  xsl:schemaLocation = "http://www.mediawiki.org/xml/export...." version="0.4" xml:tang='en">

  -<siteinfo>
    -<sitename>ABCD</sitename>
    -<namespace>Media</namespace>
   </siteinfo>

 -<page>
   <title>NEW</title>
   <id>25</id>
   -<revision>
     <id>12345</id>
     <timestamp>2013-10-09</timestamp>
      <contributor>
        <username>rohi</username>
        <id>1</id>
      </contributor>
      <text xml:space="preserve"> {{ Documenation |name=XYZ |phonenumber=123456789 }} </text>
     </revision>
    </page>
</mediawiki>


2. Made below changes in the above XML file.

Changed phonenumber value as"phonenumber=9999999 ".

Deleted the below tags from <revision> tag
<id>12345</id>
<timestamp>2013-10-09</timestamp>
<id>1</id>


Below is updated abcd.xml

-<mediawiki xmlns="http://www.mediamediawiki.org/wiki " xmlns:xsl="http://www.w3.org/2001/"
  xsl:schemaLocation = "http://www.mediawiki.org/xml/export...." version="0.4" xml:tang='en">

  -<siteinfo>
    -<sitename>ABCD</sitename>
    -<namespace>Media</namespace>
   </siteinfo>

 -<page>
   <title>NEW</title>
   <id>25</id>
   -<revision>

      <contributor>
        <username>rohi</username>
       
      </contributor>
      <text xml:space="preserve"> {{ Documenation |name=XYZ |phonenumber=9999999 }} </text>
     </revision>
    </page>
</mediawiki>


3. Imported the above XML file.

Is this this the correct procedure to overwrite an existing Wikipage?
Do I need to add or remove any tags ?

Thanks
Comment 1 Andre Klapper 2013-10-10 13:51:30 UTC
*** Bug 55504 has been marked as a duplicate of this bug. ***
Comment 2 Andre Klapper 2013-10-10 14:09:41 UTC
(In reply to comment #0)
> Is this this the correct procedure to overwrite an existing Wikipage?

Did things not work, or why do you ask? If things did not work, what was the outcome?
Comment 3 rohinipagar1 2013-10-14 11:57:16 UTC
Hi,

The import procedure completed successfully but, the changes made in the abcd.xml i.e Changed phonenumber value as "phonenumber=9999999" did not reflect even after importing the abcd.xml

The wikipage contained the previous data for "phonenumber" as "123456789".

Thanks
Comment 4 Andre Klapper 2013-10-14 15:43:17 UTC
I don't know what abcd.xml is and at which exact step "changes made" happened. 
A specific testcase and clear, step-by-step descriptions might be helpful. See https://www.mediawiki.org/wiki/How_to_report_a_bug .
Currently I don't see a valid bug report here yet, but a case for support at https://www.mediawiki.org/wiki/Project:Support_desk
Comment 5 rohinipagar1 2013-10-18 12:33:15 UTC
Hi Andre,

Sorry if I was not clear. I am trying to seek help on the import feature in Wiki and actually not reporting any bug. If I have landed into a wrong place, please suggest where this can be posted. 

Thanks
Rohini.
Comment 6 Andre Klapper 2013-10-18 13:43:53 UTC
I see. Please ask on https://www.mediawiki.org/wiki/Project:Support_desk instead.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links