[Pywikipedia-bugs] [Maniphest] [Commented On] T74101: cmstartsortkey: DEPRECATED! Use starthexsortkey instead

2021-02-15 Thread gerritbot
gerritbot added a comment. Change 662081 **merged** by jenkins-bot: [pywikibot/core@master] [cleanup] Drop startsort/endsort parameter for site.categorymembers method https://gerrit.wikimedia.org/r/662081 TASK DETAIL https://phabricator.wikimedia.org/T74101 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T74101: cmstartsortkey: DEPRECATED! Use starthexsortkey instead

2021-02-06 Thread gerritbot
gerritbot added a comment. Change 662081 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] [cleanup] Drop startsort/endsort parameter for site.categorymembers method https://gerrit.wikimedia.org/r/662081 TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T74101: cmstartsortkey: DEPRECATED! Use starthexsortkey instead

2018-04-24 Thread gerritbot
gerritbot added a comment. Change 284637 abandoned by Xqt: [Fix] Use startsortkeyprefix instead of startsortkey for mw >= 1.18 Reason: Already solved https://gerrit.wikimedia.org/r/284637TASK DETAILhttps://phabricator.wikimedia.org/T74101EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T74101: cmstartsortkey: DEPRECATED! Use starthexsortkey instead

2018-04-22 Thread gerritbot
gerritbot added a comment. Change 428148 merged by jenkins-bot: [pywikibot/core@master] CategorizedPageGenerator: Use startprefix parameter of category.articles https://gerrit.wikimedia.org/r/428148TASK DETAILhttps://phabricator.wikimedia.org/T74101EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T74101: cmstartsortkey: DEPRECATED! Use starthexsortkey instead

2018-04-22 Thread gerritbot
gerritbot added a comment. Change 428148 had a related patch set uploaded (by Dalba; owner: Dalba): [pywikibot/core@master] CategorizedPageGenerator: Use startprefix parameter of category.articles https://gerrit.wikimedia.org/r/428148TASK DETAILhttps://phabricator.wikimedia.org/T74101EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T74101: cmstartsortkey: DEPRECATED! Use starthexsortkey instead

2016-08-20 Thread Xqt
Xqt added a comment. Don't know why we have to use the hexcodes anymore. Why couldn't we use just cmstartsortkeyprefix which always overrides `cmstarthexsortkey` and use sortkeyprefix as cmprop argument?TASK DETAILhttps://phabricator.wikimedia.org/T74101EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T74101: cmstartsortkey: DEPRECATED! Use starthexsortkey instead

2016-08-16 Thread Dalba
Dalba added a comment. Just noticed that if the user is trying to pass the cl_sortkey from the database to the bot, then the change I proposed above will break the bot's operation... :/ Maybe we can find a method to detect binary string values and convert them to hexadecimal sortkeys...TASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T74101: cmstartsortkey: DEPRECATED! Use starthexsortkey instead

2016-08-16 Thread Dalba
Dalba added a comment. The relation between the old cmstartsortkey and the new cmstarthexsortkey is as follows: (I'm using Python 3 here) import binascii cmstarthexsortkey = '26589262ff277e03042692ff274d217e032627017e88010e' cmstartsortkey = binascii.unhexlify(cmstarthexsortkey ).decode('utf-8',

[Pywikipedia-bugs] [Maniphest] [Commented On] T74101: cmstartsortkey: DEPRECATED! Use starthexsortkey instead

2016-04-21 Thread gerritbot
gerritbot added a comment. Change 284637 had a related patch set uploaded (by Xqt): [https://phabricator.wikimedia.org/T74101] Use starthexsortkey instead of startsortkey https://gerrit.wikimedia.org/r/284637 TASK DETAIL https://phabricator.wikimedia.org/T74101 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T74101: cmstartsortkey: DEPRECATED! Use starthexsortkey instead

2016-02-17 Thread Andre_Engels
Andre_Engels added a comment. Okay, it seems I found out. Each letter has to be changed to its hexadecimal ASCII representation, using capitals. So to start at 'ABC' or 'Abc', one has to use cmstarthexsortkey=414243. For non-ascii characters, I assume it's the Unicode representation (which for

[Pywikipedia-bugs] [Maniphest] [Commented On] T74101: cmstartsortkey: DEPRECATED! Use starthexsortkey instead

2015-07-05 Thread XZise
XZise added a comment. Okay looking further into it, I can only get it to work when I use one letter in `cmstartsortkey` while `cmstartsortkeyprefix` seems to work also if the sortkey has not specified explicitly (not sure what happened yesterday). - `cmstartsortkeyprefix=Test`

[Pywikipedia-bugs] [Maniphest] [Commented On] T74101: cmstartsortkey: DEPRECATED! Use starthexsortkey instead

2015-07-04 Thread XZise
XZise added a subscriber: XZise. XZise added a comment. Okay there are two questions to be answered: 1. When was this introduced? I found a 1.19.17 wiki which hasn't deprecated it and has not the new parameter. 2. What is actually the replacement. The documentation says `cmstarthexsortkey` but

[Pywikipedia-bugs] [Maniphest] [Commented On] T74101: cmstartsortkey: DEPRECATED! Use starthexsortkey instead

2015-07-04 Thread Multichill
Multichill added a subscriber: Multichill. Multichill added a comment. Bump pagegenerators.CategorizedPageGenerator(workcat, namespaces=6, start=u'Ambrosius') WARNING: API warning (categorymembers): The gcmstartsortkey parameter has been deprecated. TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T74101: cmstartsortkey: DEPRECATED! Use starthexsortkey instead

2015-07-04 Thread XZise
XZise added a comment. Haha, looking at it, if `cmstartsortkeyprefix` if the actual value we wanted to use then we don't need to determine when this was added as this was already present. This of course contradicts the current usage though so the question is, what actually do we want to do

[Pywikipedia-bugs] [Maniphest] [Commented On] T74101: cmstartsortkey: DEPRECATED! Use starthexsortkey instead

2015-06-21 Thread Ricordisamoa
Ricordisamoa added a subscriber: Ricordisamoa. Ricordisamoa added a comment. Still valid in core. TASK DETAIL https://phabricator.wikimedia.org/T74101 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ricordisamoa Cc: Ricordisamoa,