php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #28519 TASK: identify orphan user notes and mass assign
Submitted: 2004-05-25 20:35 UTC Modified: 2004-06-28 16:21 UTC
From: goba@php.net Assigned: vrana (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
 [2004-05-25 20:35 UTC] goba@php.net
Description:
------------
{I open this up here, so someone can assign it to himself and hopefully complete the task. Plus we will not forget :) This is the best task management software we have now...}

While moving around and restructuring stuff in the manual, notes have been orphaned in the past and notes will be orphaned in the future. Currently we need to ask system admins to change the note association, so they are displayed under the new IDs. Since we have not done so some times in the past, there must be quite a few orphan attachments (and there is going to be more with current restructuring).

We do need a tool to identify orphan user notes. Since the notes are glued to the manual IDs, it is just a matter of comparing the list of current manual IDs and IDs in the note table. I am sure that some orpahns will be uncovered.

First we need a GUI to edit the manual IDs of these notes, so we can attach them to new places, then we need a mass reattachment feature, where we can specify the old and new ID and the program automatically updates all notes pointing to the old ID to point to the new one. For page splits we still need the manual interface to distribute the notes to the splitted pages as needed.

This task is up for someone to grab :) Completion would greatly help the install stuff restructuring, so we would have better chances of assigning new IDs.


Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-26 16:50 UTC] nlopess@php.net
I've made a script to collect bogus notes.

I needs a phpweb checkout (just backend/notes and manual/en).

Source: http://testes.aborla.net/bogus_notes.php
Result: http://testes.aborla.net/bogus_notes.txt

There are 63 bogus notes!!
 [2004-05-26 19:53 UTC] goba@php.net
Nuno, could you please commit the script to the phpdoc scripts folder, where these kind of scripts are supposed to be? Also it would be nice to rename it to orphan notes, or something, since bogus can really mean anything, while the script is targeted at finding orphan notes.
 [2004-06-28 16:21 UTC] nlopess@php.net
It seems everything is working now!

I'm currently cleaning up the orphan notes and I'll finish that soon.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Aug 09 09:01:28 2024 UTC