Closed
Bug 306806
Opened 20 years ago
Closed 20 years ago
Need SQL query run prior to migration to MediaWiki 1.5
Categories
(developer.mozilla.org Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: Callek, Assigned: alex)
Details
Polvi, because we need to change the title-extension to <title-override>; rather
than causing us to have some problems after we do this, I'd like to have a list
of documents which will need "updating" once we migrate.
Can you please run the following query and post its results here.
SELECT cur_namespace, cur_title, to_title FROM $cur, $title_override WHERE
(cur_id = to_id);
where:
$cur = $dbr->tableName('cur');
$title_override = $dbr->tableName('title_override');
This may be a good idea to do for the localizations as well; though I won't do
the editing workload for them.
[I hope I did not mess up on the SQL here]
Assignee | ||
Comment 1•20 years ago
|
||
Shaver, since this is your extension -- I would like your OK before moving
along. I am not 100% clear on the implications.
-Alex
Comment 2•20 years ago
|
||
We don't need to do this ahead of time, IMO. We can update the document text in
place with SQL, and then invalidate the cache to automatically rebuild the pages
on first use. That will also avoid a pile of spurious entries in the Recent
Changes list.
Reporter | ||
Comment 3•20 years ago
|
||
shaver, that sounds perfectly fine for me, assuming that the way history diff's
are generated won't be broken by this. The Recent changes is the only thing I
was even partially worried about. Feel free to morph this bug into your
suggestion. (I will not write the SQL/maintenance script for it; Don't feel
confident enough not to mess-up somewhere along the line).
Assignee | ||
Comment 4•20 years ago
|
||
Whats the status on this? Waiting on me?
Reporter | ||
Comment 5•20 years ago
|
||
well since shaver has not run the query he thought he would (instead of this
one) it is likely waiting on you, though I believe the query I posted for pre
MW1.5 is not the correct query anymore;
polvi, though you do have what you need in order to know what I am after, if you
would rather me figure out the correct query you may wait; otherwise I will
figure it out for you in the next few days.
Assignee | ||
Comment 6•20 years ago
|
||
> polvi, though you do have what you need in order to know what I am after, if you
> would rather me figure out the correct query you may wait; otherwise I will
> figure it out for you in the next few days.
Not really sure what you are after. Just whip up the query and let me know.
Assignee | ||
Comment 7•20 years ago
|
||
This seems to be a non-issue, since we have been updated for quite some time now.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
Comment 8•20 years ago
|
||
Many occurences of <title> were replaced to title-override manually, but it would still be nice to check which pages were not updated.
Reporter | ||
Comment 9•20 years ago
|
||
well in the future we can probably extend breadcrumbs to deal with title-override anyway, so this may well be a non-issue now ;-)
Updated•19 years ago
|
Component: developer.mozilla.org → Infrastructure
Product: mozilla.org → Mozilla Developer Center
QA Contact: qa → infrastructure
Version: other → unspecified
Updated•13 years ago
|
Component: Deki Infrastructure → Other
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•