مساعدة API ميدياويكي
ÙØ°Ù ØµÙØØ© ØªÙØ«ÙÙ Ù ÙØ¯ÙاÙÙÙÙ API Ø§ÙØªÙ ØªÙ Ø¥ÙØ´Ø§Ø¤Ùا تÙÙØ§Ø¦Ùا.
ÙØ«Ø§Ø¦Ù ÙØ£Ù Ø«ÙØ©: https://www.mediawiki.org/wiki/API
action=changecontentmodel
(main | changecontentmodel)
- ÙØ°Ù اÙÙØØ¯Ø© ØªØªØ·ÙØ¨ ØµÙØ§ØÙات اÙÙØ±Ø§Ø¡Ø©.
- ÙØ°Ù اÙÙØØ¯Ø© ØªØªØ·ÙØ¨ ØµÙØ§ØÙات اÙÙØªØ§Ø¨Ø©.
- ÙØ°Ù اÙÙØØ¯Ø© ØªÙØ¨Ù Ø·ÙØ¨Ø§Øª POST ÙÙØ·.
- اÙ٠صدر:MediaWiki
- Ø§ÙØªØ±Ø®Ùص: GPL-2.0-or-later
Change the content model of a page
ÙØ³Ø§Ø¦Ø·:
- title
Title of the page to change the contentmodel of. Cannot be used together with pageid.
- pageid
Page ID of the page to change the contentmodel of. Cannot be used together with title.
- Type: integer
- summary
ØªØØ±Ùر Ù ÙØ®Øµ ÙØ³Ø¨Ø¨ Ø§ÙØªØ¯ÙÙÙ ÙÙ Ø§ÙØ³Ø¬Ù
- tags
Change tags to apply to the log entry and edit.
- اÙÙÙÙ (Ù ÙÙØµÙØ© ٠ع | Ø£Ù Ø§ÙØ¨Ø¯ÙÙ):
- model
Content model of the new content.
- This parameter is required.
- Ø¥ØØ¯Ù اÙÙÙÙ Ø§ÙØªØ§ÙÙØ©: GadgetDefinitionØ ScribuntoØ cssØ javascriptØ jsonØ sanitized-cssØ textØ wikitext
- bot
Mark the content model change with a bot flag.
- Type: boolean (details)
- token
ت٠استرداد ر٠ز Ù Ù ÙØ² "csrf" Ù Ù action=query&meta=tokens
- This parameter is required.
Ø£Ù
Ø«ÙØ©:
- Change the main page to have the
textcontent model - api.php?action=changecontentmodel&title=Main Page&model=text&token=123ABC [ÙØªØ ÙÙ Ù ÙØ¹Ø¨]