This change will break backwards compatibility, so I'm forwarding it to this mailing list.
Bryan
---------- Forwarded message ---------- From: bugzilla-daemon@mail.wikimedia.org bugzilla-daemon@mail.wikimedia.org Date: Feb 3, 2008 9:47 PM Subject: [Bug 12898] imageusage and categorymembers lack consistency To: wikibugs-l@lists.wikimedia.org
http://bugzilla.wikimedia.org/show_bug.cgi?id=12898
Roan Kattouw roan.kattouw@home.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roan.kattouw@home.nl Status|NEW |ASSIGNED Summary|imageusage and |imageusage and |categorymembers lacks |categorymembers lack |consistency |consistency
--- Comment #1 from Roan Kattouw roan.kattouw@home.nl 2008-02-03 20:47:51 UTC --- To clarify what might seem unclear to some: list=imageusage currently takes its iutitle parameter as Image:Example.jpg, while list=categorymembers takes its cmcategory parameter as Living_people (as opposed to Category:Living_people). The suggestion is that cmcategory be renamed to cmtitle and require the Category: prefix.
I'll implement this when I get around to it.
-- Configure bugmail: http://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
_______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikibugs-l
Bryan Tong Minh writes:
This change will break backwards compatibility, so I'm forwarding it to this mailing list.
Bryan
---------- Forwarded message ---------- From: bugzilla-daemon@mail.wikimedia.org bugzilla-daemon@mail.wikimedia.org Date: Feb 3, 2008 9:47 PM Subject: [Bug 12898] imageusage and categorymembers lack consistency To: wikibugs-l@lists.wikimedia.org
http://bugzilla.wikimedia.org/show_bug.cgi?id=12898
Roan Kattouw roan.kattouw@home.nl changed:
What |Removed |Added
CC| |roan.kattouw@home.nl Status|NEW |ASSIGNED Summary|imageusage and |imageusage and |categorymembers lacks |categorymembers lack |consistency |consistency
--- Comment #1 from Roan Kattouw roan.kattouw@home.nl 2008-02-03 20:47:51 UTC --- To clarify what might seem unclear to some: list=imageusage currently takes its iutitle parameter as Image:Example.jpg, while list=categorymembers takes its cmcategory parameter as Living_people (as opposed to Category:Living_people). The suggestion is that cmcategory be renamed to cmtitle and require the Category: prefix.
I'll implement this when I get around to it.
-- Configure bugmail: http://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikibugs-l
I'd propose to use Title::newFromText( $title, NS_CATEGORY ) so both variants can be used --VasilievVV
VasilievVV schreef:
I'd propose to use Title::newFromText( $title, NS_CATEGORY ) so both variants can be used
This does *not* mean both variants can be used! Title::newFromText("Category:Example", NS_CATEGORY); will return a Title object associated with "Category:Category:Example". In case someone is crazy enough to create a category by that name, ambiguities could arise: does cmtitle=Category:Example mean [[Category:Example]] or [[Category:Category:Example]]?
Roan Kattouw (Catrope)
mediawiki-api@lists.wikimedia.org