Page MenuHomePhabricator

MySQL-specific queries in /profileinfo.php
Closed, ResolvedPublic

Description

Author: nickpj

Description:
MySQL-specific queries in /profileinfo.php. (e.g. grep
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/profileinfo.php for "mysql")

Possible enhancement of adding support for other databases (e.g. postgres,
oracle) to /profileinfo.php


Version: 1.15.x
Severity: normal

Details

Reference
bz6802

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.
StatusSubtypeAssignedTask
InvalidNone
ResolvedNone

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:21 PM
bzimport set Reference to bz6802.
bzimport added a subscriber: Unknown Object (MLST).

xzilla wrote:

replace mysql specific code with db agnostic code

In theory this should work, though I don't have any profile info to test it
with nor mysql system to test it on, but it does run without errors on my
install using pg. Also including setup.php is probably not the right way to do
things...

Attached:

karun.84 wrote:

replaces mysql specific code with code that is not database specific

I have modified the code that was mysql specific to use the similiar standard at http://www.mediawiki.org/wiki/Manual:Database_access so that the page will work with PostGreSQL>

Attached:

Jdforrester-WMF subscribed.

Migrating from the old tracking task to a tag for PostgreSQL-related tasks.