Follow-up for T60032: a maintenance script for populating pp_sortkey. This will be sloppy, because when reading pp_value from the database, we don't know the original type - the value will always be a string.
We should also double-check if there is not already something similar.
Description
Details
- Reference
- bz64949
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add a maintenance script for populating pp_sortkey | mediawiki/core | master | +107 -0 |
Related Objects
- Mentioned Here
- T60032: Allow page_props to be queried by value.
Event Timeline
I am new here and was wondering if I could contribute to resolve this bug.
What I understood from the conversation was to create a script that populates pp_sortkey column of page_props table.
Please tell what exactly should the script do ?
@Aklapper Yes , I have understood that we have to make a script that populates pp_sortkey column by taking values from pp_value.
What I would like to know -
- Wouldn't we require credentials like dbname and dbpass to connect to the database ?
- As the task is assigned, can I still work on this issue ?
@Haritha28: As you are assignee: Are you actively working on this? Any news / progress to share, or questions?
@Aklapper : As I am busy and I won't be able to work on it, I am putting the project up for grabs.
Change 355541 had a related patch set uploaded (by MtDu; owner: MtDu):
[mediawiki/core@master] Add a maintenance script for populating pp_sortkey
Change 355541 merged by jenkins-bot:
[mediawiki/core@master] Add a maintenance script for populating pp_sortkey