Last modified: 2011-03-13 18:06:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T16682, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14682 - PATCH - OutputPage.php - Add SVN revision number to meta generator tag
PATCH - OutputPage.php - Add SVN revision number to meta generator tag
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.13.x
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-30 02:11 UTC by Danny B.
Modified: 2011-03-13 18:06 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
OutputPage.php - adding SVN revision number to meta generator tag (2.27 KB, patch)
2008-06-30 02:11 UTC, Danny B.
Details

Description Danny B. 2008-06-30 02:11:02 UTC
Created attachment 5035 [details]
OutputPage.php - adding SVN revision number to meta generator tag

I've added <meta name="generator" content="MediaWiki $wgVersion" /> in r36796 (and thanks to Simetrical who tweaked it in r36797).

I think there should be also SVN revision number available there, but I'm not sure if provided patch is the correct way, thus I'm leaving it here to be considered and reviewed.

I've copied two additional functions from Special:Version so now there are two same pieces of code on two different places. So I was wondering it might be better to set up say $wgVersionRevision which can be used on different places then, however somebody more experienced than me would have to do that instead.
Comment 1 Brion Vibber 2008-07-06 20:47:42 UTC
I'd rather not force the filesystem lookup on every hit...

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links