lucamauri created this task. lucamauri added projects: Wikibase-Lua, MediaWiki-extensions-WikibaseRepository, MediaWiki-extensions-WikibaseClient, Documentation. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata.
TASK DESCRIPTION As I am willing to use mw.wikibase.getPropertyOrder <https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua#mw.wikibase.getPropertyOrder> method in a Module on my local WikiBase instance, I ended up on the manual page for Interface/Wikibase-SortedProperties <https://www.mediawiki.org/wiki/Manual:Interface/Wikibase-SortedProperties> . There are a few things regarding this page that IMHO are unclear and its use is not properly explain. I would like to improve documentation, but I need input from an expert to clarify things. **1)** First of all, is this setting a "Client" or a "Repository" one? On the manual page, the example is: $wgWBRepoSettings['propertyOrderUrl'] = $wgServer . '/w/index.php?title=MediaWiki:Wikibase-SortedProperties&action=raw&sp_ver=1'; while in the WikiData own configuration (found here on Gerrit <https://gerrit.wikimedia.org/r/#/c/operations/mediawiki-config/+/326133/2/wmf-config/Wikibase-production.php> after reading T149540 <https://phabricator.wikimedia.org/T149540>), the string is written as: $wgWBClientSettings['propertyOrderUrl'] = 'https://www.wikidata.org/w/index.php?title=MediaWiki:Wikibase-SortedProperties&action=raw&sp_ver=1'; So it is unclear if this configuration has to set once in the Repository installation, being valid for all the Clients connected, or if it needs to be set on each of the Clients. **2)** Second question: is there limitation on where the `MediaWiki:Wikibase-SortedProperties` can be placed? Can it be either on Repository or Client MediaWiki? **3)** Third question: in the manual it is written > For best results, simply follow the conventions present in Wikidata's Wikibase-SortedProperties page <https://www.wikidata.org/w/index.php?title=MediaWiki:Wikibase-SortedProperties&action=edit>. I would better specify what these conventions are. My induction is that the parsing work this way - each row //not// starting by `*` is ignored - if a row start with `*P…` or `* P…`, the property is extracted, ignoring everything following the first space after `P…` Am I correct in these assumptions? I would kindly ask anybody with a deep understanding of this mechanism to contribute here, so documentation can be improved for the sake of all the users. TASK DETAIL https://phabricator.wikimedia.org/T250634 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: lucamauri Cc: Aklapper, lucamauri, Pavithraes, darthmon_wmde, Nandana, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g, Quiddity
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs