| Summary: | Setup Bugzilla and download interwiki links | ||
|---|---|---|---|
| Product: | Infrastructure | Reporter: | Romain d'Alverny <rdalverny> |
| Component: | Bugzilla | Assignee: | Sysadmin Team <sysadmin-bugs> |
| Status: | RESOLVED OLD | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Normal | CC: | andr55, atelier-bugs, sysadmin-bugs |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
this is more useful I guess: http://www.mediawiki.org/wiki/Extension:BugSquish http://www.mediawiki.org/wiki/Category:Bugzilla_extensions Indeed, these extensions are very interesting. Would need to be tested; but these are complements to the above suggestion. For the first one, how about a simple template ? ---- [https://bugs.mageia.org/show_bug.cgi?id={{{1}}} Mageia bug #{{{1}}}] <noinclude> e.g. automatic link to Mageia bugzilla bug 3451 with <nowiki>{{bug|3451}}</nowiki> displaying as Mageia bug #3451 </noinclude> [Category:Contributors] ---- It's in place and it works. (I used it to load this bug.) I can try the second if you like. (Just give me an example of a file to test.) CC:
(none) =>
andre999mga (In reply to comment #3) > For the first one, how about a simple template ? Can work yes, but that's not it. Interwiki (and bugs, and downloads and maybe later others) are things meant to be fixed once and unified through all our localized wikis. If we need to update these later, a single change in the config for all wikis is better than looking after each template in each language. I added the two entries in the database. After testing on the wiki, it looks like it is working for download links, but not for bug links (I don't know why). Database has this : mediawiki_en=> SELECT * from interwiki WHERE iw_prefix = 'bug'; iw_prefix | iw_url | iw_local | iw_trans -----------+--------------------------------------------+----------+---------- bug | https://bugs.mageia.org/show_bug.cgi?id=$1 | 0 | 0 (1 row) mediawiki_en=> SELECT * from interwiki WHERE iw_prefix = 'download'; iw_prefix | iw_url | iw_local | iw_trans -----------+-------------------------------------------+----------+---------- download | http://www.mageia.org/downloads/get/?q=$1 | 0 | 0 (1 row) CC:
(none) =>
boklm (In reply to comment #5) > I added the two entries in the database. After testing on the wiki, it looks > like it is working for download links, but not for bug links (I don't know > why). Thanks! Strange. Wondering, could https://wiki.mageia.org/en/Template:Bug go into the way. Could you check by deleting the template? (can't do here) I removed Template:Bug, but it didn't fix the problem. :-/ What about using "bugs" or "bugzilla" in iw_prefix instead of "bug"? Partially related: this extension could be interesting in the future: http://www.mediawiki.org/wiki/Extension:SpecialInterwiki (In reply to comment #4) > > Can work yes, but that's not it. Interwiki (and bugs, and downloads and maybe > later others) are things meant to be fixed once and unified through all our > localized wikis. If we need to update these later, a single change in the > config for all wikis is better than looking after each template in each > language. In the meantime, I think a bug template would be useful. {{bug|3451}} would invoke the template directly, while [[bug:3451]] should call the registered intermedia for bug, so there shouldn't be any conflict. (Wouldn't a template be a little more efficient ?) BTW, are there plans to localise bugzilla ? Or the links to bugzilla ? Or is it just to use the same style as intermedia links ? (Not a problem, just wondering.) (In reply to comment #10) > In the meantime, I think a bug template would be useful. > {{bug|3451}} would invoke the template directly, while > [[bug:3451]] should call the registered intermedia for bug, > so there shouldn't be any conflict. Shoudn't, but you never know. > (Wouldn't a template be a little more efficient ?) See my previous reply. Depends on where you place efficiency. > BTW, are there plans to localise bugzilla ? No. > Or the links to bugzilla ? > Or is it just to use the same style as intermedia links ? Not sure I understand.
Romain d'Alverny
2012-08-21 16:49:15 CEST
Status:
NEW =>
RESOLVED Romain d'Alverny changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |OLD
Old ? it's not really working
No, but we did follow the procedure to do it, and it doesn't work. Well, it partly works (the downoad keyword is ok, the bug one not). And I don't see how we will get any further than that. So maybe it's a wontfix or a fixed, or in between.
Nicolas Vigier
2014-05-08 18:06:12 CEST
CC:
boklm =>
(none) |
It would be cool to have [[bug:1234]] and [[download:filename]] in place in the wiki to avoid writing long URLs to point to such resources. Both can be setup through the following SQL queries (there's no native UI for that in MediaWiki at this point): REPLACE INTO interwiki (iw_prefix,iw_url,iw_local) VALUES('bug', 'https://bugs.mageia.org/show_bug.cgi?id=$1', 0) and REPLACE INTO interwiki (iw_prefix,iw_url,iw_local) VALUES('download', 'http://www.mageia.org/downloads/get/?q=$1', 0)