MediaWiki:Gadget-Pikan-core.js: Difference between revisions

Made it not detect uppercase problems if it's the first word in a section header.
(Created page with "// ==UserScript== // @name Pikan - Pikipedia analyzer // @namespace Pikipedia // @description Analyzes a wiki page while editing to make sure it follows the standards...")
 
(Made it not detect uppercase problems if it's the first word in a section header.)
Line 1,029: Line 1,029:
   }
   }
    
    
   //Ignore bold and italics, lists, quotes, and spaces.
   //Ignore bold and italics, lists, quotes, equals, spaces.
   while(
   while(
     before[before.length - 1] == "'" ||
     before[before.length - 1] == "'" ||
Line 1,035: Line 1,035:
     before[before.length - 1] == "#" ||
     before[before.length - 1] == "#" ||
     before[before.length - 1] == "\"" ||
     before[before.length - 1] == "\"" ||
    before[before.length - 1] == "=" ||
     before[before.length - 1] == " "
     before[before.length - 1] == " "
   ){
   ){