[Bug 24484] Add prop=pageprops module

2010-08-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24484

Roan Kattouw roan.katt...@gmail.com changed:

   What|Removed |Added

 CC||roan.katt...@gmail.com

--- Comment #3 from Roan Kattouw roan.katt...@gmail.com 2010-08-07 10:32:18 
UTC ---
I think $wgPageProps would be much better than running that SELECT DISTINCT
query over and over. We also do this for e.g. user rights.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24484] Add prop=pageprops module

2010-08-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24484

Soxred93 soxre...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #4 from Soxred93 soxre...@gmail.com 2010-08-07 18:50:34 UTC ---
r70638

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24484] Add prop=pageprops module

2010-08-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24484

--- Comment #2 from Soxred93 soxre...@gmail.com 2010-08-06 23:40:33 UTC ---
What about doing a SELECT DISCINCT pp_propname FROM page_props; to fill the
list of properties? It's hacky, but it'd work. If not, I think that a
$wgPageProps array might be the best option, and it would match the current
code conventions.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24484] Add prop=pageprops module

2010-07-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24484

--- Comment #1 from Reedy s...@reedyboy.net 2010-07-22 09:07:41 UTC ---
Reedy Also, for the page props, there's going to be no way to say these are
all the possible properties is there? As I guess it's not stored...
Reedy Unless we add more globals (ugh..) and let extensions register any they
may add, aswell as doing the core ones somewhere...
RoanKattouw No, those aren't being registered
Bryan you can also make it a parser static variable is you don't want to use
a global :)
Bryan or even an instance variable

^ something to be thought about

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l