https://bugzilla.wikimedia.org/show_bug.cgi?id=59204

       Web browser: ---
            Bug ID: 59204
           Summary: Properties do not unset on pages in custom namespaces
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Semantic MediaWiki
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: mitchell_ne...@hotmail.com
                CC: jamesin.hongkon...@gmail.com, jeroen_ded...@yahoo.com,
                    mar...@semantic-mediawiki.org, nischay...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

If you have a property set in a page in a custom namespace, the value does not
get unset if the page is subsequently deleted.

Example:
A custom namespace is defined called PRIVATE

define("NS_PRIVATE", 500);
define("NS_PRIVATE_TALK", 501);

$wgExtraNamespaces[NS_PRIVATE] = "Private";
$wgExtraNamespaces[NS_PRIVATE_TALK] = "Private_talk";

I have the namespace defined in $smwgNamespacesWithSemanticLinks

Properties defined in pages in this namespace are set. For 
example:

[[HasTitle::{{{Title|}}}]]

If the page is then deleted, the property remains set with a red link to the
deleted page. Correct behaviour should be the property is unset.

Tested on MW 1.22, SMW 1.9 master

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to