User:Technical 13/Scripts/OrphanStatus.js: Difference between revisions

Content deleted Content added
Technical 13 (talk | contribs)
Hrmm.. Not deOrphaning again... So confused, since nothing changed that's important (or so I think)...
Technical 13 (talk | contribs)
Ahh-ha! It was failing to deOrphan the pages tagged as orphans using the OLD style parameters for Multiple issues!
Line 14:
$.get(mw.config.get( 'wgScriptPath' )+"/api.php", deOrphanerRequest, function(deOrphanerResponse){
var deOrphanerContent = $(deOrphanerResponse).find('rev').text();
deOrphanerContent = deOrphanerContent.replace(/\{\{Orphan(.*?)\}\}\n/gi, "")
.replace(/\{\{Orphan(.*?)\}\}[\|\n]/gi, "")// Parse out orphan template (not) in multiple issues
.replace(/\| *Orphan *= *(*.?)\n?/gi, "");// Parse out old style orphan paramater from multiple issues
var deOrphanerSubmit = {
action: "edit",