Free Software Directory talk:Issues/5
This is not possible to solve unless FSF staff changes the $smwgPageSpecialProperties server-side setting. --Adfeno (talk) 20:25, 27 July 2021 (EDT)
- I vote for accepting #Revision 85879 as valid and much more cheaper approach.
- From https://www.semantic-mediawiki.org/wiki/Help:$smwgPageSpecialProperties, the use of Property:Creation date would probably require a mass update of the database (and so it is probably resource-consuming operation):
MediaWiki's maintenance script "update.php" (MediaWiki.org) followed by the maintenance script "rebuildData.php" have to be run after changing the setting of this configuration parameter.
- Another issue is that, if we take the issue title as face value, there is another problem with the proposal: MediaWiki itself (as well as Semantic MediaWiki) sort pages alphabetically, so for page address or display titles, 2 would come before 11, and the only way to make it otherwise would be to zero-left-pad every issue page address in such a way so as to account for the existing maximum digits all the issue address can have.
- For example, right now we have 2 digits, since we are still using issue numbers ranging from 1 to 99, so we would have to rename pages such as 1, 2, 3… 9 to 01, 02, 03… 09. Same for when we reach 3 digits (100—999): would have to rename all of 1—99 to have 3 decimal places. --Adfeno (talk) 14:05, 1 October 2021 (EDT)
- As an example
echo $(printf '2\n11\n113\n3\n' | sort -r)would give an idea of the sorting that MediaWiki and SMW do for page addreses, names and text, which outputs:
3 2 113 11. --Adfeno (talk) 14:24, 1 October 2021 (EDT)
Special:Diff//85879 and Special:Diff//85885 are an attempt to counter this limitation, by sorting so that the most inactive pages appear first, since the creation date is also a modification date. --Adfeno (talk) 16:47, 24 September 2021 (EDT)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.