fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2012-01-06 03:05 pm

[dw-nonfree] add keyword to bugzilla url constructed by suggestions generator

[commit: http://hg.dwscoalition.org/dw-nonfree/rev/b7c983c90e32]

http://bugs.dwscoalition.org/show_bug.cgi?id=3846

Add "from-suggestions" keyword when constructing the URL for admin use.

Patch by [personal profile] yvi.

Files modified:
  • htdocs/site/suggest.bml
--------------------------------------------------------------------------------
diff -r ccca9ac06f5a -r b7c983c90e32 htdocs/site/suggest.bml
--- a/htdocs/site/suggest.bml	Fri Jan 06 17:55:24 2012 +0800
+++ b/htdocs/site/suggest.bml	Fri Jan 06 23:06:06 2012 +0800
@@ -127,7 +127,7 @@
             $bugzilla_post .= "To post this entry to Bugzilla, use this link and change any of the fields as appropriate:<br /><br />&nbsp;&nbsp;&nbsp;<a href='";
     
             # oh my god bugzilla makes ugly URLs:
-            $bugzilla_post .= "http://bugs.dwscoalition.org/enter_bug.cgi?assigned_to=&blocked=&bug_file_loc=http%3A%2F%2F&bug_severity=enhancement&bug_status=NEW&comment=" . $bugzilla_desc . "&contenttypeentry=&contenttypemethod=autodetect&contenttypeselection=text%2Fplain&data=&dependson=&description=&flag_type-1=X&flag_type-10=X&flag_type-11=X&flag_type-2=X&flag_type-3=X&flag_type-5=X&flag_type-7=X&form_name=enter_bug&keywords=&op_sys=All&priority=P-&product=Dreamwidth%20Development&qa_contact=&rep_platform=All&short_desc=" . $bugzilla_subject . "&target_milestone=-undecided-&version=1.0";
+            $bugzilla_post .= "http://bugs.dwscoalition.org/enter_bug.cgi?assigned_to=&blocked=&bug_file_loc=http%3A%2F%2F&bug_severity=enhancement&bug_status=NEW&comment=" . $bugzilla_desc . "&contenttypeentry=&contenttypemethod=autodetect&contenttypeselection=text%2Fplain&data=&dependson=&description=&flag_type-1=X&flag_type-10=X&flag_type-11=X&flag_type-2=X&flag_type-3=X&flag_type-5=X&flag_type-7=X&form_name=enter_bug&keywords=from-suggestions&op_sys=All&priority=P-&product=Dreamwidth%20Development&qa_contact=&rep_platform=All&short_desc=" . $bugzilla_subject . "&target_milestone=-undecided-&version=1.0";
     
             $bugzilla_post .= "'>Post '$POST{title}' to Bugzilla</a>.<br /><br />Once you do, retag both this entry and the public entry it belongs with.";
     
--------------------------------------------------------------------------------