thiemowmde added a comment. |
I had a look, and yes, comparing wgRevisionId with wgCurRevisionId seems to be the way to go, along with checking if wgAction is "view".
There is also wbIsEditView (set by Wikibase) which is false on all diff and oldid pages, even if they show the current revision. Sure, it's possible to show the constrain check results in these cases. But I'm not sure if this makes sense. The user can not do anything but must switch to a mode that allows editing first.
TASK DETAIL
EMAIL PREFERENCES
To: thiemowmde
Cc: thiemowmde, Lydia_Pintscher, Lucas_Werkmeister_WMDE, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Agabi10, Wikidata-bugs, aude, Mbch331
Cc: thiemowmde, Lydia_Pintscher, Lucas_Werkmeister_WMDE, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Agabi10, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs