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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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