User:Technical 13/Scripts/OrphanStatus

Code Anchors
AuthorTechnical 13
Status
Beta
UpdatedNovember 25, 2019
    (6 years ago)
BrowsersFirefox 33
SkinsVector
SourceUser:Technical 13/Scripts/OrphanStatus.js

This script runs while viewing pages in article space that are tagged with {{Orphan}} or some version of it (anything that has ended up in Category:Orphaned articles) and gives the orphan status of the page by checking the number of incoming links.
If there is at least one incoming link from article space (it will offer a link to "other pages" which is a filtered WhatLinksHere so you can see exactly which articles), then there will be a deOrphan link. Clicking that link will try and remove the {{Orphan}} tag from the page.
When the attempt (successful or not) is completed it will either give a link to load only the diff of the edit (in cases where it detected the old syntax for Multiple issues which it has trouble with in some cases) or links to reload or view the diff.

[[?title=User_talk:Technical_13/Scripts/OrphanStatus&action=edit&section=new&preloadtitle=Bug+Report+%7B%7Bsubst%3A%23time%3Ad+M+Y%7Cnow%7D%7D Report a bug |?title=User_talk:Technical_13/Scripts/OrphanStatus&action=edit&section=new&preloadtitle=Bug+Report+%7B%7Bsubst%3A%23time%3Ad+M+Y%7Cnow%7D%7D Report a bug]] [[?title=User_talk:Technical_13/Scripts/OrphanStatus&action=edit&section=new&preloadtitle=Feature+Request+%7B%7Bsubst%3A%23time%3Ad+M+Y%7Cnow%7D%7D Request a feature |?title=User_talk:Technical_13/Scripts/OrphanStatus&action=edit&section=new&preloadtitle=Feature+Request+%7B%7Bsubst%3A%23time%3Ad+M+Y%7Cnow%7D%7D Request a feature]]

Using this script

On the English Wikipedia

This script can be imported to skin.js or common.js by adding:

importScript( 'User:Technical 13/Scripts/OrphanStatus.js' );// [[User:Technical 13/Scripts/OrphanStatus]]

Step two

Once you have saved the above to your common.js, you will have to WP:BYPASS your cache to see the effects.

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.