lucamauri created this task.
lucamauri added projects: MediaWiki-extensions-WikibaseClient, Wikidata.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  As explained in the manual page for Interface/Wikibase-SortedProperties 
<https://www.mediawiki.org/wiki/Manual:Interface/Wikibase-SortedProperties>, 
the order of properties in a Wikibase item is determined by parsing the 
`MediaWiki:Wikibase-SortedProperties` page with the regular expression
  
    ^[*#]+\h*(?:\[\[(?:d:)?Property:)?(P\d+\b)
  
  This matches rows with the plain property name or starting with a link, like:
  
    * P7
    * [[Property:P8]]
  
  I propose to modify the regex so it can match templates as well:
  
    * P7
    * [[Property:P8]]
    * {{NiceTemplate|P8}}
  
  This would allow the creation of a standard template to present the 
properties in a more readable and / or more detailed way to the user, still 
preserving the functionality of the page.
  The proposed regex is:
  
    ^[*#]+\h*(?:\[\[(?:d:)?Property:)?(?:{{.*|)?(P\d+\b)

TASK DETAIL
  https://phabricator.wikimedia.org/T280787

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: lucamauri
Cc: Aklapper, lucamauri, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to