User:Yahya/scripts/SNA
Appearance
SNA | |
---|---|
Description | An article or draft can be started easily from sidebar |
Author(s) | Yahya |
Status | Stable |
First released | January 9, 2021 |
Updated | January 9, 2021 |
Browsers | all javascript enabled browser |
Skins | Vector, timeless, minerva |
Source | User:Yahya/scripts/SNA.js |
SNA (Start New Article or draft) is a user script to start a new article or draft easily from navigation bar. This will add links to create new article and draft in the navigation bar of both desktop and mobile (where there are links to the main page and random article). Clicking on the link will bring up a prompt box. Enter the name of the article, page or draft you want to create and click the ok button. Then a new window with edit box will open.
Installation
[edit]To use this script, add the following to your /common.js or to your /global.js-
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Yahya/scripts/SNA.js&action=raw&ctype=text/javascript');
//backlink: [[User:Yahya/scripts/SNA.js]]
Shows pop-up blocked without opening new window?
[edit]The problem is in your browser settings. The solution is to go to your browser's site settings. Allow or enable Pop-ups & redirect there. Note that the method may vary by browser.