Mineo created this task.
Mineo added a subscriber: Mineo.
Mineo added a project: pywikibot-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
```
import pywikibot as wp
site = wp.Site("de", "wikipedia")
page = wp.Page(site, "Kitzelbach")
# page.get()
wppage = wp.ItemPage.fromPage(page)
```
Executing this code raises a pywikibot.exceptions.NoPage exception with an error message of "Page [[wikidata:-1]] doesn't exist." This does not make it clear at all what the problem is (the article "Kitzelbach" on de.wp is a redirect).
Uncommenting the call to page.get raises a (much more useful) IsRedirectPage exception with an actually useful error message ("Page [[wikipedia:de:Kitzelbach]] is a redirect page." It would be great if this exception (or at least the error message) wouldn't be hidden or if fromPage made it possible to supply get_redirect like BasePage.get does.
TASK DETAIL
https://phabricator.wikimedia.org/T87345
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mineo
Cc: pywikipedia-bugs, Mineo, Aklapper, jayvdb
Legoktm added a comment.
https://help.github.com/articles/about-third-party-application-restrictions/ says:
- SSH keys created before February 2014 immediately lose access to the organization's resources (this includes user and deploy keys).
- SSH keys created by applications during or after February 2014 immediately lose access to the organization's resources.
I'm guessing that's what it ran into?
TASK DETAIL
https://phabricator.wikimedia.org/T87248
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Chad, Legoktm
Cc: Krinkle, XZise, valhallasw, JanZerebecki, Nikerabbit, siebrand, cpa199, zhaofengli, llbraughler, adrianheine, Krenair, Xqt, jayvdb, fbstj, greg, Legoktm, Chad, MarkTraceur, matmarex, UltrasonicNXT, Aklapper, QChris, pywikipedia-bugs
Krinkle added a comment.
I enabled this on purpose, knowing that any use of third-party applications would be automatically flagged. And Wikimedia GitHub admins can allow them from the dashboard without much friction or formal requests.
There was no flag or request in there of any kind. And besides, what third-party application workflow is Gerrit using? It has its own account (wmfgerrit) at GitHub, why would it delegating via OAuth to a separate third-party application that is not Gerrit?
Looks like either it's incorrectly triggering this restriction, or GitHub isn't exposing it.
TASK DETAIL
https://phabricator.wikimedia.org/T87248
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Chad, Krinkle
Cc: Krinkle, XZise, valhallasw, JanZerebecki, Nikerabbit, siebrand, cpa199, zhaofengli, llbraughler, adrianheine, Krenair, Xqt, jayvdb, fbstj, greg, Legoktm, Chad, MarkTraceur, matmarex, UltrasonicNXT, Aklapper, QChris, pywikipedia-bugs
Legoktm added a comment.
In https://phabricator.wikimedia.org/T87248#998098, @valhallasw wrote:
> - //new// repositories are still being created: https://github.com/wikimedia -- but that might be using a different account?
Yup, that's using a different script and account.
TASK DETAIL
https://phabricator.wikimedia.org/T87248
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Chad, Legoktm
Cc: XZise, valhallasw, JanZerebecki, Nikerabbit, siebrand, cpa199, zhaofengli, llbraughler, adrianheine, Krenair, Xqt, jayvdb, fbstj, greg, Legoktm, Chad, MarkTraceur, matmarex, UltrasonicNXT, Aklapper, QChris, pywikipedia-bugs
valhallasw added a comment.
A few more things:
- one might want to check whether wmfgerrit actually has permissions to push to the repositories, via https://github.com/wikimedia/pywikibot-core/settings/collaboration
- //some// repositories are still being synced: https://github.com/wikimedia
Last, but not least: is this actively being worked on? It has been broken for over a week now, without any visible progress to a solution, even though this issue breaks many people's workflows.
TASK DETAIL
https://phabricator.wikimedia.org/T87248
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Chad, valhallasw
Cc: XZise, valhallasw, JanZerebecki, Nikerabbit, siebrand, cpa199, zhaofengli, llbraughler, adrianheine, Krenair, Xqt, jayvdb, fbstj, greg, Legoktm, Chad, MarkTraceur, matmarex, UltrasonicNXT, Aklapper, QChris, pywikipedia-bugs
jayvdb added a comment.
The warnings system allows individuals to select how many warnings they want to see. we could add a config option to assist.
TASK DETAIL
https://phabricator.wikimedia.org/T72970
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: gerritbot, Nullzero, jayvdb, pywikipedia-bugs