Search results
Results from the WOW.Com Content Network
For example, maybe you have a bot that publishes certain data to a Wiki page regularly, and you want your script to read that data. Careful with ctype. Set it to raw for normal Wiki pages, and application/json for pages where a template editor or admin has set the Content Model to JSON.
Adds link to deletedrevisions API output on deleted pages. 52: 32: DynaThank : Hides "thank" links on History pages until you choose to display them. 14: 1: hide-reverted-edits : Shows a sanitized version of page history by hiding reverted edits and the reverts themselves. Activated by a button next to "Compare selected revisions". 30: 12
First, make sure you are registered and logged in.Only logged-in users can install user scripts. to edit your common.js file.; Add the following line: {{subst:Lusc|script_path}} – replace "script_path" with the full name of the .js page that opens when a script's "(source)" link is clicked.
This page was last edited on 2 December 2023, at 02:56 (UTC).; Text is available under the Creative Commons Attribution-ShareAlike 4.0 License; additional terms may apply.
An advanced API for interacting with Wikipedia content is being developed, large parts of which are already operational. The various possibilities are described at mw:API . The idea is to send an AJAX request (see below) to the API containing a query.
An application programming interface (API) is a connection between computers or between computer programs. It is a type of software interface, offering a service to other pieces of software. [1] A document or standard that describes how to build such a connection or interface is called an API specification.
There's no edit toolbar, because there's no need for buttons for inserting a signature, or a table, or other text. There's also a message about using the "Show preview" button to test the added JavaScript before saving the page. 4. Add an edit summary (Adding JavaScript for user tabs, for example) and then click the "Show preview" button.
If you would like to join this WikiProject for developing user scripts and Wikipedia's JavaScript-related pages, please add your username here: Alexander Davronov (talk · contribs) — Only occasional help. Wrote User:Alexander Davronov/HistoryHelper. Ping me if you get involved into JS related discussions.