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

--- Comment #1 from Jarry1250 <[email protected]> 2011-07-10 19:40:32 UTC ---
Created attachment 8767
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8767
Working patch

The callback indicates that MW is running a quick check on the user who "owns"
the page to decide if it should be indexed or not by search bots (because the
user viewing the page could be a search bot).

Since subpages are now turned off, MW assumes that the user "owning" the page
is called "Robin/subpage".

As usernames should never contain a forwards slash, it should be simple enough
to check for the presence of a forwards slash, and, if it is found, conclude
that the username being passed is in fact not a username at all but an old
subpage. The correct username can then be extracted.

This is what the attached patch does.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
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