Jump to content

Help:Export

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Anchorsjournalistssouth (talk | contribs) at 10:54, 7 November 2016 (Career). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Wiki pages can be exported in a special XML format to import into another MediaWiki installation or use it elsewise for instance for analysing the content. See also m:Syndication feeds for exporting all other information except pages, and see Help:Import on importing pages.


How to export

There are at least six ways to export pages:

By default only the current version of a page is included. Optionally you can get all versions with date, time, user name and edit summary.

Additionally you can copy the SQL database. This is how dumps of the database were made available before MediaWiki 1.5 and it won't be explained here further.

Using 'Special:Export'

To export all pages of a namespace, for example.

1. Get the names of pages to export

  • Go to Special:Allpages and choose the desired namespace.
  • Copy the list of page names to a text editor
  • Put all page names on separate lines
  • Prefix the namespace to the page names (e.g. 'Help:Contents'), unless the selected namespace is the main namespace.

2. Perform the export

  • Go to Special:Export and paste all your page names into the textbox, making sure there are no empty lines.
  • Click 'Submit query'
  • Save the resulting XML to a file using your browser's save facility.

and finally...

  • Open the XML file in a text editor. Scroll to the bottom to check for error messages.

Now you can use this XML file to perform an import.

Exporting the full history

A checkbox in the Special:Export interface selects whether to export the full history (all versions of an article) or the most recent version of articles. A maximum of 1000 revisions are returned; other revisions can be requested as detailed in MW:Parameters to Special:Export.

Export format

The format of the XML file you receive is the same in all ways. This format is codified in XML Schema at http://www.mediawiki.org/xml/export-0.6.xsd. This format is not intended for viewing in a web browser, though some browsers show you pretty-printed XML with "+" and "-" links to view or hide selected parts. Alternatively the XML-source can be viewed using the "view source" feature of the browser, or after saving the XML file locally, with a program of choice. If you directly read the XML source it won't be difficult to find the actual wikitext. If you don't use a special XML editor "<" and ">" appear as &lt; and &gt;, to avoid a conflict with XML tags; to avoid ambiguity, "&" is coded as "&amp;".

In the current version the export format does not contain an XML replacement of wiki markup (see Wikipedia DTD for an older proposal, or Wiki Markup Language). You only get the wikitext as you get when editing the article. (After export you can use alternative parsers to convert wikitext to other format)

Sharon. (Benjamin Sharon Evangeline)
Born (1991-06-05) June 5, 1991 (age 33)
Occupation(s)Journalist, singer

Early life

Sharon was born in Vizag to Ravi Benjamin a popular senior Journalist.Mother Indira Benjamin. Her maternal grandfather is THE HINDU senior noted journalist in of All, Chennai..Sharon's fame and also she's the first christian woman staff who rose to fame in this journalism field.

Career

Sharon a MBA graduate started her career in TV anchoring with Sakshi Television did popular shows like Hamara Hyderabad. She later moved onto Tollywood television as Guest Anchor and within a week due to her awesome intelligency viewership went onto 1lakh during her show,later moved on to 99tv as Incharge of Powerful Crime Branch of Cyberabad Police Commisionarate and Human Rights Commision which brought her fame also and next to CVR English news channel as Associate editor for political and film news bullitens successfully and resigned later.She was Executive editor for Coastal Corridor news paper her father's newspaper.[1] She hosts .

She interviewed over more than 100 celebrities on the Programme, Close Encounters,Handled and filled special Half an hour slot naming "HAMARA HYDERABAD" in Sakshi Tv also covered all stories regarding Lifestyle and mainly Humanitarian Stories ,problems focusing exclusively on Hyd’s many issues such as Outer ring road, Hussain Sagar and so on as mixture successfully.


Special Performances : Interviewed : Hon.Governor Narsimhan and Mrs.Governor, CONGRESS Minister Geetha Reddy, YSRCP V.Ram mohan, TDP Mothkupally, Rayapati, TDP Revanth Reddy, CONGRESS Minister Dharmana Prasad Rao, CONGRESS Minister Raghuveera Reddy, BJP Bandaaru dhatthatreya, BJP Kishan Reddy,EX TDP N NOW YSRCP Praveen Kumar Reddy , YSRC Ambati, Ysrc Roja, aCTORS CUM pOLITICIANS -Jeevitha Rajshekar, Producer Dil Raju, Sreenu vaitla , MIM Party Asadhuddhin Owaisi, Ysrc Roja, Loksatta Jp, Many Heroine, HEro, Directors,Producers, also covered many Political dharnas of YSRCP and TDP, ....etc and many more POLITICAL AND FILM PERSONALITIES SUCCESSFULLY.

CAREER HIGHLIGHTS: Sharon acted in advertisements in saree ads Kannada at her 18's and after this add published she was suddenly flooded with offers asked to join kannada,tamil and telugu film industry which pays her huge amount but she smartly denied the offer and made her mark in Media.She got huge remuneration and offers from very big directors from Film Industry besides Ramcharan Tej Chiru's son for huge remuneration but she didn't take it up.But recently she acted in film "Ardhanari" as news anchor which made her dream come true.She says she wont be acting or into any of these as God's huge plans are different and sources say that she's going to change her Life's route to God's route.

AWARDS:

