https://bugzilla.wikimedia.org/show_bug.cgi?id=21017
Summary: Red links to new discussion pages cause endless loop
when clicked
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: GroupPermissionsManager
AssignedTo: [email protected]
ReportedBy: [email protected]
I have already told Skizzerz about this in private, I'm only filing a bug now
so that I'll get a notification when this will eventually get fixed:
With the GroupPermissionsManager extension active, clicking on the red link to
open a new discussion page, which would normally cause an edit action to create
the article, cause an endless loop:
---
Fatal error: Maximum function nesting level of '100' reached, aborting! in
/usr/share/mediawiki/languages/Language.php on line 1516
Call Stack
# Time Memory Function Location
1 0.0001 52932 {main}( ) ../index.php:0
2 0.0547 1493056 MediaWiki->initialize( ) ../index.php:116
3 0.0548 1493056 MediaWiki->preliminaryChecks( ) ../Wiki.php:55
4 0.0549 1493260 Title->userCanRead( ) ../Wiki.php:151
5 0.0549 1493340 wfRunHooks( ) ../Title.php:1514
6 0.0551 1496552 call_user_func_array ( ) ../Hooks.php:117
7 0.0551 1496672 efGPManagerExtendedPermissionsGrant( ) ../Hooks.php:0
8 0.0591 1601148 efGPManagerExtendedPermissionsRevoke( )
../ExtendedPermissions.php:115
9 0.0595 1601224 Title->userCan( ) ../ExtendedPermissions.php:148
10 0.0595 1601224 Title->getUserPermissionsErrorsInternal( )
../Title.php:1062
11 0.0597 1601300 array_map ( ) ../Title.php:1209
12 0.0597 1601440 User::makeGroupLinkWiki( ) ../User.php:0
13 0.0597 1601440 User::getGroupName( ) ../User.php:3224
14 0.2293 4600940 wfMsg( ) ../User.php:3110
15 0.2293 4600940 wfMsgReal( ) ../GlobalFunctions.php:469
16 0.2293 4600940 wfMsgGetKey( ) ../GlobalFunctions.php:563
17 0.2294 4600940 wfRunHooks( ) ../GlobalFunctions.php:594
18 0.2296 4601180 call_user_func_array ( ) ../Hooks.php:117
19 0.2296 4601180 efGPManagerReplaceEditMessage( ) ../Hooks.php:0
20 0.2300 4601664 Title->userCan( ) ../ExtendedPermissions.php:199
21 0.2300 4601664 Title->getUserPermissionsErrorsInternal( )
../Title.php:1062
22 0.2302 4601840 array_map ( ) ../Title.php:1209
23 0.2303 4602000 User::makeGroupLinkWiki( ) ../User.php:0
24 0.2303 4602104 User::getGroupName( ) ../User.php:3224
25 0.2303 4602452 wfMsg( ) ../User.php:3110
26 0.2304 4602616 wfMsgReal( ) ../GlobalFunctions.php:469
27 0.2304 4602940 wfMsgGetKey( ) ../GlobalFunctions.php:563
28 0.2304 4603236 wfRunHooks( ) ../GlobalFunctions.php:594
29 0.2306 4605760 call_user_func_array ( ) ../Hooks.php:117
30 0.2307 4606524 efGPManagerReplaceEditMessage( ) ../Hooks.php:0
31 0.2309 4609748 Title->userCan( ) ../ExtendedPermissions.php:199
32 0.2310 4609948 Title->getUserPermissionsErrorsInternal( )
../Title.php:1062
33 0.2311 4612180 array_map ( ) ../Title.php:1209
34 0.2312 4612596 User::makeGroupLinkWiki( ) ../User.php:0
35 0.2312 4612796 User::getGroupName( ) ../User.php:3224
36 0.2312 4613336 wfMsg( ) ../User.php:3110
37 0.2313 4613772 wfMsgReal( ) ../GlobalFunctions.php:469
38 0.2313 4614452 wfMsgGetKey( ) ../GlobalFunctions.php:563
39 0.2313 4615476 wfRunHooks( ) ../GlobalFunctions.php:594
40 0.2315 4618048 call_user_func_array ( ) ../Hooks.php:117
41 0.2315 4618804 efGPManagerReplaceEditMessage( ) ../Hooks.php:0
42 0.2318 4621368 Title->userCan( ) ../ExtendedPermissions.php:199
43 0.2318 4621536 Title->getUserPermissionsErrorsInternal( )
../Title.php:1062
44 0.2320 4623736 array_map ( ) ../Title.php:1209
45 0.2320 4624156 User::makeGroupLinkWiki( ) ../User.php:0
46 0.2320 4624364 User::getGroupName( ) ../User.php:3224
47 0.2321 4624928 wfMsg( ) ../User.php:3110
48 0.2321 4625440 wfMsgReal( ) ../GlobalFunctions.php:469
49 0.2322 4626168 wfMsgGetKey( ) ../GlobalFunctions.php:563
50 0.2322 4627248 wfRunHooks( ) ../GlobalFunctions.php:594
51 0.2324 4629876 call_user_func_array ( ) ../Hooks.php:117
52 0.2324 4630548 efGPManagerReplaceEditMessage( ) ../Hooks.php:0
53 0.2327 4632556 Title->userCan( ) ../ExtendedPermissions.php:199
54 0.2327 4632852 Title->getUserPermissionsErrorsInternal( )
../Title.php:1062
55 0.2329 4634536 array_map ( ) ../Title.php:1209
56 0.2329 4634960 User::makeGroupLinkWiki( ) ../User.php:0
57 0.2329 4635184 User::getGroupName( ) ../User.php:3224
58 0.2330 4635620 wfMsg( ) ../User.php:3110
59 0.2330 4636020 wfMsgReal( ) ../GlobalFunctions.php:469
60 0.2330 4636656 wfMsgGetKey( ) ../GlobalFunctions.php:563
61 0.2331 4637676 wfRunHooks( ) ../GlobalFunctions.php:594
62 0.2333 4640752 call_user_func_array ( ) ../Hooks.php:117
63 0.2333 4641336 efGPManagerReplaceEditMessage( ) ../Hooks.php:0
64 0.2336 4642392 Title->userCan( ) ../ExtendedPermissions.php:199
65 0.2336 4642688 Title->getUserPermissionsErrorsInternal( )
../Title.php:1062
66 0.2337 4644288 array_map ( ) ../Title.php:1209
67 0.2338 4644636 User::makeGroupLinkWiki( ) ../User.php:0
68 0.2338 4644740 User::getGroupName( ) ../User.php:3224
69 0.2339 4645152 wfMsg( ) ../User.php:3110
70 0.2339 4645420 wfMsgReal( ) ../GlobalFunctions.php:469
71 0.2339 4646016 wfMsgGetKey( ) ../GlobalFunctions.php:563
72 0.2340 4646756 wfRunHooks( ) ../GlobalFunctions.php:594
73 0.2342 4648500 call_user_func_array ( ) ../Hooks.php:117
74 0.2342 4649060 efGPManagerReplaceEditMessage( ) ../Hooks.php:0
75 0.2345 4650460 Title->userCan( ) ../ExtendedPermissions.php:199
76 0.2345 4650500 Title->getUserPermissionsErrorsInternal( )
../Title.php:1062
77 0.2346 4651944 array_map ( ) ../Title.php:1209
78 0.2347 4652192 User::makeGroupLinkWiki( ) ../User.php:0
79 0.2347 4652308 User::getGroupName( ) ../User.php:3224
80 0.2347 4652668 wfMsg( ) ../User.php:3110
81 0.2348 4652988 wfMsgReal( ) ../GlobalFunctions.php:469
82 0.2348 4653600 wfMsgGetKey( ) ../GlobalFunctions.php:563
83 0.2348 4654260 wfRunHooks( ) ../GlobalFunctions.php:594
84 0.2350 4655728 call_user_func_array ( ) ../Hooks.php:117
85 0.2350 4656280 efGPManagerReplaceEditMessage( ) ../Hooks.php:0
86 0.2353 4657960 Title->userCan( ) ../ExtendedPermissions.php:199
87 0.2353 4657960 Title->getUserPermissionsErrorsInternal( )
../Title.php:1062
88 0.2355 4658928 array_map ( ) ../Title.php:1209
89 0.2355 4659200 User::makeGroupLinkWiki( ) ../User.php:0
90 0.2355 4659304 User::getGroupName( ) ../User.php:3224
91 0.2356 4659652 wfMsg( ) ../User.php:3110
92 0.2356 4659932 wfMsgReal( ) ../GlobalFunctions.php:469
93 0.2356 4660592 wfMsgGetKey( ) ../GlobalFunctions.php:563
94 0.2357 4661304 wfRunHooks( ) ../GlobalFunctions.php:594
95 0.2358 4663232 call_user_func_array ( ) ../Hooks.php:117
96 0.2359 4663792 efGPManagerReplaceEditMessage( ) ../Hooks.php:0
97 0.2359 4664036 WebRequest->getVal( ) ../ExtendedPermissions.php:197
98 0.2359 4664328 WebRequest->getGPCVal( ) ../WebRequest.php:250
99 0.2359 4664748 Language->checkTitleEncoding( ) ../WebRequest.php:228
---
This is apparently when a user doesn't have edit rights. As soon as you use
"action=edit" on an article, you'll run into an endless loop like that - even
for discussion pages, and independently of edittalk and createtalk rights.
Expected behaviour: Deny access like with a disabled action=viewsource and
action=diff or require to login like with a disabled action=history.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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