Page MenuHomePhabricator

Allow editor-control of order of cites expanded at "<references/>"
Closed, DeclinedPublic

Description

cite.php with modifications to implement this functionality

Introduces "decl=" as an alternative to "name=". "<Ref decl=whatever>...</ref>" refs should be placed in a block early in the wikitext. They will be stacked but not expanded. Subsequent "<Ref name=whatever/>" will be expanded. Expansion will be done in whatever order the "<Ref decl=whatever>...</ref>" are placed in by editors.

A cite.php file modified to implement this is attached. changes are based on a cite.php file which i downloaded from mediawiki within the last few days.

Note: I'm new to coding for wiki. If I should be doing something other than this or more than this, please let me know.


Version: unspecified
Severity: enhancement

Attached:

Details

Reference
bz12498

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:00 PM
bzimport added a project: Cite.
bzimport set Reference to bz12498.
bzimport added a subscriber: Unknown Object (MLST).

Test case wikitext

Test case wikitext for Bug 12498

Attached:

I submitted this bug, and just changed the resolution to WONTFIX. I plan to submit a modified version of the suggested code changes with enhanced functionality RSN, and I don't want anyone wasting time on this version in the meantime.