https://bugzilla.wikimedia.org/show_bug.cgi?id=52195

       Web browser: ---
            Bug ID: 52195
           Summary: wm-bot doesn't notice when request pages are deleted
           Product: Tools
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WM-Bot
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

At the moment, wm-bot reports:

| Warning: There are 2 users waiting for shell, displaying last 2:
|          Jimi1337 (waiting 4514 minutes) MKar (waiting 1482 minutes)

However, these requests have already been deleted, but wm-bot seems to cache
them on its own indefinitely.

SMW provides lists of request pages via the API (Emacs Lisp syntax):

| (concat
|  "https://wikitech.wikimedia.org/w/api.php";
|  "?action=ask"
|  "&query=" (url-hexify-string "[[Category:Shell Access Requests]] [[Is
Completed::No]]|?Shell Request User Name")
|  "&format=json")

and:

| (concat
|  "https://wikitech.wikimedia.org/w/api.php";
|  "?action=ask"
|  "&query=" (url-hexify-string "[[Category:Tools Access Requests]] [[Is
Completed::No]]|?Tools Request User Name")
|  "&format=json")

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to