Page MenuHomePhabricator

Improve the Page: pages storage system
Open, MediumPublic

Description

Page pages are currently stored in the database as a customized wikitext content:
<noinclude><pagequality level="LEVEL" user="LAST PROOFREADER" />HEADER<div class="pagetext">BODY<noinclude>FOOTER</noinclude>

We should consider to move to a new storage system maybe with the help of the ContentHandler but before a refactoring of the edition related code is needed (bug T48578).

A possible new content format base of JSON:
{

"proofread": {
   "level": LEVEL AS INTEGER,
   "user": "LAST PROOFREADER"
},
"header": "HEADER",
"footer": "FOOTER",
"body": "BODY"

}


Version: unspecified
Severity: enhancement

Details

Reference
bz46724

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:31 AM
bzimport added a project: ProofreadPage.
bzimport set Reference to bz46724.
bzimport added a subscriber: Unknown Object (MLST).
Tpt created this task.Mar 30 2013, 3:29 PM
GOIII added a subscriber: GOIII.Mar 22 2015, 6:05 PM
GOIII raised the priority of this task from Low to Medium.Mar 22 2015, 6:10 PM
GOIII moved this task from Backlog to Next-up on the Wikisource board.Mar 22 2015, 6:14 PM
Tpt added a comment.Mar 23 2015, 7:06 AM

Short update: this format is already implemented in ProofreadPage as "optional" format (i.e. not used to save content but usable in order to get/save content): https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FProofreadPage.git/f8af3e22308d5494ae717ea858a3003288b74683/includes%2Fpage%2FPageContentHandler.php#L52

Ankry added a subscriber: Ankry.Mar 23 2015, 5:23 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 19 2015, 8:24 PM
Mpaa added a subscriber: Mpaa.Apr 22 2016, 5:48 PM
Xover added a subscriber: Xover.Jan 4 2019, 6:51 PM
JAnD updated the task description. (Show Details)Oct 28 2019, 10:06 PM