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

       Web browser: ---
             Bug #: 29909
           Summary: Modification date default properties are not created
                    for pages in namespaces recently added to SMW
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Semantic MediaWiki
        AssignedTo: mar...@semantic-mediawiki.org
        ReportedBy: fastgoldf...@gmail.com
                CC: jeroen_ded...@yahoo.com
    Classification: Unclassified


When a namespace is added to LocalSettings.php using the parameter
$smwgNamespacesWithSemanticLinks, the pages in the newly added namespace will
not be updated to have the default property "Modification date". This needs to
be corrected to add this property.

The only solution I know of is to manually click "Edit" on each page, and then
click "Save". That will work even if nothing is changed. If nothing is changed,
then the correct modification date will be shown even if it is a date from
before the namespace was added.

Since the manual solution to this is so simple, I think it will be
straightforward to automatically fix this problem using the maintenance script
in Special:SMWAdmin simply by making it repeat the manual solution above in an
automatic fashion for all EXISTING pages in the newly added namespace that do
not have a modification date property.

Since SMW has a bug with deleted pages
(https://bugzilla.wikimedia.org/show_bug.cgi?id=29892), it is important to make
sure that the pages really exist before doing this procedure.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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