Last modified: 2013-02-15 09:21:38 UTC
wgIsArticle set to false on articles when wgAction = edit/submit Should be true, because no matter what action is being done, it's being done with the article. Maybe actions done via special pages, such as move or delete might be omitted, but not others.
wgIsArticle doesn't refer to whether page is a wiki page. It refers to whether we are viewing a wiki page Basically a combination of wgNamespaceId >= 0 && wgAction == view. When viewing an existing wiki page: * wgNamespaceId = 0 * wgArticleId = 2 * wgTitle = Sandbox * wgCurRevisionId = 2 * wgAction = view * wgIsArticle = true When editing a wiki page: * wgNamespaceId = 0 * wgArticleId = 2 * wgTitle = Sandbox * wgCurRevisionId = 2 * wgAction = edit * wgIsArticle = false I'm not sure in what scenario you are that wgIsArticle is giving an unexpected value, but I guess one the above mentioned variables is what you are looking for instead.