Sharon, anchor cum journalist was honored by prestigious Benz Vacations a World wide company granting her the "BEST JOURNALIST AWARD from the hands of Popular Actress,Heroine Amala Paul.In a very short span Sharon was amazing in this field.

She was blessed with huge followers during her television.She had many fans. Sources reported that very vvips from Political and Film Industry families,SERIAL ARTISTS and the most wanted business magnets were proposing her ofcourse a common thing to television journalists and anchors.Anyways there seems no information that she accepted anyone ,she says nothing is in my hands and everything is preplanned.She also says why do I need to hide if sthng is there.Nothing is there they are just my friends. Many of Vips and her fans,friends from media are very eager to know with whom she's getting hitched/married. We should wait and see the most luckiest gui she gets married. Many big people are expected politicians,media,film industry,Govt officials,Bishops,reverends attend this VIP marriage.Marriage will take place according to Christian rituals as she's protestant Christian and popular Parents who are Senior Evangelists and Senior Journalists.

SHARON'S PARENTS HAIL FROM HINDU BRAHMIN COMMUNITY later took christian faith .HER FATHER RAVI BENJAMIN IS SENIOR JOURNALIST WHO WANTED TO BECOME A POLITICIAN AND HE WAS INTO POLITICS FOR SOMETIME BUT LATER HE RECEIVED TOUCH FROM JESUS CHRIST AND ACCORDING TO GOD'S WILL HE WAS A JOURNALIST VERY SENIOR POPULAR JOURNALIST AND POPULAR EVANGELIST . HE INTERVIEWED ALL POLITICAL PARTY SENIOR LEADERS ALL CHIEF MINISTERS,PRIME MINISTERS,AND MANY DIGNITARIES LIKE MOTHER TERESA.RAVI PRASAD BENJAMIN A LEGENDARY JOURNALIST. HER MOTHER IS SPEAKER ,SINGER AND TRANSLATOR AND MANAGING DIRECTOR FOR CARING PEOPLE FOUNDATION ,UNDER THAT BANNER THOUSANDS OF POOR FAMILIES BENEFITTED IN INDIA. Sharon has a small sibling Catherine Susan Benjamin.

References

  1. ^ Cite error: The named reference murthy was invoked but never defined (see the help page).


DTD

Here is an unofficial, short Document Type Definition version of the format. If you don't know what a DTD is just ignore it.

<!ELEMENT mediawiki (siteinfo?,page*)>
<!-- version contains the version number of the format (currently 0.3) -->
<!ATTLIST mediawiki
  version  CDATA  #REQUIRED 
  xmlns CDATA #FIXED "http://www.mediawiki.org/xml/export-0.3/"
  xmlns:xsi CDATA #FIXED "http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation CDATA #FIXED
    "http://www.mediawiki.org/xml/export-0.3/ http://www.mediawiki.org/xml/export-0.3.xsd"
>
<!ELEMENT siteinfo (sitename,base,generator,case,namespaces)>
<!ELEMENT sitename (#PCDATA)>      <!-- name of the wiki -->
<!ELEMENT base (#PCDATA)>          <!-- url of the main page -->
<!ELEMENT generator (#PCDATA)>     <!-- MediaWiki version string -->
<!ELEMENT case (#PCDATA)>          <!-- how cases in page names are handled -->
   <!-- possible values: 'first-letter' | 'case-sensitive'
                         'case-insensitive' option is reserved for future -->
<!ELEMENT namespaces (namespace+)> <!-- list of namespaces and prefixes -->
  <!ELEMENT namespace (#PCDATA)>     <!-- contains namespace prefix -->
  <!ATTLIST namespace key CDATA #REQUIRED> <!-- internal namespace number -->
<!ELEMENT page (title,id?,restrictions?,(revision|upload)*)>
  <!ELEMENT title (#PCDATA)>         <!-- Title with namespace prefix -->
  <!ELEMENT id (#PCDATA)> 
  <!ELEMENT restrictions (#PCDATA)>  <!-- optional page restrictions -->
<!ELEMENT revision (id?,timestamp,contributor,minor?,comment,text)>
  <!ELEMENT timestamp (#PCDATA)>     <!-- according to ISO8601 -->
  <!ELEMENT minor EMPTY>             <!-- minor flag -->
  <!ELEMENT comment (#PCDATA)> 
  <!ELEMENT text (#PCDATA)>          <!-- Wikisyntax -->
  <!ATTLIST text xml:space CDATA  #FIXED "preserve">
<!ELEMENT contributor ((username,id) | ip)>
  <!ELEMENT username (#PCDATA)>
  <!ELEMENT ip (#PCDATA)>
<!ELEMENT upload (timestamp,contributor,comment?,filename,src,size)>
  <!ELEMENT filename (#PCDATA)>
  <!ELEMENT src (#PCDATA)>
  <!ELEMENT size (#PCDATA)>

Processing XML export

There are undoubtedly many tools which can process the exported XML. If you process a large number of pages (for instance a whole dump) you probably won't be able to get the document in main memory so you will need a parser based on SAX or other event-driven methods.

You can also just use regular expressions to directly process parts of the XML code. This may be faster than other methods but not recommended because it's difficult to maintain.

Please list methods and tools for processing XML export here:

Details and practical advice

  • To determine the namespace of a page you have to match its title to the prefixed defined in

/mediawiki/siteinfo/namespaces/namespace

  • Possible restrictions are
    • sysop (protected pages)

See also

Wikipedia-specific help